sdfplot {FitAR} | R Documentation |
Generic function. Methods are available for "FitAR", "ar", "Arima", "ts" and "numeric".
sdfplot(obj, ...)
obj |
input object |
... |
optional arguments |
Plot produced as side-effect. No output.
A.I. McLeod
#Use AIC to select best subset model to fit to lynx data and #plot spectral density function data(SeriesA) pvec<-SelectModel(SeriesA, SubsetModel="p", lag.max=10, Best=1) ans<-FitAR(SeriesA, pvec) sdfplot(ans) # # fit ARMA and plot sdf ans<-arima(SeriesA, c(1,0,1)) sdfplot(ans)