50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


termstrc (version 1.1.1)

spotrates: Function for the Calculation of the Spot Rates

Description

The function calculates the spot rates for the chosen approach, a provided maturity vector and parameter set.

Usage

spotrates(method, beta, m)

Arguments

method
"Nelson/Siegel" or "Svensson".
beta
parameter set $\bm{\beta}$.
m
maturity or a vector of maturities.

Value

  • Returns a vector with the calculated spot rates.

Details

The spot rates according to Nelson/Siegel are defined as: s(m,\bmβ)=β0+β11exp(mτ1)mτ1+β2(1exp(mτ1)mτ1exp(mτ1)). Svensson defines the spot rate function as follows: s(m,\bmβ)=β0+β11exp(mτ1)mτ1+β2(1exp(mτ1)mτ1exp(mτ1))+β3(1exp(mτ2)mτ2exp(mτ2))

References

Charles R. Nelson and Andrew F. Siegel (1987): Parsimonious Modeling of Yield Curves. The Journal of Business, 60(4):473--489. Lars E.O. Svensson (1994): Estimating and Interpreting Forward Interest Rates: Sweden 1992 -1994. Technical Reports 4871, National Bureau of Economic Research.