Affine Term-Structure Model (Duffie-Kan, Kalman Filter)
An affine term-structure model explains the whole yield curve with one or two unobserved factors that drive the short interest rate. Under the Duffie-Kan conditions every zero-coupon yield is a linear function of the factors, with intercepts and loadings given in closed form by the factor dynamics (Gaussian Vasicek or square-root CIR) and the market price of risk. The method treats observed yields as these model yields plus small pricing errors and estimates all parameters by Kalman-filter likelihood.
아핀 기간구조 모형은 단기금리를 움직이는 관측되지 않는 요인 한두 개로 수익률곡선 전체를 설명합니다. 더피와 칸의 조건에서는 모든 무이표채 수익률이 요인의 일차식이 되며, 절편과 적재값은 요인의 동학(가우스 바시첵 또는 제곱근 CIR)과 위험의 시장가격으로 닫힌 형태로 정해집니다. 관측 수익률을 모형 수익률에 작은 가격오차가 더해진 것으로 보고 칼만 필터 우도로 모든 모수를 추정합니다.
Can one or two mean-reverting factors with a constant risk premium explain how this panel of bond yields moves over time, and how fast do the factors revert?
한두 개의 평균회귀 요인과 일정한 위험 프리미엄으로 이 채권 수익률 패널의 시간에 따른 움직임을 설명할 수 있으며, 요인은 얼마나 빨리 평균으로 돌아갑니까?
The method returns the mean-reversion speed, long-run level, volatility and market price of risk of each factor with standard errors, the size of the pricing errors, the filtered factor path, the pricing error by maturity, and the log-likelihood with AIC and BIC for comparing one- and two-factor or Gaussian and square-root versions.
When to use Affine Term-Structure Model (Duffie-Kan, Kalman Filter)
- You have a time series of zero-coupon (or bootstrapped) yields at several maturities.
- You want a no-arbitrage model of the yield curve that links the cross-section and the time series.
- You want to compare Gaussian and square-root factor dynamics or one and two factors.
When to use something else
- You only want a smooth curve for one date: use Nelson-Siegel-Svensson Yield Curve Fitting
- You have a single short-rate series and no yield panel: use Ornstein-Uhlenbeck Process Estimation
Assumptions and requirements
- Factors are independent and follow Gaussian or square-root diffusions
- The market price of risk of each factor is constant
- Pricing errors are independent normal with a common or maturity-specific variance
- Observations are roughly equally spaced
What the analysis reports
- Factor parameters with standard errors and confidence intervals
- Pricing-error standard deviation and RMSE by maturity
- Filtered factor path
- Log-likelihood, AIC and BIC
How to report it
A one-factor Gaussian affine term-structure model fitted by Kalman-filter maximum likelihood to [value] maturities over [value] dates gave a mean-reversion speed of [value] per year (95% CI [value] to [value]) and a pricing-error RMSE of [value].
Related methods
- Nelson-Siegel-Svensson Yield Curve Fitting
- Ornstein-Uhlenbeck Process Estimation
- CKLS Short-Rate Model (GMM with Nested Model Tests)
How this method is validated
이 방법의 검증 근거
- Independent computation. 3 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-8.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과(허용오차 1e-8).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Affine Term-Structure Model (Duffie-Kan, Kalman Filter) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and item columns (e.g. questionnaire items)
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.