Home   >   User Resources   >   Online Help   >   apaNelsonSiegelSvensson.Estimate
 

 

Function index Version 3.0.0

apaNelsonSiegelSvensson.Estimate(ObservedYields, ObservedMaturities, IsRandomInitGuess)

Excel=apaNelsonSiegelSvensson.Estimate(ObservedYields, ObservedMaturities, IsRandomInitGuess)

Result

Estimates the Nelson-Siegel-Svensson parameters beta0 to beta3, tau1 and tau2 by fitting observed yields.

Syntax

ObservedYields: 1 x n vector of observed yields

ObservedMaturities: 1 x n vector of observed maturities in years, in ascending order

IsRandomInitGuess: TRUE for a random initial guess of the parameters, FALSE for a deterministic one

Algorithm

Numerical minimization of the sum of squared differences between the empirical and the fitted yield curve.