Granger CausalityGC

Granger causality is a test of whether past values of one series help forecast another. Despite the name it shows predictive usefulness, not true cause and effect.

Granger causality asks a narrow question: do past values of one series help forecast another series better than its own past alone? It measures predictive usefulness, not true cause and effect.

Category
Indicators and Tools
Reading time
3 min
Also called
Granger causality test, Predictive causality
Updated

Granger causality in plain words

Clive Granger's 1969 testable definition of causality sparked a huge body of research.1

In common software implementations, the null hypothesis is that past values of the second series add nothing — their coefficients are zero.2

If those past values add forecasting power, we say the first series “Granger-causes” the second — which means it predicts, not that it truly causes.

How a Granger causality test works

  1. Make series stationary

    Make the series stationary first, by differencing or transforming them; standard tests break down on trending data.1

  2. Pick the lag length

    Choose the number of lags on purpose — some tools default to just one.3

  3. Fit restricted model

    Forecast the target using only its own past.

  4. Fit unrestricted model

    Add lagged values of the candidate predictor.

  5. Compare with a test

    Reject “no Granger causality” only if the p-value falls below your chosen significance level.2

  6. Check other variables

    Try a conditional test too: a link that seems real can vanish once you control for a third variable.3

Worked examples

Example 1 — Predictor helps

Granger-causes

A hypothetical test of oil returns on airline returns gives p-value 0.01 with 2 lags.

Example 1 — Predictor helps — calculation
p-value0.01
Lags2

Below a 0.05 test size, the null is rejected, so oil returns add forecasting power in this sample.2

Example 2 — No help

No evidence

A hypothetical test of sentiment scores on index returns gives p-value 0.42.

Example 2 — No help — calculation
p-value0.42

The null that past sentiment coefficients are zero is not rejected, so no predictive link is shown.2

Example 3 — Hidden third factor

Spurious link

A hypothetical link from series A to B disappears once series C is added, p-value rising from 0.02 to 0.31.

Example 3 — Hidden third factor — calculation
p-value without C0.02
p-value with C0.31

Conditioning matters, as MathWorks’ conditional test example shows; the first result was likely driven by C.3

Granger causality vs correlation

AspectGranger causalityCorrelation
Uses time orderYes, lagged valuesNo
DirectionTested each waySymmetric
AnswersDoes X help forecast Y?Do X and Y move together?
Proves causationNoNo

Where Granger tests are used

Advantages and disadvantages

Advantages

  • Simple, widely available test.
  • Uses time ordering explicitly.
  • Can be run in both directions.
  • Extends to many variables.

Disadvantages

  • Does not prove real causation.
  • Sensitive to lag choice.
  • Needs stationary data.
  • Missing variables can create false links.

Going deeper

Read as far as you need. Each level builds on the one before it.

Prediction, not cause

Beginner

The Nobel committee calls it a testable definition of causality, but it is defined purely through forecasting improvement.1

Lag sensitivity

Intermediate

Because gctest assumes an underlying VAR(1) model by default, results can change when more lags are allowed.3

Nonstationarity

Advanced

Trending prices break the usual statistics, so analysts work with returns or use cointegration methods instead.1

Common mistakes

  1. Calling it true causation

    It only shows predictive help.

  2. Testing raw prices

    Use stationary data such as returns.

  3. Trying many lags until significant

    That is data mining.

  4. Ignoring third variables

    Condition on likely drivers.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1A Granger test rejects the null at p = 0.01. This means…
Q2Why difference price series before testing?

Key points to remember

  1. Granger causality is about forecasting, not true cause.
  2. It compares models with and without lagged predictors.
  3. Low p-values reject the no-predictive-power null.
  4. Lag choice and stationarity matter.
  5. Omitted variables can create false links.

Frequently asked questions

Does Granger causality prove cause?

No; it shows predictive usefulness only.

Can both directions be significant?

Yes, feedback between series is possible.

What data should I use?

Stationary series such as returns.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. The Royal Swedish Academy of Sciences (Nobel Prize). Time-series Econometrics: Cointegration and ARCH (2003 advanced information) (opens in a new tab) Checked .
  2. statsmodels. statsmodels.tsa.stattools.grangercausalitytests (opens in a new tab) Checked .
  3. MathWorks. gctest – Granger causality and block exogeneity tests (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.