powered by
R function to calculate the autocovariances and autocorrelations and optionally plot the true autocorrelations of a stationary ARMA model
true.arma.aut.wge(phi = 0, theta = 0, lag.max = 25, vara = 1,plot=TRUE)
Vector of length max.lag+1 containing true autocorrelations at lags 0, 1, ..., lag.max
Vector of length max.lag+1 containing true autocovariances at lags 0, 1, ..., lag.max
Vector containing AR coefficients
Vector containing MA coefficients
Maximum lag at which to calculate the true autocorrelations
White noise variance of the ARMA model
Logical: TRUE=plot, FALSE=no plot
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
true.arma.aut.wge(phi=c(1.6,-.9),theta=-.8,lag.max=15,vara=1)
Run the code above in your browser using DataLab