- Introduced by
- Allan Gregory & Bruce Hansen
- Year
- 1996
- Type
- Residual-based structural break cointegration test
- Family
- Cointegration
What does it do?
The Gregory-Hansen test, introduced by Allan Gregory and Bruce Hansen in 1996, extends the standard Engle-Granger cointegration framework to allow for a single unknown structural break in the cointegrating relationship.
It is designed for researchers who suspect that the long-run equilibrium between integrated variables may have shifted at some point during the sample period, and who wish to test for cointegration without presupposing the break date.
The intuition behind the method
Standard cointegration tests assume that the long-run relationship between the variables is the same throughout the sample. Economic relationships often shift after policy changes, crises or institutional reforms, and a constant-coefficient test can miss cointegration in that case. The Gregory-Hansen test asks whether there is a break date such that, once the relationship is allowed to change at that date, the residuals look stationary. It searches over candidate break dates within a trimmed interior range of the sample, keeps the date that gives the strongest evidence for cointegration, and judges that evidence against critical values adjusted for the search.
History
Gregory and Hansen (1996) extended the residual-based cointegration tests of Engle and Granger (1987) and Phillips and Ouliaris (1990) to allow a single break of unknown timing in the intercept and/or slope of the cointegrating regression. The paper, published in the Journal of Econometrics, illustrates the tests with the U.S. long-run money-demand equation using annual and quarterly data.
When to use it
Choose the Gregory-Hansen test when you have two or more series that are each I(1), and theory or history suggests that the long-run relationship between them may have shifted once, around a date that cannot be fixed in advance, for example a policy change or a currency crisis. It is suited to cases where the break date should be estimated from the data rather than imposed. Do not use it when the series are stationary, when their integration order is not established, or when several breaks are suspected. The test as formulated allows only one break, so a different procedure is needed in that case. The related Hatemi-J test is one method to consider, but its treatment of multiple regime shifts should be checked in its own documentation before it is chosen for that purpose. The test does not address breaks in short-run dynamics rather than in the long-run relationship. Because inference rests on asymptotic critical values, the sample should be reasonably large.
Limitations and considerations
- Only one structural break is allowed. If several breaks are present, the test as formulated does not handle them and a different procedure is needed.
- The critical values are asymptotic and were obtained by simulation. Finite-sample size and power can differ from the tabulated values, and the original finite-sample evidence comes from a simple Monte Carlo experiment, so performance in a given sample should be checked.
- The variables must be I(1). Establishing this beforehand with unit root tests introduces pre-test bias, which the Gregory-Hansen procedure does not correct.
- The break date is the minimizer of the same statistic used for the test, so the search that produces the test statistic also places the break. The estimated date should be read alongside its economic plausibility, not treated as a precise estimate.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The break date does not need to be known. It is located by minimizing the ADF statistic over candidate dates, so the test does not impose a timing that may be wrong.
- Three specifications (C, C/T, C/S) let the user allow the intercept, the trend or the slope to change, and show whether the conclusion depends on that choice.
- In the original simulations, the conventional ADF test that makes no allowance for a regime shift loses power sharply when a break is present, while the Gregory-Hansen tests can still detect cointegration.
- The three statistics (ADF*, Zt*, Za*) come from the same break search, so their agreement or disagreement is a useful check, and the estimated break date is produced as a by-product.
Applications
- Testing purchasing power parity between exchange rates and price levels across a possible policy or regime change
- Examining a long-run money-demand relationship before and after a monetary policy reform, as in the U.S. money-demand illustration in the original paper
- Analyzing cointegration between energy prices and macroeconomic output around an episode such as an oil price shock or deregulation
- Investigating long-run fiscal relationships, such as government revenues and expenditures, around a fiscal consolidation episode
- Testing long-run links between stock prices and dividends or interest rates around financial market liberalization
How it works
How it works
Candidate break dates are taken from a trimmed interior range of the sample, commonly the middle 70% of observations. The trimmed share at each end must be reported with the result, because the set of candidate dates determines the estimated break date, and the tabulated critical values assume the search range used in their simulation. The ADF statistic is computed at each candidate date. The break date that minimizes the ADF statistic, meaning the date giving the strongest evidence against the null of no cointegration, is taken as the estimated break date.
Formula
\hat{\tau} = \arg\min_{\tau \in T} ADF(\tau)At each candidate date a regime-shift dummy is constructed and the cointegrating regression is estimated by OLS under one of three specifications: a level shift (C), a level shift with trend (C/T), or a full regime shift (C/S) in which the intercept and the slope coefficients both change. The equation shown in the mechanics corresponds to the full C/S case. The residuals from the chosen specification are the disequilibrium series on which the unit-root statistics are computed.
Formula
y_t = \mu_1 + \mu_2 \varphi_{t\tau} + \alpha' x_t + \beta' x_t \varphi_{t\tau} + e_t, \quad \varphi_{t\tau} = \mathbf{1}[t > \lfloor n\tau \rfloor]Three statistics are computed at each candidate break date: the ADF* statistic (augmented Dickey-Fuller applied to the residuals) and the Phillips-Perron-type Zt* and Za* statistics. Each reported statistic is the infimum across break dates, so it is the value most favourable to cointegration among all candidate breaks, and the break date that produces it is the estimated break.
Formula
ADF^* = \inf_{\tau \in T} ADF(\tau), \quad Z_t^* = \inf_{\tau \in T} Z_t(\tau), \quad Z_\alpha^* = \inf_{\tau \in T} Z_\alpha(\tau)The observed statistic is compared with the Gregory-Hansen critical values for the chosen model and statistic. These values are more negative than standard Engle-Granger critical values, which compensates for the search over break dates. The null of no cointegration is rejected when the statistic falls below the relevant critical value.
Formula
\text{Reject } H_0 \text{ if } ADF^* < cv_{\alpha} \text{ (Gregory-Hansen critical values, not standard Engle-Granger)}Common pitfalls
- Comparing the statistic with standard Engle-Granger critical values is incorrect. The Gregory-Hansen values are more negative, so standard values make rejection too easy and can over-reject the null of no cointegration.
- Using the C model when the slope actually changes omits the slope shift from the regression, which can cause the test to miss cointegration that is present.
- The unit-root statistics are computed on residuals from the break-augmented regression, not the simple cointegrating regression. Lag length and residual serial correlation should be checked for that regression before the result is interpreted.
- Treating the estimated break date as known in later steps, for example in an error-correction model with a break dummy, ignores that it was estimated from the same data and can distort post-break inference.
Frequently asked questions
How does the Gregory-Hansen test differ from the standard Engle-Granger test?
The Engle-Granger test assumes the cointegrating vector is constant over the entire sample and uses a single OLS regression to obtain the residuals. The Gregory-Hansen test adds a regime-shift dummy at each candidate date, selects the date that minimizes the ADF statistic, and compares the result with critical values adjusted for that break search. This makes it appropriate when a one-time shift in the long-run relationship may have occurred, where the Engle-Granger test is not designed for that case.
Which of the three models (C, C/T, C/S) should I choose?
Model C (level shift) lets only the intercept change and suits cases where the equilibrium level shifts but the slope is stable. Model C/T adds a deterministic trend to the cointegrating regression, so the long-run relationship is allowed to have a linear trend in addition to the level shift. Model C/S (regime shift) lets both the intercept and the slope change and is the most general; it is preferred when theory suggests that the long-run relationship itself, not only its level, may have changed. Estimating more than one specification is a reasonable check on whether the conclusion depends on the choice.
What should I do if the Gregory-Hansen test rejects the null but the Engle-Granger test does not?
This pattern suggests that a long-run relationship exists but is subject to a structural break that the standard test cannot accommodate. Report the estimated break date from the Gregory-Hansen procedure, examine whether it corresponds to a plausible economic event, and, if the cointegration is accepted, estimate a model that includes the break, for example an error-correction model with a break dummy, before interpreting the adjustment dynamics.
Related methods
Sources
Gregory, A. W., & Hansen, B. E. (1996). Residual-based tests for cointegration in models with regime shifts. Journal of Econometrics, 70(1), 99–126.
Open DOI reference