The P-splines of Eilers and Marx (Stat Sci 11:89–121, 1996) combine a B-spline basis with a discrete quadratic penalty on the basis coefficients, to produce a reduced rank spline like smoother. P-splines have three properties that make them very popular as reduced rank smoothers: (i) the basis and the penalty are sparse, enabling efficient computation, especially for Bayesian stochastic simulation; (ii) it is possible to flexibly ‘mix-and-match’ the order of B-spline basis and penalty, rather than the order of penalty controlling the order of the basis as in spline smoothing; (iii) it is very easy to set up the B-spline basis functions and penalties. The discrete penalties are somewhat less interpretable in terms of function shape than the traditional derivative based spline penalties, but tend towards penalties proportional to traditional spline penalties in the limit of large basis size. However part of the point of P-splines is not to use a large basis size. In addition the spline basis functions arise from solving functional optimization problems involving derivative based penalties, so moving to discrete penalties for smoothing may not always be desirable. The purpose of this note is to point out that the three properties of basis-penalty sparsity, mix-and-match penalization and ease of setup are readily obtainable with B-splines subject to derivative based penalization. The penalty setup typically requires a few lines of code, rather than the two lines typically required for P-splines, but this one off disadvantage seems to be the only one associated with using derivative based penalties. As an example application, it is shown how basis-penalty sparsity enables efficient computation with tensor product smoothers of scattered data.
[1]
Jiguo Cao,et al.
Parameter estimation for differential equations: a generalized smoothing approach
,
2007
.
[2]
Timothy A. Davis,et al.
Direct methods for sparse linear systems
,
2006,
Fundamentals of algorithms.
[3]
M. Wand,et al.
ON SEMIPARAMETRIC REGRESSION WITH O'SULLIVAN PENALIZED SPLINES
,
2007
.
[4]
Jean Duchon,et al.
Splines minimizing rotation-invariant semi-norms in Sobolev spaces
,
1976,
Constructive Theory of Functions of Several Variables.
[5]
C. R. Deboor,et al.
A practical guide to splines
,
1978
.
[6]
Nathan Whitehorn,et al.
Penalized splines for smooth representation of high-dimensional Monte Carlo datasets
,
2013,
Comput. Phys. Commun..
[7]
Gene H. Golub,et al.
Matrix computations
,
1983
.
[8]
S. Wood.
Low‐Rank Scale‐Invariant Tensor Product Smooths for Generalized Additive Mixed Models
,
2006,
Biometrics.
[9]
G. Wahba.
A Comparison of GCV and GML for Choosing the Smoothing Parameter in the Generalized Spline Smoothing Problem
,
1985
.
[10]
S. Wood.
Fast stable restricted maximum likelihood and marginal likelihood estimation of semiparametric generalized linear models
,
2011
.
[11]
G. Wahba.
Spline models for observational data
,
1990
.
[12]
Paul H. C. Eilers,et al.
Flexible smoothing with B-splines and penalties
,
1996
.
[13]
Paul H. C. Eilers,et al.
Twenty years of P-splines
,
2015
.