The BSpline in mathematica is defined mathematically here. These BSplines constitute basis for any Spline. But how do I define natural splines in mathematica, i.e. splines that are linear left of the leftmost knot and right of the rightmost knot?
How can I perform generalized linear regression with natural splines?