Learn R Programming

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

tsDyn

Package tsDyn implements a variety of non-linear time series models. To read more about it, look at:

Installation

You can install the released version of tsDyn from CRAN with:

install.packages("tsDyn")

Development version

Most of the development is hosted under the branch called Dev94. To install that version, use:

library(remotes)
remotes::install_github("MatthieuStigler/tsDyn/tsDyn", ref = "dev")

Copy Link

Version

Install

install.packages('tsDyn')

Monthly Downloads

4,965

Version

11.0.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Matthieu Stigler

Last Published

March 9th, 2022

Functions in tsDyn (11.0.2)

BBCTest

Test of unit root against SETAR alternative
TVAR

Multivariate Threshold Vector Autoregressive model
MakeThSpec

Specification of the threshold search
KapShinTest

Test of unit root against SETAR alternative with
GIRF

Generalized Impulse response Function (GIRF)
MAPE

Mean Absolute Percent Error
IIPUs

US monthly industrial production from Hansen (1999)
UsUnemp

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

Test of linearity
TVAR.sim

Simulation of a multivariate Threshold Autoregressive model (TVAR)
VAR.sim

Simulate or bootstrap a VAR model
charac_root

Characteristic roots of the AR coefficients
VECM_symbolic

Virtual VECM model
addRegime

addRegime test
VECM

Estimation of Vector error correction model (VECM)
accuracy_stat

Forecasting accuracy measures.
aar

Additive nonlinear autoregressive model
barry

Time series of PPI used as example in Bierens and Martins (2010)
nlar-methods

NLAR methods
mse

Mean Square Error
getTh

Extract threshold(s) coefficient
TVECM.HStest

Test of linear cointegration vs threshold cointegration
rank.test

Test of the cointegrating rank
isLinear

isLinear
ar_mean

Long-term mean of an AR(p) process
nlar

Non-linear time series model, base class definition
lags.select

Selection of the lag with Information criterion.
nlar.struct

NLAR common structure
STAR

STAR model
reexports

Objects exported from other packages
autotriples

Trivariate time series plots
TVECM

Threshold Vector Error Correction model (VECM)
TVECM.SeoTest

No cointegration vs threshold cointegration test
autopairs

Bivariate time series plots
VARrep

VAR representation
toLatex.setar

Latex representation of fitted setar models
irf.linear

Impulse response function
autotriples.rgl

Interactive trivariate time series plots
coefB

Extract cointegration parameters A, B and PI
computeGradient

computeGradient
availableModels

Available models
TVECM.sim

Simulation and bootstrap a VECM or bivariate TVECM
fevd.nlVar

Forecast Error Variance Decomposition
delta

delta test of conditional independence
predict.nlar

Predict method for objects of class ‘nlar’.
sigmoid

sigmoid functions
predict.TVAR

Predict method for objects of class ‘VAR’, ‘VECM’ or ‘TVAR
regime

Extract a variable showing the regime
llar

Locally linear model
resVar

Residual variance
setarTest_IIPUs_results

Results from the setarTest, applied on Hansen (1999) data
setar.sim

Simulation and bootstrap of Threshold Autoregressive model (SETAR)
fitted.nlVar

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

Extract Log-Likelihood
setarTest

Test of linearity against threshold (SETAR)
selectSETAR

Automatic selection of SETAR hyper-parameters
NNET

Neural Network nonlinear autoregressive model
oneStep

oneStep
predict_rolling

Rolling forecasts
SETAR

Self Threshold Autoregressive model
rank.select

Selection of the cointegrating rank with Information criterion.
delta.lin

delta test of linearity
LSTAR

Logistic Smooth Transition AutoRegressive model
m.unrate

Monthly US unemployment
lineVar

Multivariate linear models: VAR and VECM
plot methods

Plotting methods for SETAR and LSTAR subclasses
plot_ECT

Plot the Error Correct Term (ECT) response
LINEAR

Linear AutoRegressive models
tsDyn-package

Getting started with the tsDyn package
zeroyld

zeroyld time series
resample_vec

Resampling schemes
selectHyperParms

Automatic selection of model hyper-parameters