Is it possible to fit an interest rate curve using the Nelson-Siegel or Svensson parametric models in MATLAB?

1 view (last 30 days)
I can fit a spline to the forward interest rate curve with the IRDATACURVE function, but am not sure on how to fit a Nelson-Siegel or Svensson parametric model, which is more typical of industry standards.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Aug 2009
It is possible to fit an interest rate curve with the Nelson-Siegel or Svensson parametric models using the FITNELSONSIEGEL and FITSVENSSON methods of the IRFUNCTIONCURVE class in the Fixed-Income Toolbox V1.7 (R2009a).
For an example on how to use these methods, please refer to the MATLAB documentation page for each of these functions by typing the follownig command on the MATLAB Command Prompt:
doc fitNelsonSiegel
% or
doc fitSvensson

More Answers (0)

Categories

Find more on Price and Analyze Financial Instruments in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!