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 Calculate the standard deviation of the firm's daily stock return over the past three months
Best desktop PC / configuration / charastectics for StataHi, I spend a lot of time working with Stata, handling sometimes medium to large datasets (4-100Go)…
Data Table for GraphHi helpful folks! I've generated a histogram showing the frequency of a continuous variable using S…
-mkcons- .ado to make a constantDear data cleaners I made a small program to check whether there is a constant called cons in the d…
Recoding variables for specific casesHi there, I need to recode variables for specific cases: I have 2 obs for each individual (Case_ID=…
Centering output with outreg2 commandDear Statalisters, I am using the outreg2 command to display the output from my analyses. My quest…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate the standard deviation of the firm's daily stock return over the past three months
Post a Comment