Description Usage Arguments Details Value References See Also Examples
View source: R/spotfwdratedef.R
The function calculates the forward rates based on a given parameter and maturity vector.
1 |
beta |
parameter vector {\bm{β}} = ≤ft(β_0,β_1,β_2,τ_1,β_3,τ_2\right). |
m |
maturity or vector of maturities. |
The forward rate for a maturity m is calculated according to the following formula:
f(m,\bm{β}) = β_0+β_1\exp≤ft(-\frac{m}{τ_1}\right)+β_2≤ft[≤ft(\frac{m}{τ_1}\right)\exp≤ft(-\frac{m}{τ_1}\right)\right] +β_3≤ft[\exp≤ft(-\frac{m}{τ_2}\right)+ ≤ft(\frac{2m}{τ_2}-1\right)\exp≤ft(-\frac{2m}{τ_2}\right)\right].
Returns the a vector with the calculated forward rate (vector).
Lars E.O. Svensson (1994): Estimating and Interpreting Forward Interest Rates: Sweden 1992 -1994. Technical Reports 4871, National Bureau of Economic Research.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.