Learn R Programming

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

tsDyn (version 0.9-32)

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

3,076

Version

0.9-32

License

GPL (>= 2)

Maintainer

Antonio Fabio Di Narzo

Last Published

July 13th, 2013

Functions in tsDyn (0.9-32)

VECM.sim

Simulation and bootstrap of bivariate VECM/TVECM
VARrep

VAR representation
extendBoot

extension of the bootstrap replications
aar

Additive nonlinear autoregressive model
UsUnemp

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

Impulse response function
VECM

Estimation of Vector error correction model (VECM)
MakeThSpec

Specification of the threshold search
TVAR.LRtest

Test of linearity
autotriples

Trivariate time series plots
setarTest

Test of linearity
plot methods

Plotting methods for SETAR and LSTAR subclasses
KapShinTest

Test of unit root against SETAR alternative with
availableModels

Available models
rank.select

Selection of the cointegrating rank with Information criterion.
LINEAR

Linear AutoRegressive models
autotriples.rgl

Interactive trivariate time series plots
nlar

Non-linear time series model, base class definition
VECM_symbolic

Virtua VECM model
addRegime

addRegime test
accuracy_stat

Forecasting accuracy measures.
IIPUs

US monthly industrial production from Hansen (1999)
toLatex.setar

Latex representation of fitted setar models
TVECM.HStest

Test of linear cointegration vs threshold cointegration
sigmoid

sigmoid functions
TVECM

Threshold Vector Error Correction model (VECM)
TVAR

Multivariate Threshold Autoregressive model
zeroyld

zeroyld time series
delta.lin

delta test of linearity
MAPE

Mean Absolute Percent Error
mse

Mean Square Error
TVECM.SeoTest

No cointegration vs threshold cointegration test
fitted

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

Simulation of a multivariate Threshold Autoregressive model (TVAR)
computeGradient

computeGradient
selectHyperParms

Automatic selection of model hyper-parameters
barry

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

Bivariate time series plots
logLik.nlVar

Extract Log-Likelihood
setar.sim

Simulation and bootstrap of Threshold Autoregressive model
LSTAR

Logistic Smooth Transition AutoRegressive model
TVAR.boot

Bootstrap a multivariate Threshold Autoregressive (TVAR) model
STAR

STAR model
llar

Locally linear model
BBCTest

Test of unit root against SETAR alternative
nlar.struct

NLAR common structure
delta

delta test of conditional independence
predict_rolling

Rolling forecasts
isLinear

isLinear
rank.test

Test of the cointegrating rank
SETAR

Self Threshold Autoregressive model
lags.select

Selection of the lag with Information criterion.
predict

Predict method for objects of class nlar, VAR or VECM
NNET

Neural Network nonlinear autoregressive model
regime

Extract variable showing regime
nlar methods

nlar methods
resVar

Residual variance
tsDyn-package

Getting started with the tsDyn package
oneStep

oneStep
selectSETAR

Automatic selection of SETAR hyper-parameters
getTh

Extract threshold(s) coefficient
fevd

Forecast Error Variance Decomposition
lineVar

Multivariate linear models: VAR and VECM
logLik.VECM

Extract Log-Likelihood