Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

delta

delta test of conditional independence


Description

delta statistic of conditional independence and associated bootstrap test

Usage

delta(x, m, d = 1, eps)

delta.test(x, m = 2:3, d = 1, eps = seq(0.5 * sd(x), 2 * sd(x), length =
  4), B = 49)

Arguments

x

time series

m

vector of embedding dimensions

d

time delay

eps

vector of length scales

B

number of bootstrap replications

Details

delta statistic of conditional independence and associated bootstrap test. For details, see Manzan(2003).

Value

delta returns the computed delta statistic. delta.test returns the bootstrap based 1-sided p-value.

Warning

Results are sensible to the choice of the window eps. So, try the test for a grid of m and eps values. Also, be aware of the course of dimensionality: m can't be too high for relatively small time series. See references for further details.

Author(s)

Antonio, Fabio Di Narzo

References

Sebastiano Manzan, Essays in Nonlinear Economic Dynamics, Thela Thesis (2003)

See Also

BDS marginal independence test: bds.test in package tseries

Teraesvirta's neural network test for nonlinearity: terasvirta.test in package tseries

delta test for nonlinearity: delta.lin.test

Examples

delta(log10(lynx), m=3, eps=sd(log10(lynx)))

tsDyn

Nonlinear Time Series Models with Regime Switching

v10-1.2
GPL (>= 2)
Authors
Antonio Fabio Di Narzo [aut], Jose Luis Aznarte [ctb], Matthieu Stigler [aut], Ho Tsung-wu [cre]
Initial release
2020-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.