Learn R Programming

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

tsDyn (version 0.7-30)

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 two 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.7-30

License

GPL (>= 2)

Maintainer

Matthieu Stigler

Last Published

July 2nd, 2010

Functions in tsDyn (0.7-30)

regime

Extract variable showing regime
TVAR.LRtest

Test of linearity
resVar

Residual variance
TVECM.HSTest

Test of linear cointegration vs threshold cointegration
nlar.struct

NLAR common structure
TVECM.sim

Simulation and bootstrap of bivariate VECM/TVECM
TVAR.sim

Simulation and bootstrap of multivariate Treshold Autoregressive model
oneStep

oneStep
delta

delta test of conditional indipendence
MAPE

Mean Absolute Percent Error
TVECM

Treshold Vector Error Correction model (VECM)
lineVar

Multivariate linear models: VAR and VECM
autotriples.rgl

Interactive trivariate time series plots
IIPUs

US monthly industrial production from Hansen (1999)
MakeThSpec

Specification of the threshold search
barry

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

Automatic selection of model hyper-parameters
zeroyld

zeroyld time series
STAR

STAR model
UsUnemp

US unemployment series used in Caner and Hansen (2001)
autopairs

Bivariate time series plots
tsDyn-package

Getting started with the tsDyn package
LINEAR

Linear AutoRegressive models
VECM

Estimation of Vector error correction model (VECM) by EG or MLE
TVECM.SeoTest

No cointegration vs threshold cointegration test
autotriples

Trivariate time series plots
sigmoid

sigmoid functions
NNET

Neural Network nonlinear autoregressive model
nlar

Non-linear time series model, base class definition
setarTest

Test of linearity
AAR

Additive nonlinear autoregressive model
KapShinTest

Test of unit root against SETAR alternative with
delta.lin

delta test of linearity
VAR.sim

Simulation of VAR
extendBoot

extension of the bootstrap replications
addRegime

addRegime test
BIC

Bayesian (Schwarz) information criterion
isLinear

isLinear
nlarDialog

GUI to nlar
mse

Mean Square Error
nlar methods

nlar methods
selectSETAR

Automatic selection of SETAR hyper-parameters
toLatex.setar

Latex representation of fitted setar models
plot methods

Plotting methods for setar and lstar subclasses
availableModels

Available models
setar.sim

Simulation and bootstrap of Treshold Autoregressive model
llar

Locally linear model
LSTAR

Logistic Smooth Transition AutoRegressive model
TVAR

Multivariate Treshold Autoregressive model
computeGradient

computeGradient
getTh

Extract threshold(s) coefficient
BBCTest

Test of unit root against SETAR alternative
SETAR

Self Threshold Autoregressive model