Seasonal Unit Root Test
A seasonal unit root test decides whether a seasonal series needs seasonal differencing, using the OCSB, Canova-Hansen or HEGY procedure.
계절 단위근 검정은 OCSB, Canova-Hansen 또는 HEGY 절차로 계절 시계열에 계절 차분이 필요한지 판단하는 검정입니다.
Should I take a seasonal difference of my monthly series before fitting a SARIMA model?
SARIMA 모형을 적합하기 전에 월별 시계열을 계절 차분해야 하나요?
The OCSB and HEGY tests take a seasonal unit root as the null hypothesis, and here their critical values are simulated under that null for the actual sample size. The Canova-Hansen test instead takes stable deterministic seasonality as the null and is compared with the von Mises distribution, so rejection there points toward seasonal differencing.
When to use Seasonal Unit Root Test
- You are choosing the seasonal differencing order D for a SARIMA model
- You want frequency-specific evidence on seasonal unit roots (HEGY)
- You want to cross-check tests with opposite null hypotheses
When to use something else
- The question is non-seasonal differencing: use the DF-GLS Unit Root Test or KPSS Test
- You only need to describe the seasonal pattern: use STL Decomposition
Assumptions and requirements
- The season length m is correct
- At least four full seasons of data
- No unmodelled structural breaks in the seasonal pattern
What the analysis reports
- Test statistic, simulated or von Mises 5% critical value and p-value
- HEGY t and F statistics by frequency
- Recommended seasonal differencing order D for each test
How to report it
An OCSB seasonal unit-root test (m = [m], N = [n]) gave t = [value] (5% critical value [value]), p = [value], indicating [no] seasonal differencing.
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Seasonal Unit Root Test itself, at the same price.
- Seasonal Unit Root Test (HEGY) — test set to “hegy”
Related methods
How this method is validated
이 방법의 검증 근거
- Published value. A test reproduces published reference values within 2%.
출판값. 출판된 참조값 재현 시험 1건 통과(허용오차 2%).
- Independent computation. 3 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Seasonal Unit Root Test on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and 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.