Learn R Programming

⚠️There's a newer version (11.0.4.1) of this package.Take me there.

tsDyn (version 0.9-44)

Nonlinear Time Series Models with Regime Switching

Description

Implements nonlinear autoregressive (AR) time series models. For univariate series, a non-parametric approach is available through additive nonlinear AR. Parametric modeling and testing for regime switching dynamics is available when the transition is either direct (TAR: threshold AR) or smooth (STAR: smooth transition AR, LSTAR). For multivariate series, one can estimate a range of TVAR or threshold cointegration TVECM models with two or three regimes. Tests can be conducted for TVAR as well as for TVECM (Hansen and Seo 2002 and Seo 2006).

Copy Link

Version

Install

install.packages('tsDyn')

Monthly Downloads

4,965

Version

0.9-44

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Matthieu Stigler

Last Published

May 22nd, 2016

Functions in tsDyn (0.9-44)

UsUnemp

US unemployment series used in Caner and Hansen (2001)
TVAR.LRtest

Test of linearity
aar

Additive nonlinear autoregressive model
addRegime

addRegime test
TVAR.boot

Bootstrap a multivariate Threshold Autoregressive (TVAR) model
accuracy_stat

Forecasting accuracy measures.
TVECM.HStest

Test of linear cointegration vs threshold cointegration
predict_rolling

Rolling forecasts
coefB

Extract cointegration parameters A, B and PI
oneStep

oneStep
availableModels

Available models
logLik.nlVar

Extract Log-Likelihood
zeroyld

zeroyld time series
VARrep

VAR representation
isLinear

isLinear
sigmoid

sigmoid functions
VAR.boot

Bootstrap a Vector Autoregressive (VAR) model
fevd

Forecast Error Variance Decomposition
llar

Locally linear model
VECM.sim

Simulation and bootstrap of bivariate VECM/TVECM
rank.test

Test of the cointegrating rank
lags.select

Selection of the lag with Information criterion.
computeGradient

computeGradient
MakeThSpec

Specification of the threshold search
TVAR

Multivariate Threshold Autoregressive model
nlar methods

nlar methods
irf

Impulse response function
SETAR

Self Threshold Autoregressive model
nlar.struct

NLAR common structure
toLatex.setar

Latex representation of fitted setar models
TVECM.SeoTest

No cointegration vs threshold cointegration test
tsDyn-package

Getting started with the tsDyn package
IIPUs

US monthly industrial production from Hansen (1999)
regime

Extract variable showing regime
predict.nlar

Predict method for objects of class ‘nlar’.
selectHyperParms

Automatic selection of model hyper-parameters
extendBoot

extension of the bootstrap replications
BBCTest

Test of unit root against SETAR alternative
setar.sim

Simulation and bootstrap of Threshold Autoregressive model
delta.lin

delta test of linearity
nlar

Non-linear time series model, base class definition
logLik.VECM

Extract Log-Likelihood
VECM

Estimation of Vector error correction model (VECM)
TVECM

Threshold Vector Error Correction model (VECM)
getTh

Extract threshold(s) coefficient
autotriples

Trivariate time series plots
KapShinTest

Test of unit root against SETAR alternative with
selectSETAR

Automatic selection of SETAR hyper-parameters
lineVar

Multivariate linear models: VAR and VECM
barry

Time series of PPI used as example in Bierens and Martins (2010)
STAR

STAR model
rank.select

Selection of the cointegrating rank with Information criterion.
VECM_symbolic

Virtua VECM model
LINEAR

Linear AutoRegressive models
fitted.nlVar

fitted method for objects of class nlVar, i.e. VAR and VECM models.
resVar

Residual variance
predict.VAR

Predict method for objects of class ‘VAR’ or ‘VECM
LSTAR

Logistic Smooth Transition AutoRegressive model
MAPE

Mean Absolute Percent Error
plot methods

Plotting methods for SETAR and LSTAR subclasses
autotriples.rgl

Interactive trivariate time series plots
mse

Mean Square Error
TVAR.sim

Simulation of a multivariate Threshold Autoregressive model (TVAR)
autopairs

Bivariate time series plots
delta

delta test of conditional independence
setarTest

Test of linearity
NNET

Neural Network nonlinear autoregressive model