Learn R Programming

termstrc (version 1.3.7)

estim_cs: Cubic Splines Term Structure Estimation

Description

Function for estimating the term structure of coupon bonds based on cubic splines.

Usage

estim_cs(bonddata, group, matrange="all", rse=TRUE)

Arguments

bonddata
a data set of bonds in list format.
group
vector defining the group of bonds used for the estimation, e.g., c("GERMANY","AUSTRIA").
matrange
use "all" for no restrictions, or restrict the maturity range used for the estimation with c(lower,upper).
rse
TRUE (default) calculates robust standard erros for the confidence intervalls of the discount curve

See Also

estim_cs.couponbonds