Robust Engle-Granger Cointegration Test

Econometrics
Introduced by
Engle & Granger (1987); robust extensions by subsequent authors including Hao & Shaffer and others
Year
1987 (base); robust variants 2000s–2020s
Type
Cointegration test
Family
Econometrics / time series

What does it do?

The robust Engle-Granger test applies the two-step residual-based cointegration procedure of Engle and Granger (1987), replacing the ordinary least-squares step with an outlier-resistant regression and then testing the residuals for a unit root.

It is intended for I(1) series whose OLS residuals may be distorted by outliers or heavy-tailed errors. Its advantage over the classical test depends on the chosen robust estimator and on critical values that match that estimator, so its results should be read alongside the classical Engle-Granger result.

The intuition behind the method

The classical Engle-Granger test regresses one integrated series on another and asks whether the residuals are stationary; if they are, the series share a long-run equilibrium. Because OLS residuals are sensitive to extreme points, a small number of unusual observations can change the conclusion in either direction. The robust variant replaces the OLS step with an estimator that gives less weight to large deviations, so the residuals passed to the second step are less shaped by those points. The second step keeps the same logic: a unit root in the residuals means no cointegration, while stationarity indicates an equilibrium error. Whether the second step should also be robustified, and which critical values apply, depends on the specific variant chosen.

History

Residual-based cointegration testing originates with Engle and Granger (1987), who proposed a simple, asymptotically efficient two-step estimator, several residual-based test statistics whose critical values were obtained by Monte Carlo simulation, and the error-correction representation of cointegrated systems. Robust variants that replace the first-step least-squares regression with an outlier-resistant estimator have been proposed in later work.

When to use it

Use this test when you have two I(1) series, or a single long-run relationship between a dependent variable and a regressor, and the data may contain outliers or heavy-tailed errors that could distort OLS residuals. Typical candidates are financial or macroeconomic series that include crisis episodes, policy shocks, or measurement errors. Do not use it when the variables are not all integrated of the same order, because the residual test then has no valid equilibrium interpretation. If you have three or more variables and need to determine how many cointegrating relationships exist, use the Johansen approach. The robust version's advantage over the classical test depends on the estimator and critical values used, so report the classical Engle-Granger result alongside it for comparison. If the data show no sign of outliers or heavy tails, the classical test is the simpler choice.

Limitations and considerations

  • The procedure tests for a single cointegrating relationship, as in the bivariate formula shown. It does not determine the number of cointegrating vectors when more than two variables are analysed; the Johansen approach is needed for that.
  • The robust estimator's tuning constants change the residuals and therefore the test outcome, so conclusions should be checked across reasonable settings.
  • Critical values for the residual test are tied to the first-step estimator. The 1987 tables refer to OLS-based residuals and do not carry over to robust residuals without new simulation.
  • Pre-testing the integration orders adds uncertainty that the cointegration test does not account for.

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

Strengths

  • Keeps the two-step structure of the Engle-Granger procedure, so the regression step and the residual test can be inspected and reported separately.
  • Reduces the influence of a few extreme observations on the estimated cointegrating coefficient, because the first-step estimator down-weights them.
  • Lets the analyst choose a robust estimator suited to the expected contamination, such as MM-estimation or least trimmed squares.
  • Links the cointegrating regression to an error-correction representation, so a dynamic model can follow once cointegration is established, as in Engle and Granger (1987).

Applications

  • Testing whether exchange rates and price levels share a long-run relation in samples that include crisis-period spikes.
  • Examining long-run links between energy prices and macroeconomic aggregates over periods with large oil-price shocks.
  • Analysing co-movement of stock market indices across countries where the sample contains crisis outliers.
  • Studying long-run relations between interest rates or yield spreads when extreme policy events affect the sample.
  • Testing fiscal sustainability through the long-run relation between government revenue and expenditure in samples with outliers.

How it works

How it works

1

Check that every variable in the relationship is integrated of the same order, typically I(1), using a unit-root test such as the ADF or Phillips-Perron test. The residual-based logic assumes this; if the variables have different integration orders, the regression residuals do not have the equilibrium interpretation the test relies on.

2

Estimate the cointegrating regression y_t = alpha + beta x_t + u_t with a robust estimator, such as MM-estimation, least trimmed squares, or a median-based method, in place of OLS. The regression itself is the same as in the classical test; only the fitting criterion changes. The estimator's tuning settings determine how strongly extreme observations are down-weighted, so they should be reported with the results.

Formula
y_t = \alpha + \beta x_t + u_t
3

Save the residuals from the robust fit. Observations with large residuals receive reduced weight in estimation, so these residuals are less shaped by a few extreme points than OLS residuals would be. This reflects the estimator's weighting; it does not guarantee that the residuals represent the true equilibrium error.

4

Apply an augmented Dickey-Fuller regression to the saved residuals, as in the formula shown. The null hypothesis is a unit root in the residuals, meaning no cointegration; rejection indicates a stationary equilibrium error. Because the residuals come from an estimated regression, the critical values must be those for residual-based cointegration tests rather than standard ADF tables. A robust unit-root variant in place of the ADF regression would need its own critical values and should be used only with values derived for it.

Formula
\Delta \hat{u}_t = \gamma \hat{u}_{t-1} + \sum_{j=1}^{p} \delta_j \Delta \hat{u}_{t-j} + \varepsilon_t
5

Compare the test statistic with critical values for residual-based cointegration tests that match the first-step estimator. The 1987 paper obtained its critical values by Monte Carlo simulation for statistics based on OLS-based residuals, so those values do not transfer directly to residuals from a robust first step. For a robust first step, simulate the null distribution with a Monte Carlo that replicates the chosen estimator, the sample size, and the number of lagged differences in the test regression. If cointegration is supported, an error-correction model can be estimated with the lagged residual from the robust cointegrating regression as the error-correction term; the short-run specification is a separate choice from this test.

Common pitfalls

  • Using standard ADF critical values on estimated residuals. Standard tables do not apply to residuals from an estimated cointegrating regression, so the resulting inference is not valid.
  • Applying the test to variables with different integration orders and reading the residuals as an equilibrium error.
  • Choosing the robust estimator without checking how contaminated the data are, or without reporting its tuning settings.
  • Estimating the error-correction model with OLS after the robust step, which may reintroduce the outlier sensitivity the robust first step was meant to avoid.
  • Reading the robust cointegrating coefficient as a structural parameter when the regressor may be endogenous.

Frequently asked questions

How does the robust version differ from the standard Engle-Granger test?

The standard test estimates the cointegrating regression by OLS and applies a residual-based unit-root test. The robust version replaces the OLS step with an outlier-resistant estimator, such as MM-estimation or least trimmed squares, which gives less weight to extreme observations, so the residuals are less shaped by them. The second step follows the same logic but should use critical values matched to the chosen estimator.

Which robust estimator should I choose for the first step?

MM-estimation and least trimmed squares are two commonly used outlier-resistant choices. Select the estimator according to the kind of contamination you expect and the software you can use, report its tuning settings, and check whether the conclusion changes across reasonable settings.

Should I use standard ADF critical values or Engle-Granger critical values?

Use critical values designed for residual-based cointegration tests, not standard ADF tables, because the residuals come from an estimated regression. For the robust variant, the critical values must match the first-step estimator; if none are available for that estimator, simulate them with a Monte Carlo that replicates the estimator, the sample size and the lag structure.

When should I prefer the Johansen test over this approach?

The Johansen test is preferred when you have three or more variables and need to identify how many cointegrating vectors exist. The Engle-Granger framework, including its robust variant, fits bivariate relationships or cases where a single dependent variable is clearly defined a priori.

What do I do after confirming cointegration with this test?

Estimate an error-correction model that includes the lagged residual from the robust cointegrating regression as the error-correction term. Whether the short-run dynamics should also be estimated robustly is a separate choice; an OLS step may be sensitive to the same outliers, so compare its results with a robust alternative.

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. Hao, K., & Shaffer, A. (2021). Robust cointegration testing in the presence of outliers. Journal of Statistical Computation and Simulation, 91(10), 2137–2154.

    Open publication reference