armathspec
determines the theoretical spectrum of an arma process
armathspec
determines the theoretical spectrum of an arma processarmathspec(a, b, nf, s = 1, pl = FALSE)
a
: ar-coefficientsb
: ma-coefficientsnf
: scalar, the number of equally spaced frequenciess
: variance of error processpl
: logical, if TRUE, the spectrum is plotted, FALSE for no plotout (nf+1,2) matrix, the frequencies and the spectrum
out <-armathspec(c(0.3,-0.5),c(-0.8,0.7),50,s=1,pl=FALSE)
Useful links