# Granger Causality

> Granger causality tests whether past values of one series help predict another. Learn how the test works, market lead lag examples and its limits.

Source: https://learn.tradelabsai.com/math/granger-causality/  
Track: Math and Statistics · Level: Advanced · Updated: 2026-10-03  
Publisher: TradeLabs AI (https://tradelabsai.com). Education, not financial advice.  
Cite as: TradeLabs Learn, "Granger Causality", https://learn.tradelabsai.com/math/granger-causality/

Traders often wonder whether one market leads another: does oil predict airline stocks, do futures lead the cash market, does one crypto exchange move before others? Granger causality, named after economist Clive Granger, gives a statistical way to test this. A series X is said to "Granger cause" Y if past values of X help predict Y better than past values of Y alone. Despite its name, it measures predictive usefulness, not true cause and effect.

## The idea

Compare two models for predicting Y:

```
restricted: Y_t = a + Σ b_i × Y_(t-i) + e_t
unrestricted: Y_t = a + Σ b_i × Y_(t-i) + Σ c_j × X_(t-j) + e_t
```

If adding past values of X significantly improves the prediction (tested with an F test on the c coefficients), X Granger causes Y.

## Steps to run the test

1. **Make both series stationary,** usually by using returns or differences. See [Stationarity, Differencing and Unit Roots](https://learn.tradelabsai.com/math/stationarity/).
2. **Choose the number of lags,** often with information criteria such as AIC or BIC.
3. **Estimate both models** and run the F test.
4. **Test both directions:** X to Y and Y to X. Feedback in both directions is possible.

## Market examples

| Possible lead lag relationship | Typical finding |
|---|---|
| Index futures and the cash index | Futures often lead the cash market by seconds to minutes, because they react faster to news |
| Large caps and small caps | Some studies found large stocks lead smaller, less followed stocks |
| ETFs and their holdings | ETFs can lead less liquid underlying securities |
| Bitcoin across exchanges | The most liquid venues tend to lead others in price discovery |
| Credit and equity markets | Credit spreads sometimes move before stocks in stress |

**Example: Testing a lead lag link**
A researcher tests whether 5 minute returns of an index future help predict 5 minute returns of a related ETF that trades less actively in an overseas session. Adding one lag of the future's return to the ETF model gives an F statistic with a p value below 0.001: the future Granger causes the ETF. The reverse direction is not significant. The researcher then checks whether the predictable move is large enough to trade after spreads and fees, and finds it is mostly smaller than the bid ask spread. Statistical predictability does not always mean profit. See [Transaction Costs](https://learn.tradelabsai.com/orders/transaction-costs/).

## Granger causality is not true causality

| Limitation | Example |
|---|---|
| Common drivers | A third factor, such as macro news, may move both series with different speeds |
| Omitted variables | Leaving out relevant series can create false conclusions |
| Timing of data | Different closing times can create apparent leads. See [Timestamps, Time Zones and Daylight Saving](https://learn.tradelabsai.com/programming/timestamps-and-time-zones/) |
| Non stationarity | Testing on prices can produce spurious results. See [Regression Analysis](https://learn.tradelabsai.com/math/regression-analysis/) |
| Changing relationships | Lead lag links can disappear as arbitrage closes them. See [Signal and Alpha Decay](https://learn.tradelabsai.com/research/signal-and-alpha-decay/) |

## Relation to vector autoregressions

Granger causality is often tested inside a vector autoregression (VAR), a model in which several series are each explained by their own and each other's past values. VARs are widely used in macroeconomics to study how interest rates, inflation and output affect each other. See [Econometrics](https://learn.tradelabsai.com/math/econometrics/).

## How traders use it

- **Finding lead lag signals** across related markets.
- **Choosing hedging instruments** that move first.
- **Understanding price discovery:** which venue sets the price. See [Price Discovery](https://learn.tradelabsai.com/market-structure/price-discovery/).
- **Building features for models.** See [Feature Engineering](https://learn.tradelabsai.com/machine-learning/feature-engineering/).

Always confirm that any predictive link survives costs, out of sample testing and realistic execution delays.

## Frequently asked questions

### What is Granger causality?

A statistical test of whether past values of one time series improve predictions of another beyond what the second series' own past provides.

### Does Granger causality prove causation?

No. It shows predictive usefulness; a third factor or timing differences can create Granger causality without true cause and effect.

### How is Granger causality used in trading?

To find lead lag relationships between markets, such as futures leading cash markets, and to build predictive features.

Next, learn how to calculate statistics over moving periods in [Rolling and Expanding Windows](https://learn.tradelabsai.com/math/rolling-and-expanding-windows/).

## Continue learning

- Next lesson: [Rolling and Expanding Windows](https://learn.tradelabsai.com/math/rolling-and-expanding-windows/)
- Previous lesson: [Cointegration](https://learn.tradelabsai.com/math/cointegration/)
- Related: [Cointegration](https://learn.tradelabsai.com/math/cointegration/): Cointegration means two non stationary series share a long run relationship. Learn the Engle Granger and Johansen tests, hedge ratios and pairs trading uses.
- Related: [Regression Analysis](https://learn.tradelabsai.com/math/regression-analysis/): Regression models how one variable relates to others. Learn linear regression, beta, R squared, multiple regression for factors, hedge ratios and common pitfalls.
- Related: [Autocorrelation and Partial Autocorrelation](https://learn.tradelabsai.com/math/autocorrelation/): Autocorrelation measures how a series relates to its own past values. Learn the formula, the ACF, what positive and negative autocorrelation mean and why it matters.
- Related: [Econometrics](https://learn.tradelabsai.com/math/econometrics/): Econometrics applies statistics to economic and financial data. Learn its core tools, common problems like endogeneity and spurious results, and how traders use it.
- Related: [Signal Discovery](https://learn.tradelabsai.com/research/signal-discovery/): Signal discovery is the search for variables that predict returns. Learn where ideas come from, how to test signals with information coefficients and decay curves.
