Skip to content
Statistical Arbitrage / The Factor-Residual Model and the S-Score

The Ornstein-Uhlenbeck Model for Idiosyncratic Residuals

After stripping out systematic risk via the factor-residual decomposition, the accumulated idiosyncratic residual XtiX^i_t should be stationary and mean-reverting. But stationarity alone does not give a tradeable signal — the trading rules (entry level, sizing, expected time to convergence, stop-loss horizon) all require a parametric model of how fast the residual reverts and how wide its fluctuations are.
The Ornstein-Uhlenbeck (OU) process is the canonical mean-reverting diffusion: it is the continuous-time analogue of the discrete AR(1) model, with a well-defined equilibrium variance and a mean-reversion speed that can be estimated by OLS from the time series of accumulated residuals. Its parameters — the speed of reversion κ\kappa, the long-run mean mm, and the instantaneous volatility σ\sigma — connect directly to trading design: entry band width, expected half-life of a position, and stop-loss horizon.
Learning objectives. By the end of this note you should be able to:
  • state the OU SDE and identify its three parameters (κ\kappa, mm, σ\sigma);
  • solve the OU SDE and derive its equilibrium mean and variance;
  • discretise the OU SDE to an AR(1) model and identify the AR(1) parameters with the OU parameters;
  • estimate OU parameters by OLS from the accumulated residual series;
  • compute the half-life and equilibrium standard deviation and use them to set band widths and stop-loss horizons.

In this lesson

    1. The Ornstein-Uhlenbeck SDE
    1. The solution and equilibrium distribution
    1. AR(1) discretisation and OLS calibration
    1. Half-life and trading horizon
    1. Connection to band design

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Statistical Arbitrage syllabus.