I don't have Stata 9 but from a post to this list I note that version 9
has a -rolling- command. Can this new command perform rolling OLS
regressions? If so, will it allow gaps in the data series? I've been
using the excellent -rollreg- module, but it does not allow gaps. Here
is some test data to illustrate my question (using version 8.2)
. tsset id year
panel variable: id, 1 to 2
time variable: year, 1980 to 1995
. rollreg y x1 x2, move(5) stub(rr)
Number of gaps in sample: 1
Observations with preceding time gaps
----------------------------------
Record | id year
----------+-----------------------
7 | 1 1986
----------------------------------
sample may not contain gaps
r(198);