I want to forecast next 10 period on my VAR model.
I have 100 data. First, I want to use the first 90 data to estimate 91, then use the first 90 data and 91 estimator to do the new VAR.
Second, use the new VAR model to estimate 92 estimator and repeat estimate the VAR model until I get the 100 estimator.
I have to compare the difference between estimator and real value to test it fitted or not.
It's seems different from static forecast or dynamic forecast.
How could I code?
I thought the wrong code is as following:
Code: Select all
SYSTEM(MODEL=A)
VARIABLES X Y Z
LAGS 1 TO 3
DET Constant
END(SYSTEM)
ESTIMATE(noprint)
FORECAST(MODEL=A,FROM=91,TO=100)