Hello, I programmed an out of sample prediction. I wanted to check my results afterwrds using Theil. But somehow the results differ and I am not exactly sure how to use theil.
My initial in-sample period is from 1975:01 to 1984:12. Afterwards the regression coefficients are updated by a rolling regression window of 120 month. The out of sample period isfrom 1985:01 untill 1998:12. This is the way how I preceded using Theil.
system(model=varmodel)
variables qage devgmm2
lags 1 to 2
det constant
end(system)
theil(setup, model=varmodel, steps=24, to =1998:12)
estimate(noprint) 1975:01 1984:12
do time =1985:01, 1998:12
theil time
kalman
end
theil(dump)
Is the rolling regression window properly estimated with the kalman instruction? How to print just certain forecast steps for certain variables.
The option theil(dump, replace %theil(1) (3,4)) at the end of the code does not work out.
Thanks a lot !
