Tag Info

3

You can create the data using the procedure described in the reference manual on pages 31 and 32. The necessary code is copied below: # The following code may be used to generate an empty data set, # which can then be filled with bond data: ISIN <- vector() MATURITYDATE <- vector() STARTDATE <- vector() COUPONRATE <- vector() PRICE <- ...

2

You are going to need to interpolate in some way shape or form.... Linear is the easiest and most basic, however it may not capture the curvature, you can use splines to better capture the curve. A nice guide to doing so is here: It's a guide to bootstrapping and it has all the components. http://www.business.mcmaster.ca/finance/deavesr/yieldcur.pdf

1

I'm not expert on this field so may not able to answer your question precisely, but I can try the best to offer you some hints. According to the pure expectations hypothesis(PEH), forward rates provide unbiased predictions about future spot rates. Even if the PEH can be rejected, various scholars including Fama has provided evidence for the weaker form of ...

1

Assume we have $r(t)$ continuously compounded spot rate for maturity $t$. The price of the 2-year bond with semi-annual coupon $C$ is known to be $P$. We already have $r(0.5)$ and $r(1)$. We need $r(2)$ and $r(1.5) = f(r(1), r(2))$. Then $$P = C [e^{-0.5 \times r(0.5)} + e^{-r(1)}+e^{-1.5 \times r(1.5)}] + (1+C)e^{-2 \times r(2)}$$ Using linear ...

1

It turned out to be more simple than I thought. First, be sure to replace "STARTDATE" with "ISSUEDATE" when building the list. Once the list is build simply reclassify it using the following command: class(mybonds)="couponbonds" That's it!

Only top voted, non community-wiki answers of a minimum length are eligible