P-splines

p-splinesb-splinespenalized-regressionsmoothingnonparametric-regressioneffective-dimensiondensity-estimationgeneralized-linear-model

Definition

A P-spline (penalized B-spline) is a nonparametric smoother that fits a curve as a linear combination of a rich B-spline basis — many equidistant knots — while a difference penalty on adjacent basis coefficients controls smoothness (Eilers-Marx 1996). By penalizing the coefficients rather than choosing knot positions, it decouples the hard knot-selection problem from the smoothness problem: use plenty of knots and let a single penalty parameter λ\lambda regulate the fit.

Key Ideas

How It Works

Over-parameterize deliberately: place, say, 10–40 equidistant knots regardless of the true smoothness. The unpenalized fit would overfit, so add λDka2\lambda\|D_k a\|^2, which shrinks differences between neighbouring coefficients toward zero — a locally smooth coefficient sequence produces a smooth curve. Because the penalty acts on coefficients (not an integral of the curve), the normal equations gain only the small λDkDk\lambda D_k'D_k term, so P-splines slot into any software that already does B-spline regression. Tune λ\lambda by minimizing AIC/CV over the effective dimension tr(H)\mathrm{tr}(H).

Why It Matters

Open Questions

Related