predict.varest: Predict method for objects of class varest
Description
Forecating a VAR object of class varest with
confidence bands.
Usage
## S3 method for class 'varest':
predict(object, ..., n.ahead = 10, ci = 0.95)
Arguments
object
An object of class varest; generated by
VAR().
n.ahead
An integer specifying the number of forecast steps.
ci
The forecast confidence interval
...
Currently not used.
Value
A list with class attribute varprd holding the
following elements:
fcstA list of matrices per endogenous variable containing the
forecasted values with lower and upper bounds as well as the
confidence interval.
endogMatrix of the in-sample endogenous variables.
modelThe estimated VAR object.
encoding
latin1
concept
VAR
Vector autoregressive
Forecasts of VAR
Prediction of VAR
Details
The n.ahead forecasts are computed recursively for the
estimated VAR, beginning with $h = 1, 2, \ldots, n.ahead$:
$$\bold{y}_{T+1 | T} = A_1 \bold{y}_T + \ldots + A_p \bold{y}_{T+1-p} +
C D_{T+1}$$
The variance-covariance matrix of the forecast errors is a function of
$\Sigma_u$ and $\Phi_s$.
References
Hamilton, J. (1994), Time Series Analysis, Princeton
University Press, Princeton.
L�tkepohl, H. (2006), New Introduction to Multiple Time Series
Analysis, Springer, New York.