Hello everyone,
I have daily panel data and I want to calculate the standard deviation of the firm's daily stock return over the past three months. Could anyone help me to find an appropriate code to calculate annualized 3-month rolling sample standard deviation and assuming the standard deviation is centered on zero, instead of centered around mean value given a time period.
Sample of my dataset is attached :
Kind Regards
Obada
Related Posts with Claculate standard diviation of firm's daily stock return over the past three months
The Monty Hall problem through permutations: can somebody translate the Stata code below to R code?Good morning, I have written a paper on how one can use the Monty Hall problem (with the 3 doors an…
Sorting data in chronological orderHello, This post is similar to what I previously posted here: https://www.statalist.org/forums/for.…
CMP model with interaction between endogenous and exogenous variablesDear all, I am having an endogenous variable X1 and an exogenous variable X2 and instruments Z1 and…
which is the correct way to do three-way interactionDear statalist, I have 3 variables, say x, y, and z. x and y are dummies, z is continuous. I want t…
Clarification neededDear StataList, I am reading an interesting paper by Brons et al. (2017), where on page 812 they de…
Subscribe to:
Post Comments (Atom)
0 Response to Claculate standard diviation of firm's daily stock return over the past three months
Post a Comment