Options
All
  • Public
  • Public/Protected
  • All
Menu

Svensson Fitting method

Fits a discount function to the form $ d(t) = \exp^{-r t}, $ where the zero rate $r$ is defined as $$ r \equiv c_0 + (c_0 + c_1)(\frac {1 - exp^{-\kappa t}}{\kappa t})

  • c_2exp^{ - \kappa t}
  • c_3{(\frac{1 - exp^{-\kappa_1 t}}{\kappa_1 t} -exp^{-\kappa_1 t})}. $$ See: Svensson, L. (1994). Estimating and interpreting forward interest rates: Sweden 1992-4. Discussion paper, Centre for Economic Policy Research(1051).

Hierarchy

Index

Properties

Protected _constrainAtZero

_constrainAtZero: boolean

Protected _costFunction

_costFunction: FittingCost

_curve

Protected _guessSolution

_guessSolution: Real[]

_l2

_l2: Real[]

_solution

_solution: Real[]

_weights

_weights: Real[]

Methods

calculate

  • calculate(): void
  • Returns void

clone

constrainAtZero

  • constrainAtZero(): boolean

discount

discountFunction

fmInit

  • Parameters

    • Default value constrainAtZero: boolean = true
    • Default value weights: Real[] = []
    • Default value optimizationMethod: OptimizationMethod = null
    • Default value l2: Real[] = []

    Returns FittingMethod

init

  • init(): void
  • Returns void

l2

  • Returns Real[]

minimumCostValue

  • minimumCostValue(): Real

numberOfIterations

optimizationMethod

sfInit1

  • Parameters

    Returns SvenssonFitting

sfInit2

  • Parameters

    Returns SvenssonFitting

size

  • Returns Size

solution

  • solution(): Real[]

weights