NelsonSiegelSvensson
The Nelson-Siegel-Svensson model, often abbreviated NSS, is a parsimonious parametric representation used to describe the term structure of interest rates. It provides a compact formula to estimate the yield for any given maturity by fitting a small number of parameters, enabling smooth interpolation and extrapolation of the yield curve. The model extends the earlier Nelson-Siegel form by incorporating an additional curvature term, an extension introduced by Lars Svensson to improve fit across a broader range of maturities.
Let y(tau) denote the yield for maturity tau. The NSS specification is
+ beta1 * [(1 - exp(-tau/lambda1)) / (tau/lambda1)]
+ beta2 * [(1 - exp(-tau/lambda1)) / (tau/lambda1) - exp(-tau/lambda1)]
+ beta3 * [(1 - exp(-tau/lambda2)) / (tau/lambda2) - exp(-tau/lambda2)],
where lambda1 > 0 and lambda2 > 0 are decay parameters, and beta0, beta1, beta2, beta3 are shape
In practice, NSS parameters are estimated from observed yields across maturities, typically by nonlinear least squares