I have been looking on the forum for a topic about three-year volatility but I didn't find what I wanted.
I have panel data which looks like: Firm ID CFO Fiscal Year
1 0.042 2011
1 0.057 2012
1 0.032 2013
1 0.045 2014
1 0.031 2015
1 0.030 2016
2 0.041 2011
2 0.048 2012
2 0.051 2013
2 0.050 2014
2 0.034 2015
2 0.043 2016
2 0.041 2016
I would like to calculate the three-year volatility (measured as standard deviation over the year t, t-1 and t-2). I have been trying to compute this but it didn't work.
Does anyone know how to do this?
Thank you in advance!
Related Posts with Three-year volatility
datetime of march 31, 2012Dear All, I have this data set Code: * Example generated by -dataex-. To install: ssc install datae…
Simulating the Dickey Fuller distribution in StataDear all, Hope you are all well. Can I ask if there is a way of simulating the Dickey Fuller distr…
Modifying dataset for relative time modelArray Array Array Array P.S. To express notation correctly, I uploaded the screenshot of my post. …
stuck with nested loopsI am trying to select 10 controls per case (using risk-set sampling) matched by general practice. I …
How to group connected dates?I have a panel containing daily data which are not all continuous. Within an ID, if those dates are …
Subscribe to:
Post Comments (Atom)
0 Response to Three-year volatility
Post a Comment