BONDSPLINE—Cublic Spline for Bond Yields

Use this forum for posting example programs or short bits of sample code.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

BONDSPLINE—Cublic Spline for Bond Yields

Unread post by TomDoan »

bondspline.rpf does a cubic spline approximation to the discount function, as described in McCulloch(1971), "Measuring the Term Structure of Interest Rates", Journal of Business, vol 44, pp 19-31. The cubic spline with a fixed set of knot points can be estimated as a linear regression on a generated set of regressors with a base set making up a cubic polynomial, along with one term per knot for the cube of the excess above it.

Detailed description

bonds.xls
Data file
(31.5 KiB) Downloaded 893 times


Last bumped by TomDoan on Tue Apr 23, 2024 8:59 am.
Post Reply