Nonlinearity Tests for Time Series (Keenan, Tsay, Teräsvirta Neural Network)
Nonlinearity tests for time series (Keenan, Tsay, Teräsvirta neural network) check whether an autoregressive model leaves structure that squared or cross-product terms of past values can explain.
시계열 비선형성 검정(Keenan, Tsay, Teräsvirta 신경망)은 자기회귀 모형의 잔차를 과거값의 제곱항이나 교차곱항이 설명하는지 확인해 비선형 의존을 찾아내는 검정입니다.
Is a linear AR model enough for my series, or is there nonlinear dependence?
제 시계열에 선형 AR 모형이면 충분한지, 아니면 비선형 구조가 있는지 알고 싶어요.
Fit a linear AR(p) and test whether its residuals are explained by squared fitted values (Keenan), products of lags (Tsay) or second- and third-order Taylor terms of lags (Teräsvirta). A significant result means a linear model misses part of the dynamics.
When to use Nonlinearity Tests for Time Series (Keenan, Tsay, Teräsvirta Neural Network)
- You are deciding between a linear ARIMA and a nonlinear model such as threshold or neural network AR.
- Residual diagnostics look clean but forecasts are poor in some regimes.
- You want several complementary linearity tests on one AR fit.
When to use something else
- You suspect a known threshold variable; test threshold effects directly with a TAR or STAR model.
- The issue is changing variance, not mean; use an ARCH test.
Assumptions and requirements
- The AR order removes linear autocorrelation.
- The series is stationary.
- The Teräsvirta test needs enough data for its auxiliary terms.
What the analysis reports
- Keenan F with p
- Tsay F with p
- Teräsvirta LM chi-square and F with p
- AR order used
How to report it
On an AR([value]) fit, the Keenan test gave F(1, [value]) = [value], p = [value], the Tsay test F([value], [value]) = [value], p = [value], and the Teräsvirta test LM = [value], p = [value].
Related methods
- BDS Independence Test
- Threshold Autoregressive Model
- ARCH LM Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Nonlinearity Tests for Time Series (Keenan, Tsay, Teräsvirta Neural Network) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.