How do I do that in RATS?by year month, sort : egen float myseries = sd(myseries)
Calculating Variance Using a Calendar Window
-
alexecon
- Posts: 72
- Joined: Fri Oct 30, 2015 12:16 pm
Calculating Variance Using a Calendar Window
I am making my transition from Stata to RATS. I have a daily-frequency dataset and need to obtain the standard deviation for a series in every calendar month. In Stata this would do what I want: