Lably
Skip to content

Smoothing spline

  • 5 min read
  • 6 chapters

Related on Lably

Through Second derivative and Least squares

Cubic spline definition

Let {xi,Yi:i=1,…,n} be a set of observations, modeled by the relation Yi=f(xi)+ϵi where the ϵi are independent, zero mean random variables. The cubic smoothing spline estimate f^ of the function f is defined to be the unique minimizer, in the Sobolev space W22 on a compact interval, of

∑i=1n{Yi−f^(xi)}2+λ∫f^′′(x)2dx.

Remarks:

  • λ≥0 is a smoothing parameter, controlling the trade-off between fidelity to the data and roughness of the function estimate. This is often estimated by generalized cross-validation, or by restricted marginal likelihood (REML) which exploits the link between spline smoothing and Bayesian estimation (the smoothing penalty can be viewed as being induced by a prior on the f).
  • The integral is often evaluated over the whole real line although it is also possible to restrict the range to that of xi.
  • As λ→0 (no smoothing), the smoothing spline converges to the interpolating spline.
  • As λ→∞ (infinite smoothing), the roughness penalty becomes paramount and the estimate converges to a linear least squares estimate.
  • The roughness penalty based on the second derivative is the most common in modern statistics literature, although the method can easily be adapted to penalties based on other derivatives.
  • In early literature, with equally-spaced ordered xi, second or third-order differences were used in the penalty, rather than derivatives.
  • The penalized sum of squares smoothing objective can be replaced by a penalized likelihood objective in which the sum of squares terms is replaced by another log-likelihood based measure of fidelity to the data. The sum of squares term corresponds to penalized likelihood with a Gaussian assumption on the ϵi.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Statistics and probability