Hi Stata Experts,
even though I have noticed multiple threads on this issue, I am afraid I dont fully understand the instructions and, hence, am not able to reproduce them with my dataset.
My dataset consists of 1000+ Banks, with information on their return on assets (RoA) over a range of 16 quarters.
I want to calculate the 3-quarter rolling standard deviation of RoA for each bank in each quarter. How do I implement that?
Also, I do not have observations in every quarter for some banks, would I have to account for that, or does stata simply skip those banks where there is less than 3 quarters of data?
Help is much appreciated! Thank you in advance,
Chris
even though I have noticed multiple threads on this issue, I am afraid I dont fully understand the instructions and, hence, am not able to reproduce them with my dataset.
My dataset consists of 1000+ Banks, with information on their return on assets (RoA) over a range of 16 quarters.
I want to calculate the 3-quarter rolling standard deviation of RoA for each bank in each quarter. How do I implement that?
Also, I do not have observations in every quarter for some banks, would I have to account for that, or does stata simply skip those banks where there is less than 3 quarters of data?
Help is much appreciated! Thank you in advance,
Chris
Comment