storing step ahead forecasts from ADL model in a series.
Posted: Wed Nov 20, 2013 11:57 am
Hello,
Im trying to estimate and forecast an ADL(1,1) model and get h-step ahead forecasts.
in my example i want to use my sample and then estimte 12 months ahead
my code:
!h = 12
%start ="2000m01"
%end ="2009m12"
smpl %start %end
equation adl_1.ls unrate c initial_claims(-1) unrate(-1)
adl_1.makeresid adl_1_resid
smpl %end+1 %end+!h
adl_1.forecast(f=na) fcast_adl_1_temp
series fcast
fcast = fcast_adl_1_temp
fcast contains 12 observations, and i guess the first one is one step ahead and the last is 12 steps ahead?
thanks
/t
Im trying to estimate and forecast an ADL(1,1) model and get h-step ahead forecasts.
in my example i want to use my sample and then estimte 12 months ahead
my code:
!h = 12
%start ="2000m01"
%end ="2009m12"
smpl %start %end
equation adl_1.ls unrate c initial_claims(-1) unrate(-1)
adl_1.makeresid adl_1_resid
smpl %end+1 %end+!h
adl_1.forecast(f=na) fcast_adl_1_temp
series fcast
fcast = fcast_adl_1_temp
fcast contains 12 observations, and i guess the first one is one step ahead and the last is 12 steps ahead?
thanks
/t