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: RE: 5 year panels

From   Nick Cox <>
To   "''" <>
Subject   st: RE: 5 year panels
Date   Thu, 5 May 2011 10:54:48 +0100

You can get five year groups by e.g. 

gen quinquennium  = 5 * floor(year/5) 

Put extra constants in the expression for other starts. 


lreine ycenna

What's the command I should use to arrange my yearly data into 5 year panels?
(Stata 11.0)

*   For searches and help try:

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