powered by
An Optimal Linear Predictor for Covariance Stationary Time Series.
pred1(x, n = 10)
a vector with values form the linear predictor.
a vector of data X_t.
the n to define the window size.
Shelemyahu Zacks
pred1(rnorm(20), n = 10)
Run the code above in your browser using DataLab