Main Content
fitNelsonSiegel
Syntax
Description
fits a Nelson-Siegel model to bond data.outCurve
= fitNelsonSiegel(Settle
,Instruments
,CleanPrice
)
After creating a parametercurve
object for
outCurve
, you can use the associated object functions discountfactors
,
zerorates
, and
forwardrates
.