Regression Splines and the Truncated Power Basis
One extra column per knot turns a constrained fitting problem back into plain least squares, and a boundary constraint fixes the tails that ruin polynomials.
IntermediateModule 230 min · 120 XP
This is a premium lesson
Sign in and enrol to read the full lesson, run the code, take the quiz, and earn XP toward the path badge.