Leybourne-McCabe Stationarity Test
The Leybourne-McCabe test checks the null hypothesis that a series is stationary around a level or a linear trend against the alternative of a unit root. Instead of correcting for serial correlation with a kernel long-run variance, as KPSS does, it first fits an ARIMA(p,1,1) model and removes the autoregressive dynamics from the series. A KPSS-type statistic is then computed from the filtered series with a simple residual variance, which avoids choosing a bandwidth and keeps size more reliable when the dynamics are well described by a low-order autoregression.
레이번-맥케이브 검정은 계열이 수준이나 선형 추세 주위에서 정상적이라는 귀무가설을 단위근 대립가설에 대해 검정합니다. KPSS처럼 커널 장기분산으로 계열상관을 보정하지 않고, 먼저 ARIMA(p,1,1) 모형을 적합해 계열에서 자기회귀 동학을 걸러 냅니다. 그다음 걸러 낸 계열에서 단순 잔차분산으로 KPSS 형태의 통계량을 계산하므로 대역폭을 고를 필요가 없고, 동학이 낮은 차수의 자기회귀로 잘 설명될 때 검정 크기가 더 안정적입니다.
Is this series stationary around a level or trend, after accounting for its short-run autoregressive dynamics?
단기 자기회귀 동학을 고려한 뒤에도 이 계열이 수준이나 추세 주위에서 정상적입니까?
The method returns the test statistic, an asymptotic p-value, the standard critical values, the chosen AR order and the estimated ARIMA coefficients.
When to use Leybourne-McCabe Stationarity Test
- You want a stationarity test without a kernel bandwidth choice.
- Short-run dynamics are well captured by a few autoregressive terms.
- You want to confirm a KPSS result with a parametric correction.
When to use something else
- You prefer the conventional kernel-based test: use KPSS Test
- The series has structural breaks: use Unit Root Tests with Structural Breaks (Perron, Lee-Strazicich, Clemente-Montañés-Reyes)
Assumptions and requirements
- Short-run dynamics follow a finite autoregression
- Gaussian likelihood adequate for the ARIMA filter
- Observations equally spaced
What the analysis reports
- Test statistic and asymptotic p-value
- Critical values at 10%, 5% and 1%
- AR order and ARIMA(p,1,1) coefficients
How to report it
The Leybourne-McCabe test of level stationarity (ARIMA([value],1,1) filter, T = [value]) gave s = [value] (5% critical value 0.463, p = [value]).
Related methods
- KPSS Test
- KPSS Stationarity Test with Fixed-b Critical Values
- Augmented Dickey-Fuller Test
- Phillips-Perron Unit Root Test
How this method is validated
이 방법의 검증 근거
- Published value. A test reproduces published reference values within 1e-3.
출판값. 출판된 참조값 재현 시험 1건 통과(허용오차 1e-3).
- Independent computation. 3 reference tests compare the results with statsmodels, SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-3.
독립 계산. statsmodels·SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과(허용오차 1e-3).
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 Leybourne-McCabe Stationarity Test on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Reproduces published reference values
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.