DL.1step | R Documentation |
Performs the Durbin-Levinson algorithm for one-step-ahead prediction.
DL.1step(X, gamma.0, gamma.n)
X |
a vector containing time series data. |
gamma.0 |
the value of the autocovariance function at lag zero |
gamma.n |
a vector containing the values of the autocovariance function at lags |
a list containing the one-step-ahead predictions,the values of the partial autocorrelation function at lags 1
through length(X)
, the MSPEs of the predictions, and the matrix Phi
.
This function performs the Durbin-Levinson algorithm for one-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.