Skip to content
Kudos AI

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
A single hinge-shaped column switching on at the knot, the fitted curve staying smooth as it does, and a polynomial swinging wildly at the edges beside a spline that does not.

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.