[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: New Variables with averages of old ones
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
* For searches and help try: