Mean reversion: Ornstein–Uhlenbeck and Vasicek
Brownian motion from "Random walks and Brownian motion" and the stock price model built on it wander without limit: their variance grows with the horizon, and nothing pulls them back. Interest rates, volatility and credit spreads behave differently. They fluctuate, but over years they tend to return to a typical level. This lesson builds the standard model of such a process, solves it exactly with the tools of "Itô's lemma", and applies it to the short interest rate in the Vasicek model.
The Ornstein–Uhlenbeck process
Let be the quantity of interest, for example an interest rate. The Ornstein–Uhlenbeck process is the Itô process
with three constant parameters:
- is the long-run level, the value the process is pulled towards.
- is the speed of mean reversion: how strongly the gap is closed per unit of time.
- is the volatility: the size of the random shocks, as in "Itô's lemma".
The drift has the sign of the gap. Above the drift is negative and pushes the process down; below it is positive and pushes it up. Think of a ball attached to a spring in a stream of random kicks: the further it is pulled from its rest point, the harder the spring pulls back. Unlike geometric Brownian motion, the volatility here does not depend on the level, so the shocks have the same size everywhere.
The deterministic part
Switch off the noise, . The equation becomes the ordinary differential equation , whose solution is
The gap to shrinks exponentially. The time after which half of the gap is left solves and is called the half-life:
It does not depend on how large the gap is. With the half-life is years; with it is about 35 trading days.
Exact solution
The trick is to remove the pull towards by a change of variable. Apply Itô's lemma to , with , and . Since the second derivative is zero, there is no Itô correction:
The terms with cancel, and the right-hand side no longer depends on . Add up the increments over :
Multiplying by gives the solution:
The first two terms are the deterministic path from above. The integral adds up the shocks, each weighted by : a shock that happened long ago has mostly been pulled back and counts little.
Mean, variance and stationary distribution
The integral of a deterministic function against is normal with mean zero, and by the Itô isometry its variance is the integral of the squared weight: . With this gives
So is normally distributed for every . As the mean tends to and the variance stops growing. Compare Brownian motion, whose variance grows forever.
Stationary distribution of the Ornstein–Uhlenbeck process: . Faster mean reversion (larger ) means a narrower long-run spread around .
Exact simulation and the AR(1) form
The same calculation over one step of length , started from the current value, gives an exact simulation scheme with no discretisation error. With drawn independently at each step:
Sampled at a fixed step, the process is a first-order autoregression, AR(1): with and . Regressing observed values on their previous values therefore estimates the parameters: and .
Worked example
Take , , and a starting level , with time in years.
- Half-life: years.
- After 1 year: mean , standard deviation .
- After 5 years: mean , standard deviation .
- Stationary standard deviation: .
After five years the starting level is almost forgotten: the mean is close to and the spread is already 99.7% of its long-run value.
The figure fixes and over a horizon of 5 years. Sliders set the speed of mean reversion (0.1 to 5) and the starting level (0% to 10%), and "New paths" draws fresh paths. The chart shows several simulated paths, the expected path and bands at standard deviations. The readouts give the half-life, the stationary standard deviation , the expected level after 5 years and the 5-year zero-coupon yield in the Vasicek model with . Raise and the paths snap to while the band narrows; lower it towards 0.1 and the paths look almost like Brownian motion. Then start far from , at 0% or 10%, and watch the expected path decay.
- Half-life (years)
- 1.39
- Stationary standard deviation
- 1.00%
- Expected level after 5 years
- 4.33%
- 5-year zero-coupon yield (Vasicek)
- 5.46%
The Vasicek model
The short rate is the continuously compounded rate for borrowing over an instant. The Vasicek model assumes that it follows an Ornstein–Uhlenbeck process, , under the risk-neutral measure . A zero-coupon bond pays 1 at time , and its price is the expected discount factor along the random path of the short rate, . Because the integral of a normal process is normal, this expectation has a closed form:
measures how much the current short rate matters: for short maturities it is close to , while for long maturities it levels off at , because is forgotten. The continuously compounded zero-coupon yield is .
In the example above with and : , , so and the 5-year yield is . The yield lies between and , since the market expects the rate to fall back towards 4%.
As grows the yield tends to , here . If is below this level the model produces a rising curve, if above an inverted (falling) curve, and for just above it a slightly humped one that rises briefly before falling. The lesson "Spot rates, forward rates and the yield curve" describes these shapes as observed in the market; the Vasicek model can produce only these few, which is why practitioners often fit richer curves directly. The Yield Curve lab shows such market curves.
The main drawback is that a normal short rate can become negative with positive probability. The Cox–Ingersoll–Ross (CIR) model avoids this by making the volatility proportional to .
Summary
- The Ornstein–Uhlenbeck process is pulled towards the long-run level with speed ; the expected gap halves every .
- Itô's lemma applied to gives the exact solution; is normal with mean and variance .
- The variance stays bounded and the stationary distribution is ; sampled at a fixed step the process is an AR(1).
- In the Vasicek model the short rate is an OU process and with ; rates can turn negative.