View source: R/true.arma.spec.wge.R
true.arma.spec.wge | R Documentation |
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)
phi |
Vector containing AR coefficients |
theta |
Vector containing MA coefficients |
vara |
White noise variance of the ARMA model |
plot |
Logical: TRUE=plot, FALSE=no plot |
f |
Frequencies at which true spectral density is evaluated: 0, 1/500, 2/500, ..., .5 |
spec |
True spectral density calculated at the frequencies in f |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.