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: Converting monthly values to quarterly averages
From
"Chari, Anusha" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Converting monthly values to quarterly averages
Date
Wed, 20 Feb 2013 17:12:18 +0000
Dear Stata Users,
I have data at a monthly frequency by industry across years and would like to create quarterly averages by industry and year. I tried the tscollap command after specifying that the data was a panel and get an error that time-series operators not allowed. Please advise.
My data are in the following format:
Industry month year wpivalue
I would like to convert them to:
Industry quarter year wpiqtraverage
Thanks in advance.
Anusha
*
* 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/