Cox-Ingersoll-Ross (CIR) Interest Rate Model Lab
Simulate the Cox-Ingersoll-Ross (1985) square-root diffusion short-rate model. Verify the Feller condition ($2ab ge sigma^2$) for strictly positive interest rates, compute analytical zero-coupon bond prices, derive spot and forward term structures, and evaluate convexity drag.
1. Square-Root SDE Parameters
CIR SDE: dr = a(b - r)dt + σ √r dW
Pricing Horizon
2. Feller Condition & Analytical Valuation
FELLER SATISFIEDCIR Bond Pricing: $P(t,T) = A( au) e^{-B( au) r_t}$ with $gamma = sqrt{a^2 + 2sigma^2}$
| Component | Analytical Formula | Value | Interpretation |
|---|---|---|---|
| Auxiliary Parameter $gamma$ | √(a² + 2σ²) |
0.2872 | Eigenvalue speed accounting for square-root volatility diffusion |
| Duration Factor $B( au)$ | 2(e^{γτ}-1) / [(γ+a)(e^{γτ}-1) + 2γ] |
3.475 | Bounded duration sensitivity (approaches $2/(gamma+a)$) |
| Scale Factor $A( au)$ | [ 2γ e^{(a+γ)τ/2} / denom ]^{2ab/σ²} |
0.7431 | Power transformation based on Feller exponent $2ab/sigma^2$ |
| Zero-Coupon Price ($P$) | 100 × A( au) × exp(-B( au) × r_0) |
$65.59 | Exact arbitrage-free fair price per $100 par |
3. CIR Term Structure & Forward Rates
4. Analytical CIR Term Structure Schedule
Exact Closed-Form| Maturity | Zero Price ($P) | Zero Yield ($Y$) | Forward ($f$) | Factor B(τ) |
|---|
5. Sensitivity: Mean Reversion ($a$) vs. Volatility ($sigma$) on 10Y Yield (%)
6. Sensitivity: Short Rate ($r_0$) vs. Equilibrium Mean ($b$) on 30Y Yield (%)
7. CIR Term Structure Mathematics & Square-Root Diffusion
The Square-Root Process & Non-Negativity
Published in Econometrica in 1985 by John C. Cox, Jonathan E. Ingersoll, and Stephen A. Ross, the CIR model addresses the fundamental flaw of Gaussian interest rate models:
Because the diffusion term is scaled by $sqrt{r_t}$, volatility approaches zero as $r_t o 0$. As long as the deterministic upward drift $a cdot b > 0$ is sufficiently strong, the rate is pushed back into positive territory.
The Feller Condition
William Feller (1951) established that the boundary behavior at zero depends entirely on the ratio of drift to diffusion:
When $2ab ge sigma^2$, the boundary $r=0$ is inaccessible, ensuring $r_t > 0$ for all time. If $2ab < sigma^2$, the origin is accessible, acting as a reflecting boundary.
Affine Term Structure & Asymptotic Yield
The CIR model belongs to the general class of affine term structure models, meaning that the logarithm of bond prices is linear in the state variable $r_t$:
With $gamma = sqrt{a^2 + 2sigma^2}$, the asymptotic long-term yield is given by:
Comparison with Vasicek: In Vasicek, $R_infty = b - rac{sigma^2}{2a^2}$, which can become negative if volatility is high. In CIR, because $a, b > 0$ and $gamma > 0$, $R_infty$ is strictly positive ($R_infty > 0$), preserving market consistency across all horizons.
8. CIR Model Mastery Self-Assessment Quiz
9. Related Quantitative Finance & Fixed Income Labs
SABR Model Lab · Heston Stochastic Volatility Lab · BDT Lattice Lab · Hull-White Model Lab · Vasicek Short-Rate Model Lab
Explore Ornstein-Uhlenbeck Gaussian diffusion, analytical bond pricing, and term structure curves.
Bond Portfolio Immunization Lab
Model classical Redington duration matching, convexity surplus, and Fong-Vasicek structural risk.
Interest Rate Swap Lab
Simulate fixed-for-floating swap valuation, mark-to-market NPV, and par swap rates.