Keenan.test | R Documentation |
Carry out Keenan's 1-degree test for nonlinearity against the null hypothesis that the time series follows some AR process.
Keenan.test(x, order, ...)
x |
time series |
order |
working AR order; if missing, it is estimated by minimizing AIC via the ar function. |
... |
user-supplied options to the ar function. |
The test is designed to have optimal local power against depature from the linear autoregressive function in the direction of the square of the linear autoregressive function.
A list containing the following components
test.stat |
The observed test statistic |
p.value |
p-value of the test |
order |
working AR order |
Kung-Sik Chan
Keenan, D. M. (1985), A Tukey nonadditivity-type test for time series Nonlinearity, Biometrika, 72, 39-44.
Tsay.test
,tlrt
data(spots) Keenan.test(sqrt(spots))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.