Question about Bionic Turtle's 2009 FRM Program
07 Jan 2009
Learn Finance with the pros. Better articles, resources and screencasts for easier learning.
FRM |
The single cubic isn't good enough to describe the whole term structure, but it's a good place to start. First, I grabbed actual Treasury rates...
...into Excel. Second, I want to find the best fit cubic polynomial. That just means that I want to solve for r0, a, b, and c in the function:
We can do this by minimizing the sum of squared errors; i.e., the sum of the squared difference between an actual Treasury yield and a yield predicted by the cubic polynomial. We can use Excel's solver for that! We ask it to minimize the sum of squared errors (the orange target) by changing the four parameters in the cubic.
Here is the seven minute screencast.
07 Jan 2009
05 Jan 2009
04 Jan 2009
Comments
Question : Why are you using the yields directly and not the derived spot rates? I understand that the term structure should be composed of spot rates against time and not the treasury yields directly against time unless these treasuries are zero coupon, which I presume they are not. I will appreciate your response.
windfactor,
You are right. Most correct would be the theoretical spot rate curve (i.e., underling default-fee, zero coupon bonds) but I was just trying to illustrated the simple application of solver to a yield curve (as a mathy exercise). Taking the easy road but i agree with you… David
Leave a Comment