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
BONDSPLINE—Cublic Spline for Bond Yields
BONDSPLINE—Cublic Spline for Bond Yields
Last bumped by TomDoan on Tue Apr 23, 2024 8:59 am.