Autocorrelation, Hurst Exponent and CointegrationACF

Autocorrelation measures how strongly a series is related to its own past values. The Hurst exponent estimates whether a series tends to persist (above 0.5), revert (below 0.5) or behave randomly (about 0.5). Cointegration means two series that wander individually stay linked over the long run — the statistical basis of many pairs trades.

Three statistics help describe how a price series behaves over time: autocorrelation, the Hurst exponent and cointegration. Together they suggest whether a market trends, mean-reverts or wanders randomly.

Category
Indicators and Tools
Reading time
3 min
Also called
Time-series statistics, Serial correlation, Long memory
Updated

The three ideas in plain words

Autocorrelation compares a series with its own past values at different lags.1

The Hurst exponent runs from 0 to 1 and tells you whether a series tends to trend, wander randomly or revert to its mean.2 Above 0.5 is persistent, below 0.5 mean-reverting, about 0.5 random.

Cointegration asks whether two drifting series stay tied together over time — an idea Clive Granger introduced.3

How to apply them

  1. Compute returns

    Work with returns or log prices, not raw levels, for autocorrelation.

  2. Plot the ACF

    Scale it so the correlation at lag zero equals one.1

  3. Estimate Hurst

    Use rescaled range analysis over several window lengths.

  4. Read H

    Read a low Hurst value as strong mean reversion.2

  5. Test cointegration

    For Engle-Granger, regress one series on the others and test the leftovers (residuals) for a unit root.4

  6. Decide the strategy

    Persistent series suit trend-following; mean-reverting or cointegrated ones suit reversion.

Worked examples

Example 1 — Persistent series

Trending

A hypothetical commodity shows H = 0.68.

Example 1 — Persistent series — calculation
H0.68

A persistent series is more likely to keep trending than a pure random walk.5

Example 2 — Mean-reverting spread

Mean-reverting

A hypothetical spread between two banks’ shares shows H = 0.31.

Example 2 — Mean-reverting spread — calculation
H0.31

The low Hurst value points to mean reversion, so reversion trades are worth testing.2

Example 3 — Random walk

Random

A hypothetical index’s daily returns give H = 0.50 and no significant ACF lags.

Example 3 — Random walk — calculation
H0.50

Close to 0.5 the series has no memory — it behaves like noise, so there's no edge here.5

Three time-series tools

AspectMeasuresTypical use
AutocorrelationLink to own past at each lagShort-term momentum or reversal
Hurst exponentLong memory, 0 to 1Trend vs mean-reversion regime
CointegrationStable long-run link between seriesPairs trading
CorrelationCo-movement of returnsDiversification

Where these statistics are used

Advantages and disadvantages

Advantages

  • Quantify behaviour objectively.
  • Help match strategy to market.
  • Cointegration handles trending prices properly.
  • Widely available in software.

Disadvantages

  • Results change with sample and window.
  • Hurst estimates are noisy.
  • Relationships can break.
  • Need long data histories.

Going deeper

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

ACF basics

Beginner

Lag zero is always one by construction; the other lags show how strongly the past echoes.1

Hurst regimes

Intermediate

At 0.5 there's no memory at all, while readings above 0.5 point to persistence.5

Cointegration testing

Advanced

The Engle-Granger test starts from the assumption of no cointegration, so rejecting it supports a stable long-run link.4

Common mistakes

  1. Computing ACF on raw prices

    Use returns.

  2. Trusting one Hurst estimate

    Check several windows.

  3. Confusing correlation with cointegration

    They answer different questions.

  4. Assuming links last forever

    Retest regularly.

Check your understanding

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

Q1A series has H = 0.25. It is most likely…
Q2Engle-Granger tests the residuals for…

Key points to remember

  1. Autocorrelation links a series to its own past.
  2. H above 0.5 is persistent.
  3. H below 0.5 is mean-reverting.
  4. H near 0.5 is random.
  5. Cointegration finds stable long-run links.

Frequently asked questions

What does H = 0.5 mean?

No memory; random-walk-like.

Is cointegration the same as correlation?

No; it is about a stable long-run relationship.

Which data should I use?

Returns for ACF; prices or log prices for cointegration.

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. MathWorks. autocorr – Sample autocorrelation (opens in a new tab) Checked .
  2. CFA Institute (Enterprising Investor). Rescaled Range Analysis: A Method for Detecting Persistence, Randomness, or Mean Reversion (opens in a new tab) Checked .
  3. The Royal Swedish Academy of Sciences (Nobel Prize). Time-series Econometrics: Cointegration and ARCH (2003 advanced information) (opens in a new tab) Checked .
  4. MathWorks. egcitest – Engle-Granger cointegration test (opens in a new tab) Checked .
  5. PubMed Central (Entropy journal). The Hurst Exponent as an Indicator to Anticipate Agricultural Commodity Prices (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.