Inferensys

Glossary

Granger Causality

A statistical hypothesis test for determining whether one time series is useful in forecasting another, based on the principle that causes precede their effects in time.
Knowledge engineer constructing knowledge base on laptop, document hierarchy visible, casual office setup.
PREDICTIVE CAUSALITY

What is Granger Causality?

A statistical hypothesis test for determining whether one time series is useful in forecasting another, based on the principle that causes precede their effects in time.

Granger Causality is a statistical concept of causality based on prediction. If a signal X "Granger-causes" signal Y, then past values of X contain information that helps predict Y beyond the information contained in past values of Y alone. It is fundamentally a test of temporal precedence and predictive utility, not a test of true structural causation as defined by interventions or counterfactuals.

The test works by comparing the forecast error of an autoregressive model of Y with the error of a model that also includes lagged values of X. If the inclusion of X significantly reduces the forecast error, X is said to Granger-cause Y. In supply chain disruption analysis, this is used to identify leading indicators—for example, testing whether a spike in supplier sentiment Granger-causes a rise in late deliveries.

PREDICTIVE CAUSALITY

Core Characteristics

The defining statistical properties and operational assumptions that distinguish Granger Causality from structural causal inference.

01

Temporal Precedence

The foundational axiom of Granger Causality: a cause must occur before its effect. A time series X is said to Granger-cause Y if past values of X contain statistically significant information that helps predict future values of Y, beyond the information contained in past values of Y alone. This is strictly a forecasting improvement concept, not a mechanistic proof of causation. The test assumes that the future cannot cause the past, making it inherently directional in time.

02

Stationarity Requirement

Granger Causality tests require the underlying time series to be covariance stationary—meaning the mean, variance, and autocorrelation structure do not change over time. Non-stationary data, such as series with trends or seasonality, can produce spurious regression results where two completely unrelated variables appear causally linked. Practitioners must apply differencing, detrending, or cointegration analysis before testing to avoid false positives.

03

F-Test Statistical Framework

The standard implementation uses an F-test on nested regression models to determine if lagged values of X jointly provide statistically significant predictive power. The procedure involves:

  • Unrestricted model: Regresses Y on its own past values plus past values of X
  • Restricted model: Regresses Y only on its own past values
  • Null hypothesis: All coefficients on lagged X terms are zero A significant F-statistic leads to rejection of the null, indicating X Granger-causes Y.
04

Lag Length Selection

The choice of lag order critically impacts test validity. Too few lags omit relevant historical information, while too many lags consume degrees of freedom and inflate standard errors. Selection methods include:

  • Akaike Information Criterion (AIC): Balances model fit against complexity
  • Bayesian Information Criterion (BIC): Imposes a stricter penalty for additional parameters
  • Cross-correlation function analysis: Identifies significant lag relationships empirically
05

Bidirectional Causality

Granger Causality is not mutually exclusive. It is possible—and common in supply chain systems—for X to Granger-cause Y and Y to simultaneously Granger-cause X. This feedback relationship occurs when both time series contain predictive information about each other. For example, inventory levels may Granger-cause order quantities, while order quantities simultaneously Granger-cause future inventory levels, creating a dynamic, interdependent system.

06

Limitation: Omitted Variable Bias

The test is vulnerable to latent confounding. If an unobserved third variable Z drives both X and Y with different time lags, the test may falsely indicate Granger Causality between X and Y. This is the critical distinction from structural causal inference: Granger Causality measures incremental predictive utility, not true causal mechanism. In supply chain disruption analysis, failing to account for a common macroeconomic shock can create phantom causal links between unrelated operational metrics.

GRANGER CAUSALITY EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about applying Granger causality to supply chain disruption analysis and operational forecasting.

Granger causality is a statistical hypothesis test that determines whether one time series is useful in forecasting another, based on the principle that a cause must precede its effect in time. Formally, a variable X is said to Granger-cause variable Y if past values of X contain information that helps predict Y beyond the information contained in past values of Y alone. The test operates by comparing two autoregressive models: a restricted model that predicts Y using only its own lagged values, and an unrestricted model that includes lagged values of X. An F-test or chi-squared test then evaluates whether the inclusion of X significantly reduces the forecast error variance. Critically, Granger causality does not establish true causal mechanisms in the structural sense—it identifies predictive causality within a temporal framework, making it a powerful tool for supply chain analysts who need to identify leading indicators of disruptions before they cascade through the network.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.