statfore — static forecast
[p]=statfore(res,arg1, ,argn)
res = result tlist
argi =
- (optional) subperiod over which the forecast is done if variables are ts
- a (mxk) matrix of exogenous variables if they are not ts
p = forecast
1) r = hendryericsson();statfore(r, '1985q1', '1989q3 ') 2) r2=ols(r('y'),r('x'));statfore(r2,[0.02 0.01 0.03 0.015 1]) Example 1 shows the static forecast made on period 1985q1 to 1989q3 with Hendry and Ericsson preferred specification. Example 2 shows a static forecast made with the same model, but estimated now with the corresponding vectors (r('y') and r('x')), and with exogenous values equal to [0.02 0.01 0.03 0.015 1].