Creating 5-year averages from Panel Data
Posted: Tue Mar 12, 2013 2:47 am
Hi!
I have data on 40 countries over 20 years (1991-2010) on a number of variables including GDP and interest rate. I would like to create 5-year non-overlapping averages for each variable, i.e. instead of 20 observations for each country and variable, I would like to have 4 observations for each country and variable: One that is an average of the years 1991-1995, one 1996-2000 and so on. How can I make this happen?
I'm using Eviews 7.
Thanks!
I have data on 40 countries over 20 years (1991-2010) on a number of variables including GDP and interest rate. I would like to create 5-year non-overlapping averages for each variable, i.e. instead of 20 observations for each country and variable, I would like to have 4 observations for each country and variable: One that is an average of the years 1991-1995, one 1996-2000 and so on. How can I make this happen?
I'm using Eviews 7.
Thanks!