Error Correction Model (Engle-Granger Two-Step)
The Engle-Granger two-step error correction model first estimates the long-run relation between cointegrated series by OLS in levels, then regresses the change of the outcome on changes of the predictors and the lagged deviation from that relation, whose coefficient is the speed of adjustment.
Engle-Granger 2단계 오차수정모형은 먼저 공적분된 계열들의 장기 관계를 수준 회귀로 추정하고, 이어서 결과 변수의 변화량을 설명변수의 변화량과 그 장기 관계에서 벗어난 정도(1기 전)에 회귀해, 그 계수로 조정 속도를 구하는 방법입니다.
Prices in two markets move together in the long run; when they drift apart, how quickly does the gap close, and what are the short-run effects?
두 시장의 가격이 장기적으로 함께 움직이는데, 둘이 벌어지면 그 격차가 얼마나 빨리 좁혀지고 단기 효과는 어떤가요?
Regress the outcome on the predictors in levels to get the equilibrium relation and its residual, and test that residual for a unit root (Engle-Granger). Then regress Δy on Δx, lagged differences and the lagged residual: a negative coefficient on the residual is the share of the disequilibrium corrected each period, and ln(0.5)/ln(1 + λ) is its half-life.
When to use Error Correction Model (Engle-Granger Two-Step)
- Two or more I(1) series are expected to share a long-run equilibrium.
- You want the speed of adjustment and the half-life of deviations.
- You want to separate short-run effects from the long-run relation in one equation.
When to use something else
- You only need to test for cointegration: use Engle-Granger Cointegration Test.
- Several variables may adjust to each other with more than one cointegrating relation: use Vector Error Correction Model (VECM).
- The series may be a mix of I(0) and I(1): use Autoregressive Distributed Lag Model (ARDL).
Assumptions and requirements
- The series are integrated of order one and cointegrated (one relation, outcome adjusts).
- Predictors are weakly exogenous for the long-run parameters.
- ECM residuals are uncorrelated and homoscedastic.
What the analysis reports
- Long-run coefficients from the levels regression
- Engle-Granger ADF statistic on the residual with MacKinnon p-value
- Adjustment coefficient with SE, t and p, and the half-life
- Short-run coefficients, lag order and residual Ljung-Box check
How to report it
An Engle-Granger two-step ECM (residual ADF = [value], p = [value]) gave an adjustment coefficient of [value] (SE = [value], p = [value]), a half-life of [value] periods.
Related methods
- Engle-Granger Cointegration Test
- Vector Error Correction Model (VECM)
- Autoregressive Distributed Lag Model (ARDL)
- Nonlinear ARDL (Asymmetric Cointegration)
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 Error Correction Model (Engle-Granger Two-Step) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an outcome variable and predictor (feature) columns
- 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
- 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.