Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: enhanced rolling: routine

From   Kit Baum <>
Subject   st: enhanced rolling: routine
Date   Thu, 16 Nov 2006 19:47:48 -0500

rolling2 is identical to the official rolling prefix with one exception. Although
not documented as such, official rolling operates separately on each panel of a
panel data set. Under some circumstances, you may want to estimate a model (such as
a linear regression) pooling all data available during a fixed window, generating a
single set of coefficients. This can be achieved by rolling2 with the onepanel
option. Without that option, rolling2 produces the same results as official

rolling2 is available from SSC. I thank Asli Leblebicioglu for suggesting that this routine be written.

Kit Baum, Boston College Economics
An Introduction to Modern Econometrics Using Stata:

* For searches and help try:

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