Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Creating a variable: from monthly to annual


From   "Tharyan, Rajesh" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Creating a variable: from monthly to annual
Date   Thu, 30 Apr 2009 14:34:05 +0100

<>

Create a variable year from your month variable and summarise by year. You could use statsby or collapse etc..

Hope this helps 
rajesh 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Carlos Garcia
Sent: 30 April 2009 14:29
To: [email protected]
Subject: st: Creating a variable: from monthly to annual

Dear statalist members:

I am running into a problem with a dataset that has observations by
month. I want to create an annual representation of the dataset (or
variable) with the average for the observations in each year.

May you please share me some ideas?

All suggestions will be highly appreciated.

Carlos García
LSU Student

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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