Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New Variables with averages of old ones


From   "Guest g2inst" <g2inst@ilo.org>
To   "<"<statalist@hsphsun2.harvard.edu>
Subject   st: New Variables with averages of old ones
Date   Fri, 13 Feb 2004 18:22:40 +0100

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index