Description Usage Arguments Details Value Note Author(s) References See Also Examples
The theoretical autocovariance function of a MA(q) with unit variance is computed.
1 | TacvfMA(theta, lag.max = 20)
|
theta |
q parameters in MA(q) |
lag.max |
number of lags required. |
The first q+1 values are determined using a matrix multiplication - avoiding a loop. The remaining values set to zero.
Vector of length q+1 containing the autocovariances at lags 0,1,...,lag.max
See Details in TacvfAR
for why we prefer
to use this algorithm instead of ARMAacf
A.I.McLeod and Y. Zhang
McLeod, A.I. and Zhang, Y. (2006), Partial autocorrelation parameterization for subset autoregression. Journal of Time Series Analysis, 27, 599-612.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.