Cox-Ingersoll-Ross¶
Overview¶
The Cox-Ingersoll-Ross (1985) model replaces Vasicek’s constant volatility with a square-root diffusion, keeping the short rate non-negative and making volatility increase with the rate level. Bond prices remain exponential-affine, bond options have a closed form in terms of the noncentral chi-square distribution, and the exact transition law (a scaled noncentral chi-square) allows exact Monte Carlo sampling.
Dynamics¶
Under the risk-neutral measure,
The origin is unattainable when the Feller condition holds:
Conditional on \(r(s)\), the transition is a scaled noncentral chi-square: for \(\Delta = t - s\),
with conditional moments
Bond pricing¶
With \(h = \sqrt{\kappa^2 + 2\sigma^2}\) and \(\tau = T - t\):
Bond options¶
A European call with expiry \(T\) and strike \(K\) on a bond maturing at \(S\) prices in terms of the noncentral chi-square CDF \(\chi^2(\cdot\,; d, \lambda)\):
with \(\tau_S = S - T\) and
where \(\bar r\) is the critical rate at which the bond forward price equals the strike. The put follows from put-call parity.
Simulation¶
simulate samples the exact noncentral chi-square transition; paths are non-negative by construction and exact at the grid points.
Parameters¶
Parameter |
Meaning |
Constraint |
|---|---|---|
\(\kappa\) |
speed of mean reversion |
\(\kappa > 0\) |
\(\theta\) |
long-run mean level |
\(\theta > 0\) |
\(\sigma\) |
square-root diffusion coefficient |
\(\sigma > 0\) |
\(r_0\) |
initial short rate (optional default state) |
\(r_0 > 0\) |
A UserWarning is emitted at construction when the Feller condition fails.
Usage¶
from interest_rate_models import get_model
model = get_model("cir", kappa=0.9, theta=0.05, sigma=0.15, r0=0.04)
model.bond_price(0.0, 5.0)
model.bond_option(1.0, 3.0, strike=0.9, kind="call")
times, paths = model.simulate(T=5.0, n_steps=500, n_paths=10_000, seed=42)
params = model.calibrate(curve, r0=0.03)
References¶
Cox, J., Ingersoll, J., Ross, S. (1985). “A theory of the term structure of interest rates”, Econometrica, 53(2), 385-407.
Brigo, D., Mercurio, F. (2006). Interest Rate Models — Theory and Practice, 2nd ed., Springer, ch. 3.