Sub topic 14
Term Structure Models: Vasicek, CIR, and Ho-Lee
This chapter assumes you can build a binomial interest rate tree, know what spot and forward rates are, and have the idea of arbitrage-free valuation from earlier chapters. The tree takes a volatility input and a current curve. The models here describe where the short rate goes next and how random that move is.
Why models matter
A binomial tree is a discrete picture of one idea: the short rate changes randomly each period. A term structure model states that idea as a rule. The rule gives you:
- A distribution of future short rates.
- Bond prices at every maturity, which together form a curve.
- A way to value options on bonds and bonds with embedded options.
All three models in this chapter are one-factor models. A single random source, the short rate, drives the whole curve. They differ in drift (where rates are pulled), volatility (how large the shocks are), and calibration (how the model meets the market).
The three models
In each model, r is the short rate, dz is a random shock drawn from a normal distribution with variance dt, and σ scales the shock.
| Feature | Vasicek | CIR | Ho-Lee |
|---|---|---|---|
| Dynamics | dr = a(b − r)dt + σ dz | dr = a(b − r)dt + σ√r dz | dr = θ(t)dt + σ dz |
| Mean reversion | Yes, speed a, level b | Yes, speed a, level b | No |
| Volatility | Constant | Rises with √r | Constant |
| Negative rates possible | Yes | No (under a condition) | Yes |
| Type | Equilibrium | Equilibrium | Arbitrage-free |
| Fits today's curve exactly | No | No | Yes |
Vasicek
The drift a(b − r) pulls the short rate toward the long-run level b. The parameter a sets the speed. If r is above b, the drift is negative. If r is below b, it is positive.
The shock σ dz is the same size whatever the level of rates. That makes the model easy to solve, because bond prices have a closed form. The cost is that the short rate is normally distributed, so it can go negative. Before 2012 this looked like a flaw. Since negative policy rates appeared in several markets, it is less damaging.
CIR
CIR keeps the mean-reverting drift but multiplies the shock by √r. Volatility falls as rates fall. Near zero, the shocks shrink and the drift pushes upward, so the rate stays non-negative. This holds when 2ab ≥ σ² (the Feller condition). CIR also fits the observation that rate volatility tends to be higher when rates are high. Its bond prices also have a closed form, though the formula is more involved.
Ho-Lee
Ho-Lee drops mean reversion. The drift θ(t) depends on time and is chosen so that model prices match the observed market curve. That makes it an arbitrage-free model, and the same idea underlies the calibrated trees you have already built.
Vasicek and CIR are equilibrium models. They start from assumptions about the economy, and the curve they produce is an output. It usually will not match market prices. Ho-Lee takes the market curve as an input.
The trade-off is that Ho-Lee has no mean reversion and constant volatility. Shocks apply equally to all rates, so the curve tends to move in parallel. Rates can drift to unrealistic levels over long horizons.
Mean reversion and the volatility of long rates
Mean reversion damps long-horizon uncertainty. A shock to the short rate partly reverses, so long-term rates move less than short-term rates. In Vasicek and CIR, the volatility of long yields is lower than that of short yields. In Ho-Lee, a shock persists, so all maturities share nearly the same shock.
The expected short rate in Vasicek and CIR at time T is b + (r₀ − b)e^(−aT). The distance from b shrinks at rate a.
Seeing the differences by simulation
The code below simulates each model with an Euler step: new r = old r + drift·dt + shock. The parameters are illustrative, not calibrated. The Ho-Lee drift is a constant, which is a simple special case of θ(t).
import math
import random
PARAMS = {
"vasicek": {"sigma": 0.01},
"cir": {"sigma": 0.05}, # vol at r = 4% is 0.05 * sqrt(0.04) = 1%
"holee": {"sigma": 0.01},
}
def simulate(model, r0=0.01, a=0.5, b=0.04, theta=0.006,
years=5, steps_per_year=12, paths=2000, seed=7):
random.seed(seed)
dt = 1 / steps_per_year
steps = years * steps_per_year
sigma = PARAMS[model]["sigma"]
finals = []
negative_paths = 0
for _ in range(paths):
r = r0
went_negative = False
for _ in range(steps):
z = random.gauss(0, 1)
if model == "vasicek":
r += a * (b - r) * dt + sigma * math.sqrt(dt) * z
elif model == "cir":
# truncate at zero inside the square root to keep the Euler step valid
r += a * (b - r) * dt + sigma * math.sqrt(max(r, 0.0) * dt) * z
r = max(r, 0.0)
else:
r += theta * dt + sigma * math.sqrt(dt) * z
if r < 0:
went_negative = True
finals.append(r)
negative_paths += went_negative
mean = sum(finals) / len(finals)
sd = math.sqrt(sum((x - mean) ** 2 for x in finals) / (len(finals) - 1))
return mean, sd, negative_paths / paths
for m in ("vasicek", "cir", "holee"):
mean, sd, neg = simulate(m)
print(f"{m:8s} mean r(5y)={mean:.4f} st.dev={sd:.4f} paths below 0: {neg:.1%}")With these inputs, the analytic expected rate at year 5 is about 3.75% for Vasicek and CIR. For Ho-Lee it is 1% + 0.6% × 5 = 4%. The simulated means should land near those values. CIR shows no negative paths because the code floors the rate at zero. The other two models usually show some.
Choosing a model
Use the question you are answering to choose:
- Matching today's market prices exactly, for example to price an option on a bond: use an arbitrage-free model such as Ho-Lee, or a calibrated tree.
- Studying the long-run behavior of rates, or needing realistic mean reversion: use Vasicek or CIR.
- Needing rates that cannot go negative in a high-rate setting: use CIR.
- Wanting simple analytics: Vasicek and Ho-Lee have the simplest formulas.
Common errors
- Calling Vasicek an arbitrage-free model. It is an equilibrium model, and its curve generally will not match market prices.
- Saying CIR guarantees non-negative rates without qualification. The guarantee requires 2ab ≥ σ².
- Assuming mean reversion means rates converge to b. Reversion is a pull, and random shocks continue to act.
- Forgetting that Ho-Lee has no mean reversion, so a shock to the short rate carries to all maturities.
- Confusing σ across models. In Vasicek σ is the volatility in rate units. In CIR the volatility is σ√r, so the same σ gives different volatility at different rate levels.
Exercise
A Vasicek model has a = 0.4, b = 5%, and the current short rate is 2%. What is the expected short rate in 2 years? Does the model price today's market curve exactly?
Show answer
The expected rate is b + (r₀ − b)e^(−aT) = 0.05 + (0.02 − 0.05) × e^(−0.8). Since e^(−0.8) ≈ 0.4493, the result is 0.05 − 0.03 × 0.4493 ≈ 3.65%. No. Vasicek is an equilibrium model, so its curve comes from the parameters and generally does not match market prices unless the parameters are fitted.
Exercise
Which model would you pick if you want the rate's volatility to fall as rates approach zero, and why? Which model carries shocks equally to all maturities?
Show answer
CIR, because its shock is σ√r, which shrinks as r falls. Together with the mean-reverting drift, this keeps rates non-negative when 2ab ≥ σ². Ho-Lee has no mean reversion, so a shock persists and moves all maturities by about the same amount.