Description Usage Format Source References Examples
Monthly flows of the Willamette River, Salem, Oregon, Oct. 1950 - Aug. 1983. Percival and Walden (1993, Ch. 10.15) fit high-order AR models to estimate the spectral density function.
1 |
The format is: Time-Series [1:395] from 1951 to 1984: 8.95 9.49 10.19 10.96 11.08 ... - attr(*, "title")= chr "Willamette river, Monthly, Salem, Oregon, Oct. 1950 - Aug. 1983"
http://faculty.washington.edu/dbp/sapabook.html
Percival, D.B. and Walden, A.T. (1993), Spectral Analysis for Physical Applications. Cambridge University Press.
1 2 3 4 5 6 7 8 9 | #Percival and Walden (1993) fit an AR(27).
#Compare spectral densities with subset AR's.
data(Willamette)
pmax<-27
sdfplot(FitAR(log(Willamette), pmax))
p<-SelectModel(log(Willamette), ARModel="ARz", lag.max=pmax, Best=1)
sdfplot(FitAR(log(Willamette), p))
p<-SelectModel(log(Willamette), ARModel="ARp", lag.max=pmax, Best=1)
sdfplot(FitAR(log(Willamette), p), ARModel="ARp", MLEQ=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.