Learn R Programming

termstrc (version 1.3.7)

fwr_sv: Forward Rate Calculation according to Svensson (1994).

Description

Calculate forward rates according to Svensson (1994).

Usage

fwr_sv(beta, m)

Arguments

beta
parameter vector ${\bm{\beta}} = \left(\beta_0,\beta_1,\beta_2,\tau_1,\beta_3,\tau_2\right)$.
m
maturity or vector of maturities.

Value

  • Returns the a vector with the calculated forward rate (vector).

Details

The forward rate for a maturity $m$ is calculated according to the following formula:

$$f(m,\bm{\beta}) = \beta_0+\beta_1\exp\left(-\frac{m}{\tau_1}\right)+\beta_2\left[\left(\frac{m}{\tau_1}\right)\exp\left(-\frac{m}{\tau_1}\right)\right] +\beta_3\left[\left(\frac{m}{\tau_2}\right)\exp\left(-\frac{m}{\tau_2}\right)\right].$$

References

Lars E.O. Svensson (1994): Estimating and Interpreting Forward Interest Rates: Sweden 1992 -1994. Technical Reports 4871, National Bureau of Economic Research.

See Also

fwr_ns,fwr_dl forwardrates

Examples

Run this code
fwr_sv(c(0.03,0.02,0.01,5,0.01,10),1:30)

Run the code above in your browser using DataLab