lin.test: A Tukey one-degree-of-freedom test for linearity in time...

Description Usage Arguments Details Value References Examples

Description

a function to test the permissibility of the linear autoregressive model:

Usage

1

Arguments

x

A time series (vector without missing values).

order

a scalar representing the order to be considered.

Details

N(t) = a0 + a1N(t-1) + a2N(t-2) + ... + adN(t-d) + e(t )

against the alternative:

Nt = F(N(t-1), N(t-2), ..., N(t-d)) + e(t)

This is the Tukey one-degree-of-freedom test of linearity developed by Tsay (1986). Orders up to 5 is permissible. [although the code is easily extended].

Value

A vector is returned consisting of the asymtpotic F-value, the associated numerator and denominator d.f.'s and asymptotic p.val for the test of linearity

References

Tsay, R.S. (1986) Nonlinearity tests for time series. Biometrika, 73, 461-466. https://doi.org/10.1093/biomet/73.2.461

Examples

1
2

nlts documentation built on May 1, 2019, 8:44 p.m.

Related to lin.test in nlts...