powered by
R function to calculate and optionally plot the spectral density of a stationary ARMA model
true.arma.spec.wge(phi=0,theta=0, vara=1,plot=TRUE)
Frequencies at which true spectral density is evaluated: 0, 1/500, 2/500, ..., .5
True spectral density calculated at the frequencies in f
Vector containing AR coefficients
Vector containing MA coefficients
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.spec.wge(phi=c(1.6,-.9), theta=.7)
Run the code above in your browser using DataLab