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?
0 Response to Help to get rolling average (standard deviation) over 5 years
Post a Comment