powered by
Decompose time series to stationary subintervals and estimate local spectrum.
lsar(y, max.arorder = 20, ns0, plot = TRUE, ...)
An object of class "lsar" which has a plot method. This is a list with the following components:
"lsar"
plot
1: pooled model is accepted. 2: switched model is accepted.
number of observations of local span.
start points and end points of local spans.
number of frequencies in computing local power spectrum.
order of switched model.
innovation variance of switched model.
AIC of switched model.
order of pooled model.
innovation variance of pooled model.
AIC of pooled model.
local spectrum.
the name of the univariate time series y.
y
a univariate time series.
highest order of AR model.
length of basic local span.
logical. If TRUE (default), local spectra are plotted.
TRUE
graphical arguments passed to the plot method.
Kitagawa, G. (2020) Introduction to Time Series Modeling with Applications in R. Chapman & Hall/CRC.
# seismic data data(MYE1F) lsar(MYE1F, max.arorder = 10, ns0 = 100)
Run the code above in your browser using DataLab