Quant research and backtesting
Half-life of mean reversion
Also called mean-reversion half-life, OU half-life
The expected time for a deviation from the long-run mean to shrink by half, ln(2) / theta for an Ornstein-Uhlenbeck process with reversion speed theta.
How it works
The half-life of mean reversion is the expected time for a gap between a price (or spread) and its long-run mean to close by half. It comes from the Ornstein-Uhlenbeck (OU) process, dx = theta x (mu - x) dt + sigma dW, where theta is the speed of reversion. The expected gap decays as e^(-theta t), so it halves at t = ln(2) / theta.
How you estimate it. Data arrive in discrete steps, so fit the AR(1) form. Regress the change in the spread on its lagged level: x_t - x_(t-1) = a + b x x_(t-1) + e. Then the one-step persistence is phi = 1 + b, theta = -ln(1 + b) per period and the half-life is ln(2) / theta periods. For small b this is close to -ln(2) / b. The long-run mean is -a / b. A b near zero, or positive, means no reliable reversion.
Why you care: it sets holding periods, lookback windows for the mean and volatility, and which pairs are worth trading. Avellaneda and Lee, in their statistical arbitrage study on US equities, fit OU processes to stock residuals over 60-day windows and keep only those with kappa above 252 / 30 = 8.4 a year, so the mean-reversion time 1 / kappa is under 30 trading days, half the window. Note that their mean-reversion time is 1 / kappa, not the half-life ln(2) / kappa, which is 31% shorter.
Common mistakes. A half-life close to the length of the sample means the estimate is poor: a few cycles say little and b is noisy. Mixing units: theta from daily data is per day, multiply by 252 for an annual rate. Forgetting that the parameters drift, which is why practitioners re-estimate on rolling windows.
Worked example
A daily spread regression gives b = -0.05 and a = 0.01. Then phi = 0.95, theta = -ln(0.95) = 0.0513 a day (12.9 a year) and the half-life is 0.693 / 0.0513 = 13.5 trading days; the shortcut 0.693 / 0.05 gives 13.9. The long-run mean is -0.01 / -0.05 = 0.2. A spread 2.0 away from that mean is expected to be 2.0 x 0.95^10 = 1.20 away after 10 days. If the regression residuals have standard deviation 0.1, the spread's stationary standard deviation is 0.1 / sqrt(1 - 0.95^2) = 0.32.
In an interview
"You regress daily changes in a pairs spread on its lagged level and get a slope of -0.05. What is the half-life and what would you do with it?"
The discrete model is x_t = a + (1 + b) x_(t-1) + e, so persistence is 0.95 and theta = -ln(0.95) = 0.0513 a day. The half-life is ln(2) / theta, about 13.5 trading days (13.9 with the -ln(2) / b shortcut). I would use it to set the holding horizon, a time stop of a few half-lives, and the lookback for the spread's mean and standard deviation, roughly of the same order. Then I would check it is believable: is b significantly negative (a Dickey-Fuller test, not an ordinary t-test), is the sample many half-lives long, and is the half-life stable on rolling windows? A likely follow-up is how this maps to Avellaneda and Lee's filter, which uses mean-reversion time 1 / kappa under 30 days rather than the half-life.
Related terms
Put it to work in a timed game.
Practise with Find the BugSources
- en.wikipedia.org/wiki/Ornstein%E2%80%93Uhlenbeck_process
- math.nyu.edu/~avellane/AvellanedaLeeStatArb20090616.pdf
Last checked November 2026.