Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: create a new variable with quarterly average
From
"A.Silva-Montes" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: create a new variable with quarterly average
Date
Mon, 21 Jan 2013 14:11:16 +0000
Dear Statausers,
I have monthly expenditure data (I already declared the time series dataset) and I want to create a new variable with the expenditure average by quarter and keep having monthly data (I mean I do not want to "collapse" the dataset). I can do it the long way....can someone help me with a shortcut (any specific stata command)?
Thanks, Andres
-- Kentforlife.net - the email service for alumni of the University of Kent
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/