powered by
STAR model fitting with automatic selection of the number of regimes based on LM tests.
star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh, thDelay, thVar, sig=0.05, trace=TRUE, control=list(), ...)
star returns an object of class nlar, subclass
star
nlar
star, i.e. a list with informations about the fitted model.
time series
embedding dimension, time delay, forecasting steps
max number of regimes
time series name (optional)
perform robust test (not implemented)
'time delay' for the threshold variable (as multiple of embedding time delay d)
coefficients for the lagged time series, to obtain the threshold variable
external threshold variable
significance level for the tests to select the number of regimes.
further arguments to be passed as control list to optim
control
optim
should additional infos be printed out?
currently unused
J. L. Aznarte M.
The function star implements the iterative building strategy described in [1] to identify and estimate Smooth Transition Autoregressive models.
[1] T. Terasvirta, "Specification, estimation and evaluation of smooth transition autoregressive models", J. Am. Stat. Assoc. 89 (1994): 208-218.
addRegime
mod.star <- star(log10(lynx), mTh=c(0,1), control=list(maxit=3000)) mod.star addRegime(mod.star)
Run the code above in your browser using DataLab