View source: R/true.arma.aut.wge.R
true.arma.aut.wge | R Documentation |
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)
phi |
Vector containing AR coefficients |
theta |
Vector containing MA coefficients |
lag.max |
Maximum lag at which to calculate the true autocorrelations |
vara |
White noise variance of the ARMA model |
plot |
Logical: TRUE=plot, FALSE=no plot |
acf |
Vector of length max.lag+1 containing true autocorrelations at lags 0, 1, ..., lag.max |
acv |
Vector of length max.lag+1 containing true autocovariances at lags 0, 1, ..., lag.max |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.