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

Tsay.test

Tsay's Test for nonlinearity


Description

Carry out Tsay's test for quadratic nonlinearity in a time series.

Usage

Tsay.test(x, order, ...)

Arguments

x

time series

order

working linear AR order; if missing, it will be estimated via the ar function by minimizing AIC

...

options to be passed to the ar function

Details

The null hypothesis is that the true model is an AR process. The AR order, if missing, is estimated by minimizing AIC via the ar function, i.e. fitting autoregressive model to the data. The default fitting method of the ar function is "yule-walker."

Value

A list containing the following components

test.stat

The observed test statistic

p.value

p-value of the test

order

working AR order

Author(s)

Kung-Sik Chan

References

Tsay, R. S. (1986), Nonlinearity test for time series, Biometrika, 73, 461-466.

See Also

Examples

data(spots)
Tsay.test(sqrt(spots))

TSA

Time Series Analysis

v1.3
GPL (>= 2)
Authors
Kung-Sik Chan, Brian Ripley
Initial release
2020-9-11

We don't support your browser anymore

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