Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Converting monthly values to quarterly averages

From   "Chari, Anusha" <>
To   "" <>
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.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index