powered by
armathspec
armathspec determines the theoretical spectrum of an arma process
armathspec(a, b, nf, s = 1, pl = FALSE)
ar-coefficients
ma-coefficients
scalar, the number of equally spaced frequencies
variance of error process
logical, if TRUE, the spectrum is plotted, FALSE for no plot
out (nf+1,2) matrix, the frequencies and the spectrum
# NOT RUN { out <-armathspec(c(0.3,-0.5),c(-0.8,0.7),50,s=1,pl=FALSE) # }
Run the code above in your browser using DataLab