EconStatsCraft › Yield curve (Nelson–Siegel / Svensson)

Yield curve (Nelson–Siegel / Svensson)

A yield curve is a shape, not a series. Three common factors - level, slope and curvature - describe almost all of it, so forecasting the curve means forecasting three numbers instead of thirteen, and the forecast is a curve rather than lines that might cross.

What it needs

The intuition

A yield curve is a dozen or more maturities that move almost in lockstep, so describing it with a dozen numbers is wasteful. Nelson-Siegel replaces them with three that have direct readings: a level that sets where the whole curve sits, a slope that bends the short end away from the long, and a curvature that lifts or dips the middle. Almost every curve ever observed is well described by those three.

When to use it

Any term-structure question: where rates are going across maturities, whether an inversion is expected to persist, what a bond portfolio’s duration is exposed to. Also the standard benchmark a macro-augmented yield model has to beat, and a hard one to beat.

Where the estimator comes from

The Nelson-Siegel form for the yield at maturity \tau is 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 first loading is 1 at every maturity, so \beta_0 is the LEVEL. The second decays from 1 at \tau\to0 to 0 at the long end, so \beta_1 is the SLOPE and \beta_0+\beta_1 is the instantaneous short rate. The third loading is zero at both ends and humped in between, so \beta_2 is CURVATURE and \lambda sets where the hump sits. Given \lambda the model is linear in the betas and fits by OLS, which is why \lambda is usually fixed or profiled over a grid rather than estimated jointly.

The model

y_t(\tau) = L_t + S_t\frac{1-e^{-\lambda\tau}}{\lambda\tau} + C_t\left(\frac{1-e^{-\lambda\tau}}{\lambda\tau} - e^{-\lambda\tau}\right)

What it assumes

Statistical properties

How to read the output

A worked reading

13 maturities from 1 to 360 months over 120 dates, fitted with a decay of λ = 0.0609 - which places the curvature loading's peak at 24 months of those available. Three factors reproduce the whole cross-section to a root-mean-square error of 6.8 basis points, which is the fact the entire literature rests on: a curve with thirteen degrees of freedom is really moving in three. The factors also mean what their names claim, and the note checks rather than asserts it - Level correlates 0.9964 with the 360-month yield, Slope 0.9947 with the one-month-minus-360-month spread, and Curvature 0.9311 with 2×m24 − m1 − m360. Forecasting is then done on the three factors rather than the thirteen yields: a VAR(1) takes Level from 3.2746 to 3.5975 and Curvature from 1.2422 to 0.5610 over six periods, and the curve is rebuilt from those. Note the interval on the reconstructed one-month yield runs from 0.62 to 3.80 - a 300 basis point band around a 17 basis point predicted move, which is the honest uncertainty of a yield forecast and is usually omitted from the chart.

Symptom → diagnosis → what to do

If you see thisIt meansDo this
Poor fit at the very short endMoney-market instruments behave differentlyConsider excluding maturities under three months
Curvature coefficient hugelambda misplaced, so the hump is in the wrong placeProfile lambda over a grid
Betas jumping between daysJoint estimation hitting different local minimaFix lambda across the sample
A curve needing two humpsNelson-Siegel is too rigidUse Svensson, and expect less stable betas
Fitted forward rates going negative at the long endNo arbitrage-free constraintUse the CDR arbitrage-free form
Fewer than four maturitiesThree parameters plus lambda is not identifiedThe model needs more points than parameters

Common mistakes

Where to read this properly

See also

Principal components, which finds the same three factors without imposing a shape. Bond pricing, for what the curve is used to discount.

Related Time series - several series

Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

All analyses

Charts

Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini

Maps

World map · Bivariate map · Flow map · India - state map · India - district map

Explore

Descriptive statistics · Summary by group · Two-way table · Classical statistical tests

Regression

Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial

Time series - one series

Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy

Time series - several series

Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests

Multivariate statistics

Principal components (PCA) · Factor analysis · Cluster analysis

Marketing research

Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis

Causal

Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition

Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

Actuarial

Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting

Tests & breaks

Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability

Machine learning

Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting

Open the workspace →

Starting engine…

EconStatsCraft rigorous, plain-spoken econometrics

Econometrics that explains itself.

Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.

Load a dataset to see it here.