Description Usage Arguments Details Value References See Also Examples
View source: R/spotfwdratedef.R
Calculate forward rates according to Diebold/Li(2006).
1 |
beta |
parameter vector {\bm{β}} = ≤ft(β_0,β_1,β_2\right). |
m |
maturity or maturity vector. |
lambda |
=\frac{1}{τ_1}, a scalar |
The forward rate for a maturity m is calculated according to the following formula:
f(m,\bm{β},λ) = β_0+β_1\exp≤ft(-mλ\right)+β_2≤ft[≤ft(mλ\right)\exp≤ft(-mλ\right)\right].
The function returns the calculated forward rate (vector).
F.X. Diebold and C. Li: Forecasting the Term Structure of Government Bond Yields. Journal of Econometrics, 130:337–364.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.