Hello,
I have a panel data like this (unbalanced)
ID Year V1 V2
0 2005 30 19
0 2006 20 67
0 2007 4 54
0 2008 5 32
0 2009 17 98
0 2010 18 6
0 2011 9 74
1 2006 20 67
1 2007 4 54
1 2008 5 32
1 2009 17 98
1 2010 18 6
1 2011 9 74
2 2006 20 67
2 2007 4 54
2 2008 5 32
2 2009 17 98
2 2010 18 6
2 2011 9 74
Could any one help me to get the rolling Standard deviation over 5 years for V1, and the rolling mean of V2 over 5 years?
Related Posts with Help to get rolling average (standard deviation) over 5 years
Stata 17 Features Leaked Default precision changed to double regress now supports multiway clustering of standard errors Dof…
How to add the symmetry axis of the normal distribution when graphing the histograms by groups Code: * Example generated by -dataex-. To install: ssc install dataex clear input double(tenacio…
how to customize the location of legendI know the way of using position() to customize the location of legend, but sometimes the legend wil…
ldev following logistic inconsistent with estat gof and with Hosmer & LemeshowI am trying to reproduce Hosmer & Lemeshow's example (3rd edition, Table 4.16, p115). With 'logi…
Matching data over three waves of income surveysDear all, I am conducting an analysis where I want to see the effects of weather on income in Bangl…
Subscribe to:
Post Comments (Atom)
0 Response to Help to get rolling average (standard deviation) over 5 years
Post a Comment