ARMAacvf | R Documentation |
Computes the autocovariance function of a causal ARMA(p,q) process.
ARMAacvf(phi = NULL, theta = NULL, sigma = 1, max.lag = 12, trun = 500)
phi |
a vector with autoregressive coefficients. |
theta |
a vector the moving average coefficients. |
sigma |
the white noise variance. |
max.lag |
the number of lags at which to return the value of the autocovariance function. |
trun |
the order at which to truncate the MA(Inf) representation of the causal ARMA(p,q) process. |
A vector containing the values of the autocovariance function at lags 0
through max.lag
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.