Quant techniques · fixed income

Nelson–Siegel: fit the yield curve with level, slope, and curvature

A yield curve may have dozens of quoted maturities, yet much of its shape can be described by a few smooth components. Nelson–Siegel provides a parsimonious parametric curve with intuitive level, slope, and curvature factors. Unlike PCA, its loading shapes come from a chosen functional form rather than being estimated as unconstrained eigenvectors.

Nelson–Siegel loading bends by maturity

Slope loading

Nelson–Siegel slope factor loading with decay time 2 years.

The Nelson–Siegel yield curve

For maturity τ\tau and decay parameter λ>0\lambda>0, define

y(τ)=β0+β11−e−λτλτ+β2(1−e−λτλτ−e−λτ).y(\tau)=\beta_0+\beta_1\frac{1-e^{-\lambda\tau}}{\lambda\tau}+\beta_2\left(\frac{1-e^{-\lambda\tau}}{\lambda\tau}-e^{-\lambda\tau}\right).

The loadings have useful limiting shapes:

  • The β0\beta_0 loading is constant, so it controls the long-maturity level.
  • The β1\beta_1 loading starts near one at short maturities and decays toward zero, shaping the short end relative to the long end.
  • The β2\beta_2 loading starts and ends near zero and has a hump in the middle, shaping curvature.

The decay parameter λ\lambda controls where the curvature loading peaks. Parameterisation conventions sometimes use a time-scale τ0=1/λ\tau_0=1/\lambda instead; be consistent when interpreting estimates.

Conditional linear estimation

For a fixed λ\lambda, the model is linear in β=(β0,β1,β2)\beta=(\beta_0,\beta_1,\beta_2). Given yields yiy_i at maturities τi\tau_i, construct the loading matrix X(λ)X(\lambda) and estimate

β^(λ)=(X⊤WX)−1X⊤Wy,\hat\beta(\lambda)=(X^\top W X)^{-1}X^\top W y,

where WW can weight observations by reliability or market relevance. Search over plausible λ\lambda values and choose the one minimising weighted residual error, or jointly optimise all parameters. The conditional-linear approach reduces the nonlinear search from four parameters to one.

A small residual is not enough: sparse long-end data can make λ\lambda and the factors weakly identified. Check parameter stability, residuals by maturity, and sensitivity to the weighting scheme. Ensure inputs are comparable zero-coupon or appropriately transformed yields; coupon-bond yields with heterogeneous conventions are not automatically direct observations of a smooth zero curve.

PCA and Nelson–Siegel answer related but different questions

PCA finds orthogonal directions that explain historical yield changes. Nelson–Siegel imposes smooth maturity loadings to fit and extrapolate a curve. Its factors are interpretable by construction, but they need not be the empirical principal components or explain the maximum sample variance.

Diebold–Li dynamics

Diebold and Li turn the static curve into a forecasting model by holding λ\lambda fixed and allowing the three coefficients to vary over time:

yt(τ)=β0,t+β1,tL1(τ;λ)+β2,tL2(τ;λ)+ϵt(τ).y_t(\tau)=\beta_{0,t}+\beta_{1,t}L_1(\tau;\lambda)+\beta_{2,t}L_2(\tau;\lambda)+\epsilon_t(\tau).

Estimate the factors each date, then forecast them with autoregressions or a VAR. The yield forecast follows by plugging forecast factors into the loadings. This two-step approach is easy to implement and links term-structure forecasting to familiar time-series methods. A state-space version can instead estimate latent factors and measurement noise jointly.

For a simple AR(1) factor, βj,t+1=aj+cjβj,t+uj,t+1\beta_{j,t+1}=a_j+c_j\beta_{j,t}+u_{j,t+1}. If ∣cj∣<1|c_j|<1, the factor mean-reverts toward aj/(1−cj)a_j/(1-c_j). Factors need not be independent; jointly modelling them can capture level-slope and curvature interactions.

What it is not

The standard Nelson–Siegel curve is a descriptive fit. It does not automatically enforce an arbitrage-free pricing model for bond prices and derivatives. For pricing interest-rate derivatives, an arbitrage-free term-structure model or an arbitrage-free Nelson–Siegel extension is needed. Similarly, a good in-sample curve fit does not guarantee accurate forecasts or stable hedge ratios.

Common mistakes

  • Mixing up λ\lambda and its reciprocal time-scale, which reverses intuition about where the curvature hump sits.
  • Treating the three factors as exact PCA components. The loadings are fixed functional forms, not sample eigenvectors.
  • Estimating each date independently and interpreting noisy factor movements as economic dynamics without smoothing or a state-space model.
  • Assuming a smooth curve fit is automatically arbitrage-free or suitable for derivative pricing.
  • Comparing forecasts against PCA or other models using different maturity sets or information dates.

Practice

LimitsAs maturity τ tends to infinity, what does the Nelson–Siegel yield approach?
Show answer

The slope and curvature loadings vanish, so y(τ)→β0y(\tau)\to\beta_0, the long-run level.

IdentificationFor fixed λ, why can β be estimated by ordinary or weighted least squares?
Show answer

The model is linear in β0,β1,β2\beta_0,\beta_1,\beta_2 once the maturity loadings are fixed. Only the decay parameter λ\lambda enters nonlinearly.

ForecastIf the three factors are forecast separately, how do you obtain a yield forecast at a given maturity?
Show answer

Insert the predicted factor values into the Nelson–Siegel equation using the same fixed maturity loadings and decay parameter used for estimation.

Further reading: Nelson and Siegel (1987), “Parsimonious Modeling of Yield Curves,” Journal of Business 60(4), 473–489; Diebold and Li (2006), “Forecasting the Term Structure of Government Bond Yields,” Journal of Econometrics 130(2), 337–364. Nelson–Siegel article record.