Dear Stata Users,
I am sorry for the probably easy question but I cannot find the solution elsewhere.
I have a panel data and I would like to create new variables taking 5 years averages of yearly data, for each of the countries in my panel, ending up with t/5 observations for each country.
Can anybody tell me how to do this?
Thank you very much
D
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/