Description Usage Arguments Details Value Author(s) References See Also Examples
The theoretical autocovariance function of an ARMA(p,q) with unit variance is computed. This algorithm has many applications. In this package it is used for the computation of the information matrix, in simulating p initial starting values for AR simulations and in the computation of the exact mle for the mean.
1 |
phi |
AR coefficients |
theta |
MA coefficients |
lag.max |
computes autocovariances lags 0,1,...,lag.max |
The algorithm given by McLeod (1975) is used.
The built-in R function ARMAacf could also be used but it is quite complicated and apart from the source code, the precise algorithm used is not described. The only reference given for ARMAacf is the Brockwell and Davis (1991) but this text does not give any detailed exact algorithm for the general case.
Another advantage of TacvfARMA over ARMAacf is that it will be easier for to translate and implement this algorithm in other computing environments such as MatLab etc.
vector of length lag.max+1 containing the autocovariances is returned
A.I. McLeod
McLeod, A.I. (1975), Derivation of the theoretical autocorrelation function of autoregressive moving-average time series, Applied Statistics 24, 255-256.
ARMAacf
,
InformationMatrixARMA
1 2 3 4 |
Loading required package: FitAR
Loading required package: lattice
Loading required package: leaps
Loading required package: ltsa
Loading required package: bestglm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.