Cubic regression spline

ID: cubic-regression-spline

A cubic regression spline represents a mean function in a finite-dimensional space of piecewise cubic functions, with continuity of the function and its first two derivatives at chosen knots. A penalized fit minimizes a residual criterion plus , using . Unlike a full cubic smoothing spline with knots at every distinct observation, its knot set can be much smaller. The mgcv basis bs="cr" uses a penalized natural cubic regression-spline basis with linear tails.

New to topics? Read the docs here!