Topics
Overview
Causal relationships are at the heart of many scientific inquiries, from predicting economic trends to understanding climatic changes. One essential tool used to assess such relationships in time-series data is the Granger causality test. Developed by Clive Granger in 1969, this test allows researchers to determine whether one time-series can predict another, implying a directional causal relationship over time. Unlike conventional notions of causality, Granger causality is based on predictability and temporal precedence, making it particularly useful in analyzing dynamic systems.
This article will explore the theory behind the Granger causality test, its statistical underpinnings, and its wide-ranging applications in fields like economics, climate science, and finance.
Theoretical Foundations of the Granger Causality Test
The Granger causality test relies on a specific definition of causality: if one time-series variable $X$ is said to Granger-cause another time-series variable $Y$, then the past values of $X$ contain information that improves prediction of $Y$ beyond the variables already included in the restricted information set. Formally, $X$ Granger-causes $Y$ if:
This reduction in variance signifies that incorporating the history of $X$ improves the forecast of $Y$. Importantly, this concept does not imply that $X$ physically causes $Y$ but rather that $X$ has predictive power over $Y$.
Assumptions
To apply the Granger causality test, several assumptions must be met:
- Time-series specification: standard VAR F-tests are usually derived for stationary systems. Nonstationary but cointegrated variables should generally be modeled with an error-correction representation rather than mechanically differenced until all long-run information is removed.
- Lag Selection: A specific number of time lags must be chosen for the test. Too few lags may miss causality, while too many lags might overfit the model.
- Linearity: The test assumes linear relationships between the variables. While extensions exist for non-linear dynamics, the traditional test is linear in nature.
Hypothesis Testing
The Granger causality test is essentially a hypothesis test where:
- Null hypothesis ($H_0$): $X$ does not Granger-cause $Y$.
- Alternative hypothesis ($H_1$): $X$ Granger-causes $Y$.
Using an F-test, we evaluate whether the inclusion of lagged values of $X$ significantly improves the prediction of $Y$. If the lagged $X$ terms jointly improve the specified conditional forecast model, we reject the restricted model and say that $X$ has Granger-predictive content for $Y$ relative to that information set.
Applications of the Granger Causality Test
Economics
In economics, the Granger causality test is widely used to examine the interdependencies between various macroeconomic indicators. For instance, researchers often investigate whether changes in money supply Granger-cause inflation or if GDP growth Granger-causes employment rates. One classic example is the analysis of the causal relationship between oil prices and economic growth. Such results can improve forecasting models or motivate further structural analysis. They should not, on their own, be used to justify policy interventions as causal effects.
Example: Money Supply and Inflation
An economist might explore whether increases in the money supply Granger-cause inflation by analyzing historical data. If money supply changes are found to improve predictions of inflation rates, this could suggest that managing the money supply is crucial for controlling inflationary pressures.
Climate Science
Climate science often involves complex, interdependent systems where Granger causality can help unravel the directional influences between different climatic variables. For example, researchers might use the Granger causality test to examine whether changes in sea surface temperature (SST) in one part of the ocean Granger-cause changes in atmospheric pressure patterns elsewhere, potentially improving predictions of weather phenomena like El Niño or monsoons.
Example: El Niño-Southern Oscillation (ENSO) and Monsoon Patterns
The relationship between the El Niño-Southern Oscillation and monsoon rainfall is critical for agricultural planning and disaster preparedness. By applying the Granger causality test, researchers can assess whether variations in ENSO indices (such as SST anomalies) have predictive power over monsoon activity, guiding forecasts and risk assessments.
Finance
In the financial world, the Granger causality test helps identify the relationships between different asset prices, such as stocks, bonds, or commodities. Investors may be interested in knowing if changes in one market Granger-cause price movements in another. This knowledge can be leveraged for asset pricing models, portfolio diversification strategies, and risk management.
Example: Stock Prices and Exchange Rates
In a globalized economy, the interaction between stock prices and exchange rates is of considerable interest. For instance, researchers might test whether movements in stock indices Granger-cause fluctuations in currency values. If significant, this insight could inform traders and multinational corporations in making hedging decisions or adjusting their investment portfolios based on currency risks.
Interpreting Results and Limitations
While the Granger causality test provides valuable insights, it is essential to interpret the results carefully. Granger causality does not imply true causality, only predictive causality. Omitted common drivers, contemporaneous relationships, measurement timing, structural breaks, and changes in the information set can all create or destroy apparent Granger predictability. The test assumes a linear relationship between variables, which may not always hold in real-world situations where complex, non-linear dynamics are at play.
Another limitation is that the test requires both series to be stationary. If the time-series are not stationary, differencing or transformation methods may be needed, which can sometimes lead to the loss of important information about the original series.
Conclusion
The Granger causality test is a powerful tool for exploring temporal relationships in time-series data, offering valuable applications in diverse fields such as economics, climate science, and finance. By identifying whether one time-series can predict another, researchers and analysts can gain deeper insights into the interdependencies within complex systems. However, as with any statistical tool, the Granger causality test must be applied carefully, with consideration of its assumptions and limitations.
Whether forecasting economic trends, predicting climate patterns, or analyzing financial markets, the Granger causality test provides a robust framework for understanding temporal causality and improving decision-making based on data-driven insights.
References
- Granger, C. W. J. (1969). Investigating causal relations by econometric models and cross-spectral methods. Econometrica, 37(3), 424-438.
VAR formulation
For a bivariate VAR($p$),
The null is
The unrestricted model is compared with the restricted model omitting lagged $X$. Lag order should be chosen before interpreting the test, using domain knowledge, information criteria, and residual diagnostics. Testing many lag lengths and reporting the smallest p-value creates a multiplicity problem.
Cointegration
If $X_t$ and $Y_t$ are integrated but cointegrated, differencing both series and fitting a VAR in differences discards the equilibrium-correction term. A vector error-correction model represents both short-run dynamics and long-run equilibrium adjustment. The appropriate test then depends on that VECM specification.
Predictive content is information-set dependent
A statement such as
is always conditional on what else is in the model. If a third variable $Z$ contains the predictive information that makes $X$ useful, adding $Z$ can eliminate the Granger relationship. That conditional nature is one reason Granger causality should not be equated with intervention causality.
Embed interactive plots, widgets, and demos using <figure>, <iframe>, or <div class="interactive-embed"> containers. Ensure each embed includes descriptive captions for accessibility.
How to cite
Use the quick export buttons to save citations for reference managers or copy the formatted text directly.
Diogo Ribeiro (2022). Granger Causality Test: Assessing Temporal Causal Relationships in Time-Series Data. Faculty of Media Arts and Design, Technical University of Porto. https://diogoribeiro7.github.io/data-science/granger_causality_test/.


