Description Usage Arguments Value Author(s) References See Also Examples
Assuming a sequence of semi-annual coupon bonds beginning with a maturity equal to six months and increasing, this function determines the sequence of discount factors for each time segment using the boothstrap method. This method is limited by the facts that it assumes evenly-spaced six-month maturities and an unbroken sequence. It is also iterative instead of using matrix algebra.
1 | Zbootstrap(prices, coupons)
|
prices |
a vector of prices from the shortest (6-months) to the longest maturity |
coupons |
a vector, usually beginning with 0, with the annual coupon rate as a decimal |
Z a vector of the discount factors
George Fisher
Veronesi Ch2 p46-47
Nelson Seigel and Svensson are more helpful for dirty, real-life bond data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Veronesi Ch2 p 46
p1 <- 98.3607
c1 <- 0
p2 <- 99.2343
c2 <- 0.0275
p3 <- 99.1093
c3 <- 0.03
prices <- c(p1, p2, p3)
coupons <- c(c1, c2, c3)
Zbootstrap(prices, coupons)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.