bottom up and top down approach
07 Sep 2008
Learn Finance with the pros. Better articles, resources and screencasts for easier learning.
Excel's solver has my vote for most under-rated feature (more information on premium version here, but regular solver is built into Excel). In the brief screencast below, I use it to perform non-linear interpolation. It's easier than you think.
We first need a term structure mode. A compact model is the Nelson and Siegel which has four parameters:
Then we only need the actual observations. I pulled recent U.S. Treasury yields from the U.S. Treasury. You can see why we need to interpolate; the U.S. Treasury only issues coupon-bonds at a few maturities:
With Excel's fabulous solver, we can fit the Nelson and Siegel function to the actual data. Here are the steps:
Solver optimizes and changes the parameters for us. The result is a nonlinear function that fits the Treasury yields quite well (the red dots are actual, the blue line is the Nelson & Siegel function with the "optimized" parameters):
Here is the screencast, step by step:
07 Sep 2008
07 Sep 2008
06 Sep 2008
Comments
Thanks for making this so simple David. Excellent demonstration.
windfactor - Thanks for liking it! David
Leave a Comment