innov.hstep | R Documentation |
Performs the innovations algorithm for h-step-ahead prediction.
innov.hstep(X, h, K)
X |
a vector containing time series data. |
h |
the number of steps ahead for which to make predictions. |
K |
the covariance matrix of the random variables X_1,...,X_n+h. |
a list containing the predicted values as well as the MSPEs of the predictions and the matrix Theta
.
This function performs the innovations algorithm for one-step-ahead and h-step-ahead prediction. Data are centered before the prediction are computed and then mean is added back to the predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.