Term Structure Analytics

Term Structure Analytics

ES EN

Executive-grade term structure platform with embedded market data, local computation and immediate curve-model visualization for monitoring, commercial and analytical use.

Loading embedded market dataset...

What the platform does

This edition estimates yield curves from effective market observations already embedded in the site.

It combines three complementary curve-construction approaches:

  • Classic Nelson-Siegel: fits level, slope and curvature factors by date.
  • Nelson-Siegel-Svensson: extends Nelson-Siegel with a second curvature factor.
  • Cubic spline: interpolates a smooth curve directly across the observed nodes.

Data architecture

The platform operates exclusively with effective market data.

  • Embedded dataset: uses a real market dataset preloaded inside the static site.
  • Legacy aliases: names such as spc_pesos_2y are normalized into SPC_2Y.

In this edition, the full dataset is shipped with the site and all computation runs in the browser, with no operational backend dependency.

Normalization and cleaning

Before estimation, the platform:

  • converts Date into a usable time index
  • casts rate columns to numeric values
  • preserves real gaps as NaN
  • uses only complete dates for the selected columns

Curves are estimated on the cleaned dataset displayed in the Data tab.

Methodological framework

Nelson-Siegel
  • takes a cross-section of rates by date
  • builds level, slope and curvature loadings
  • uses a fixed lambda = 0.0609, matching the original notebook
  • estimates betas through least squares
  • reconstructs a continuous curve across maturity
Formula
Svensson
  • adds a fourth curvature factor
  • uses two lambda parameters
  • estimates betas through least squares
Formula
Cubic spline
  • uses only the available observed rates
  • fits a natural cubic interpolation
  • produces a smooth curve without latent factors
Concept

Interpolates each segment between observed nodes while preserving continuity in level, slope and curvature.

How to read the charts

  • Observed yields: effective market points available on the selected date.
  • Estimated curve: fitted model line.
  • Factors: historical evolution of the estimated parameters.

Baseline curve projection

The Projection tab uses the historical Nelson-Siegel factors and fits a separate AR(1) process for level, slope and curvature.

  • each factor is modeled with first-order persistence
  • 1M, 3M, 6M and 12M horizons are approximated with daily market steps
  • the forward curve is rebuilt from the expected betas at the selected horizon

Dynamic Nelson-Siegel with Kalman

The Kalman tab keeps the Nelson-Siegel measurement structure but treats the factors as latent states and smooths them over time with a Kalman filter and smoother.

  • the measurement equation maps Nelson-Siegel loadings into the observed yield cross-section
  • the transition equation uses a diagonal AR(1) persistence as a parsimonious baseline
  • the output is a filtered spot curve and a consistent filtered forward curve for each date

SBC | Technical paper

Open markdown
Loading paper...
No data loaded.

Classic Nelson-Siegel Fit

Forward curves
Download forward

Dynamic Nelson-Siegel with Kalman filter

Latent Nelson-Siegel factors are filtered and smoothed through time with a linear state-space system. The transition uses a diagonal AR(1) persistence as a parsimonious baseline.
Filtered curves
Download curves
Filtered forward curves
Download forward

AR(1) projection on Nelson-Siegel factors

Univariate AR(1) for each factor using historical daily persistence. The current fitted and observed curve are always shown; the selected horizon adds the projected curve and its implied policy-rate proxy.
Projected curves by horizon
Download curves
Forward curves by horizon (monthly maturity)
Download projection

Nelson-Siegel-Svensson Fit

Forward curves
Download forward

Cubic Spline Fit

Fitted curves
Download curves
Observed nodes