Quant research and backtesting

Unit root test

Also called augmented Dickey-Fuller test, ADF test, Dickey-Fuller test

A test of whether a time series has a unit root (behaves like a random walk) against the alternative that it is stationary and reverts to a mean.

How it works

The ADF test regresses the change in y on its lagged level and lagged changes: dy_t = a + b x y_(t-1) + sum of c_i x dy_(t-i) + e. The null is b = 0 (unit root). The t-statistic on b does not follow the usual t distribution, so it must be compared with Dickey-Fuller critical values, which are more negative: about -2.88 at 5% for 250 observations with a constant, not -1.65. Failing to reject does not prove a unit root; the test has low power against slow mean reversion. Testing the residual of a regression of one price on another (Engle-Granger) uses different, stricter critical values because the hedge ratio was estimated.

Worked example

An ADF test on a spread over 250 days gives a t-statistic of -3.2, below -2.88, so reject a unit root at 5%. A value of -2.0 would be "significant" under normal t tables but does not reject here.

Put it to work in a timed game.

Practise with Find the Bug

Sources

  1. en.wikipedia.org/wiki/Augmented_Dickey%E2%80%93Fuller_test
  2. ideas.repec.org/a/ecm/emetrp/v55y1987i2p251-76.html

Last checked November 2026.

← All 281 glossary terms

Was this definition clear?