Description Usage Arguments Value Author(s) See Also Examples
Methods function for sdfplot. Autoregressive spectral density function estimation using the result output from FitAR.
1 2 |
obj |
object, class"FitAR" |
... |
optional arguments |
Plot is produced using plot. Matrix with 2 columns containing the frequencies and spectral density is returned invisibly.
A.I. McLeod
1 2 3 4 5 6 7 8 9 10 11 12 | #Use AIC to select best subset model to fit to lynx data and
#plot spectral density function
pvec<-SelectModel(SeriesA, ARModel="ARp", lag.max=10, Best=1)
ans<-FitAR(SeriesA, pvec)
sdfplot(ans)
#
#plot sdf and put your own title
z<-c(SeriesA)
pvec<-SelectModel(z, ARModel="ARp", lag.max=10, Best=1)
ans<-FitAR(z, pvec)
sdfplot(ans)
title(main="Example SDF")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.