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
How to calculate index value for eq5d pleaseQuestion …
Twoway overlayed graphs valuelabels disappearHello! I'm using twoway to overlay 3 plots onto each other. I would like the xaxis to display the v…
Interpretation / visualization of effects in GMM modelsDear all, I've wondered whether you have any tips to nicely present results from a GMM regression. …
Overlapping eventsHi There, I'm currently working with event-level data (i.e. multiple records/rows per subject) and …
Panel data: plotting advanced graphDear Statalist, I have an upcoming deadline and I have a huge problem I cannot solve, so any help wh…
Subscribe to:
Post Comments (Atom)
0 Response to Help to get rolling average (standard deviation) over 5 years
Post a Comment