Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sdfplot.FitAR

Autoregressive Spectral Density Estimation for "FitAR"


Description

Methods function for sdfplot. Autoregressive spectral density function estimation using the result output from FitAR.

Usage

## S3 method for class 'FitAR'
sdfplot(obj, ...)

Arguments

obj

object, class"FitAR"

...

optional arguments

Value

Plot is produced using plot. Matrix with 2 columns containing the frequencies and spectral density is returned invisibly.

Author(s)

A.I. McLeod

See Also

Examples

#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")

FitAR

Subset AR Model Fitting

v1.94
GPL (>= 2)
Authors
A.I. McLeod, Ying Zhang and Changjiang Xu
Initial release
2013-03-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.