armaRoots
Roots of the characteristic ARMA polynomial,
armaTrueacf
True autocorrelation function of an ARMA process.}armaRoots(coefficients, n.plot = 400, digits = 4, ...)
armaTrueacf(model, lag.max = 20, type = c("correlation", "partial", "both"),
doplot = TRUE)
model$ar
is the vector of the AR coefficients, and
model$ma
is the vector of the MA coefficients.innov
is provided). The default value is 100.armaRoots
returns a three column data frame with the real, the imaginary part
and the radius of the roots. The number of rows corresponds
to the coefficients.
armaTrueacf
returns a two column data frame with the lag and the correlation
function.Jones, R.H. (1980); Maximum likelihood fitting of ARMA models to time series with missing observations, Technometrics, 20, 389--395.
Percival, D.P. and Walden, A.T. (1998); Spectral Analysis for Physical Applications. Cambridge University Press.
Whittle, P. (1963); On the fitting of multivariate autoregressions and the approximate canonical factorization of a spectral matrix. Biometrika 40, 129--134. Haslett J. and Raftery A.E. (1989); Space-time Modelling with Long-memory Dependence: Assessing Ireland's Wind Power Resource (with Discussion), Applied Statistics 38, 1--50.
## armaRoots -
# Calculate and plot the roots of an ARMA process:
par(mfrow = c(2, 2), cex = 0.7)
coefficients = c(-0.5, 0.9, -0.1, -0.5)
armaRoots(coefficients)
## armaTrueacf -
model = list(ar = c(0.3, +0.3), ma = 0.1)
armaTrueacf(model)
model = list(ar = c(0.3, -0.3), ma = 0.1)
armaTrueacf(model)
Run the code above in your browser using DataLab