K2E-B-Z-1 · Paper Note
CIR Term Structure via Kalman Filter
- Description: Cross-domain Kalman-filter application — estimating the Cox-Ingersoll-Ross (CIR) interest-rate term structure via Kalman filter: affine term structure, CIR dynamics, state-space form, quasi-maximum-likelihood estimation
- My Notion Note ID: K2E-B-Z-1
- Created: 2021-07-01
- Updated: 2026-06-04
- License: Reuse welcome — please credit Yu Zhang and link back to yuzhang.io
Cross-domain note: Kalman filter applied to finance (interest-rate term structure) rather than SLAM. The shared machinery is the Kalman filter framework itself (see Gaussian Filters); the "state" being estimated is latent interest-rate factors rather than robot pose.
Table of Contents
- 1. Summary
- 2. Key Contributions
- 3. Method
- 4. Experiments & Results
- 5. Ablation & Discussion
- 6. Strengths / Limitations / Future Work
- References
1. Summary
Title: Multi-Factor Cox-Ingersoll-Ross Models of the Term Structure: Estimates and Tests from a Kalman Filter Model Authors: Ren-Raw Chen, Louis Scott Paper: Journal of Real Estate Finance and Economics, 27(2), 143–172 (2003)
The term structure of interest rates is driven by a few unobservable latent factors (short rate, etc.). Bond yields at different maturities are noisy linear observations of these factors. This is precisely a hidden-state estimation problem — the Kalman filter is a natural fit.
The paper shows how to set up the CIR (Cox-Ingersoll-Ross) multi-factor term-structure model in state-space form, apply an approximate nonlinear Kalman filter (the process noise covariance is state-dependent in CIR, making it technically nonlinear), and estimate model parameters via quasi-maximum-likelihood (QML) — maximizing the likelihood implied by the KF's Gaussian innovations even though the true CIR transition density is non-central chi-square.
SLAM analogy: latent factors ↔ robot state; observed yields ↔ sensor measurements; CIR transition ↔ motion model; yield equation ↔ observation model.
2. Key Contributions
- State-space formulation of affine term structure: shows affine bond-pricing functions map directly to linear observation equations, making KF applicable
- Gaussian approximation of CIR dynamics: the non-central chi-square transition is approximated by Gaussian (mean = conditional expectation, variance = conditional variance from CIR), enabling standard KF
- Quasi-MLE via KF innovations: standard estimation procedure for latent-factor models when exact likelihood is unavailable
- Multi-factor extension: independent CIR factors, with diagonal state-transition and covariance matrices
3. Method
3.1 Affine Term Structure
Instantaneous short rate follows an SDE:
: deterministic drift; : diffusion; : Brownian motion. Zero-coupon bond price in an affine model:
: latent state factors; : maturity-dependent functions; zero-coupon yield:
The yield is linear in — enabling a linear measurement equation for the KF.
3.2 CIR Dynamics
Cox-Ingersoll-Ross (1985) — square-root affine diffusion:
: mean-reversion speed; : long-run mean; : square-root volatility (keeps ; volatility proportional to ).
Under risk-neutral / arbitrage-free measure (subtract market price of risk from drift):
Closed-form bond price with .
3.3 State-Space Form
Transition (prediction) — Gaussian approximation of the CIR conditional density:
(diagonal for independent factors); ; with diagonal (factor-specific CIR conditional variance ).
Measurement — observed yields:
: yields at maturities; : loading matrix (, row = maturity , column = factor ); : constant (); : diagonal measurement noise. Hyperparameter vector .
3.4 Kalman Filter Recursion
Prediction step:
Measurement update (same five equations as any linear KF — see Gaussian Filters §2):
3.5 Quasi-Maximum-Likelihood Estimation
The true CIR transition density is non-central chi-square — no closed-form likelihood. The KF-implied Gaussian approximation gives an innovation-based log-likelihood:
Maximize over — quasi-MLE (quasi because the KF Gaussian is an approximation of the true non-Gaussian density). QML is consistent and asymptotically normal under mild regularity conditions.
4. Experiments & Results
The paper estimates a two-factor CIR model on U.S. Treasury yields:
- Data: weekly observations, 8 maturities (3-month to 10-year), 1970–1999 (approximately 1,500 weeks)
- Parameters estimated: (CIR dynamics) + (measurement noise per maturity)
Key findings:
- Two factors explain ~99% of yield variation (consistent with prior literature)
- Mean-reversion speeds estimated on the order of 0.1–0.5 per year
- Measurement noise variances are small but nonzero — the model doesn't fit perfectly (consistent with the "approximately linear" bond pricing)
- Model-implied yield curves match observed curves well in-sample; out-of-sample fit degrades for far-horizon yields
Statistical tests: the paper runs specification tests (likelihood-ratio, parameter stability) confirming the two-factor CIR is a reasonable but not perfect description of the data. Three or more factors further improve fit at a parsimony cost.
5. Ablation & Discussion
- One-factor vs multi-factor: single-factor CIR (the classic 1985 model) fits short-end rates well but fails to capture the slope dynamics of the yield curve; multi-factor models are necessary
- Gaussian approximation quality: the CIR conditional variance is relatively small at typical interest-rate levels — the Gaussian approximation is adequate, though exact MCMC-based estimation gives slightly different parameter estimates
- Cross-section vs time-series: the KF approach exploits both dimensions simultaneously — unlike cross-section regression (which can't identify risk premia) or pure time-series (which can't use maturity structure)
- Measurement noise necessity: without the system is over-determined (more yields than factors), so some noise allocation is mathematically required and economically justified (bid-ask spreads, reporting errors)
6. Strengths / Limitations / Future Work
Strengths:
- Principled state-space framework: the KF provides optimal linear estimates of latent factors
- QML is computationally cheap (no MCMC) and well-understood asymptotically
- Direct analogy to SLAM: demonstrates KF universality across domains
Limitations:
- Gaussian approximation of CIR dynamics introduces bias in parameter estimates at extreme interest-rate levels (near zero or very high)
- Linear yield equation is only exactly valid for affine models; non-affine (stochastic volatility) models require extended/unscented KF
- The CIR model imposes positivity () which the Gaussian KF does not enforce — near-zero rates can produce negative filter outputs
Extensions:
- Affine jump-diffusion models (adds Poisson jumps to drift): still quasi-tractable with KF
- Stochastic volatility models (Heston-type): require EKF or particle filter
- The same KF framework applies to virtually any affine term-structure model (Vasicek, Hull-White, etc.)
References
| Primary | Chen R.-R., Scott L. (2003). Multi-Factor Cox-Ingersoll-Ross Models of the Term Structure: Estimates and Tests from a Kalman Filter Model. J. Real Estate Finance Econ., 27(2). DOI |
| CIR model | Cox J.C., Ingersoll J.E., Ross S.A. (1985). A Theory of the Term Structure of Interest Rates. Econometrica, 53(2). |
| KF for term structure | Geyer A.L.J., Pichler S. (1999). A State-Space Approach to Estimate and Test Multifactor CIR Models. J. Financial Research. |
| Affine term structure | Duffie D., Kan R. (1996). A Yield-Factor Model of Interest Rates. Mathematical Finance. |
| KF framework | See Gaussian Filters (prediction/update, innovation, inversion lemma) |