Engle-Granger Cointegration Test

Econometrics
Introduced by
Robert F. Engle and Clive W. J. Granger
Year
1987
Type
Cointegration test
Family
Econometrics / time series

What does it do?

The Engle-Granger two-step method tests whether a linear combination of non-stationary, typically I(1), time series is stationary, which is the condition for the series to share a common stochastic trend.

If cointegration is found, the residuals from the first-step regression can serve as the error-correction term in an error-correction model (ECM), which describes both short-run dynamics and adjustment toward long-run equilibrium.

The intuition behind the method

Two economic series that each wander randomly over time may still be 'tied together' by a long-run equilibrium relationship. Think of the spread between the price of a commodity in two markets: each price drifts, but the spread tends to return to zero. The Engle-Granger test formalises this idea by regressing one series on the other and then testing whether the residuals — the deviations from the estimated equilibrium — are themselves stationary. If the residuals are stationary, the series cannot drift apart permanently and are said to be cointegrated.

History

The link between cointegration and error-correction models was first suggested in Granger (1981), as the abstract of the 1987 paper notes. Engle and Granger's 1987 Econometrica paper formalised cointegration, developed its representation theorem, proposed the two-step estimator, and formulated seven test statistics with critical values computed by Monte Carlo simulation, recommending one procedure for application. The two-step residual-based procedure remains a foundational tool, and Johansen later extended the approach to multivariate systems.

When to use it

Use the Engle-Granger test when you have two I(1) series, or one dependent and one independent I(1) variable, and want to know whether they share a long-run equilibrium in a single-equation setting. It is a reasonable choice when the question concerns a bilateral long-run relationship and a full multivariate system is not needed. Do not use it if the series may be I(0) or I(2), because the test requires matching integration orders. If you suspect more than one cointegrating relationship among three or more variables, the Johansen trace or maximum-eigenvalue test is the more suitable choice, and nonlinear or threshold cointegration methods are more appropriate where the relationship is likely nonlinear. Power is low in very short samples, so a failure to reject with a short series should be interpreted cautiously.

Limitations and considerations

  • The test considers a single cointegrating vector; with three or more I(1) variables it can miss additional equilibrium relationships.
  • The procedure is not symmetric: regressing y on x and regressing x on y can produce different residuals and different conclusions.
  • Because the residuals are estimated, the test requires MacKinnon's non-standard critical values; standard Dickey-Fuller tables over-reject the null.
  • Power is weak in short samples and when adjustment toward equilibrium is slow.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The test is a two-step residual-based procedure: one OLS regression followed by a unit-root test on its residuals, which keeps the implementation simple.
  • The OLS slope from the first-step regression serves directly as the estimate of the cointegrating vector, so no separate estimation step is needed to obtain it. The estimator is superconsistent, but in finite samples it can be biased, so inference on β should be treated cautiously in short series.
  • When cointegration is found, the saved residuals provide the error-correction term for the second-step ECM, so the same workflow moves from testing to dynamic modelling.
  • The 1987 paper describes its two-step estimator as simple but asymptotically efficient.

Applications

  • Testing whether consumption and income are cointegrated, as in the examples reported in the 1987 paper.
  • Examining whether short and long interest rates are cointegrated, another example from the 1987 paper.
  • Testing whether nominal GNP and M2 are cointegrated; the 1987 paper's examples found cointegration with M2 but not with M1 or M3.
  • Testing for purchasing power parity between two countries' price levels or exchange rates.
  • Testing for long-run price transmission between commodity markets or regional food prices.

How it works

How it works

1

Before applying the test, check that all series are integrated of the same order, typically I(1), using the ADF or Phillips-Perron unit root test. Cointegration is only meaningful between series that share the same order of integration. Mixing I(1) with I(0) or I(2) variables makes the test inappropriate, because cointegration requires a common integration order, and an I(0) regressor cannot cointegrate with an I(1) dependent variable.

2

Regress the dependent variable y on the other series x by OLS, including a constant. The slope coefficient β is treated as the estimate of the long-run relationship, and the fitted residuals û_t measure deviations from that estimated equilibrium. This is the first step of the two-step procedure.

Formula
y_t = \alpha + \beta x_t + \hat{u}_t
3

Apply an augmented Dickey-Fuller (ADF) regression to the saved residuals û_t. The null hypothesis is a unit root in the residuals, which corresponds to no cointegration. Because the residuals are estimated rather than observed, MacKinnon's non-standard critical values are needed instead of the standard ADF tables.

Formula
\Delta \hat{u}_t = \rho \hat{u}_{t-1} + \sum_{j=1}^{p} \delta_j \Delta \hat{u}_{t-j} + \epsilon_t
4

Compare the ADF t-statistic on the residuals with MacKinnon's cointegration critical values, which depend on the number of variables in the cointegrating regression, the sample size and the deterministic terms. The table must match the specification: whether the cointegrating regression includes only a constant or a constant and a trend, and the same choice must be applied in the residual ADF. The lag length of the residual ADF regression must also be chosen before the statistic is read, for example by an information criterion. Rejecting the null, that is, finding the residuals stationary, is evidence of cointegration. A larger number of variables in the cointegrating regression moves the critical value further into the negative tail.

5

If cointegration is confirmed, estimate an error-correction model in the second step. The lagged residual û_{t-1} is the error-correction term; its coefficient φ, expected to be negative, measures the speed of return to equilibrium. The equation shown is a simplified form: it includes lagged differences of the regressor but not lagged differences of the dependent variable, so it captures short-run dynamics only partially.

Formula
\Delta y_t = \mu + \phi \hat{u}_{t-1} + \sum_{j} \gamma_j \Delta x_{t-j} + \varepsilon_t

Common pitfalls

  • Using standard ADF critical values instead of MacKinnon cointegration critical values for the residual unit-root step, which inflates the Type I error rate.
  • Skipping the unit-root pre-test for each series and applying the test to variables of different integration orders.
  • With three or more variables, testing only a single cointegrating vector and missing additional equilibrium relationships that the Johansen method would detect.
  • Reporting results from only one direction of regression without checking whether conclusions change when the roles of y and x are reversed.
  • Treating a high R² from the first-step regression as evidence of cointegration; a spurious regression can produce a high R² even when the residuals are non-stationary.

Frequently asked questions

What critical values should I use for the residual ADF test?

Use MacKinnon's cointegration critical values, not the standard Dickey-Fuller tables. These account for the fact that the residuals are estimated rather than directly observed. They depend on the number of variables in the cointegrating regression, the sample size, and whether the regression includes a constant only or a constant and a trend. The residual ADF lag length must be chosen before the statistic is read.

How does the Engle-Granger test differ from the Johansen test?

The Engle-Granger test is a single-equation, residual-based procedure suited for two variables and a single cointegrating vector. The Johansen test uses a full-system VAR framework and can detect multiple cointegrating relationships among several variables simultaneously. For three or more I(1) series, the Johansen approach is generally preferred.

What does the error-correction term tell me?

The error-correction term is the lagged residual from the first-step cointegrating regression. Its coefficient in the ECM is the speed-of-adjustment parameter, indicating how quickly the dependent variable corrects deviations from long-run equilibrium. In the simplified specification shown on this page, a coefficient of −0.3 would mean that about 30% of last period's disequilibrium is corrected in one period; in a richer specification with lagged differences, this reading is only approximate.

Does the order of variables matter in the cointegrating regression?

Yes. Which variable is placed on the left-hand side can affect the estimated residuals and, therefore, the test outcome. It is good practice to run the test in both directions and check whether conclusions are robust to the choice of dependent variable.

Can I apply the Engle-Granger test to panel data?

Residual-based cointegration tests have been extended to panel settings, for example by Pedroni and by Kao, which provide more power by exploiting the cross-sectional dimension. These panel cointegration tests are distinct from the bivariate Engle-Granger procedure and should be used instead when you have a panel of country or firm observations.

Related methods

Sources

  1. Engle, R. F., & Granger, C. W. J. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55(2), 251–276.

    Open DOI reference
  2. Hamilton, J. D. (1994). Time Series Analysis. Princeton University Press.

    ISBN: 978-0691042893