Additive regression model 2026-10-14
An additive regression model represents a conditional mean as a sum of univariate functions and an intercept. It permits nonlinear effects without estimating a general high-dimensional response surface. The backfitting algorithm smooths each component's partial residual. Centering separates constants from the intercept, while concurvity can still prevent component identification.
For linear smoothers, let and . The centered fixed-point equations of the backfitting algorithm have diagonal identity blocks and off-diagonal blocks . On the centered component space, a consistent system has a unique answer exactly when its homogeneous system has only the zero solution. For two components the reduced equation is . A common centered vector reproduced by both smoothers yields opposite perturbations of the components without changing their sum.
Write for the training values of each component in the additive regression model. Separate the regression intercept from the smooth components by imposing for every . Without these constraints, adding a constant to a component and subtracting it from the intercept gives exactly the same mean function. A population alternative is when those expectations exist. Additional identifiability of additive regression components requirements exclude redundant component directions, as discussed below.
The backfitting algorithm proceeds as follows:
  • Initialize and for all , or use another centered starting fit. Choose the smoother and its tuning parameters for each predictor.
  • Cycle through . Form the partial residual , using the newest available component estimates.
  • Apply the generic smoother in predictor : . Center its fitted values and replace the current component by . The same centering constant is subtracted from its function when predicting at a new predictor value.
  • Repeat complete cycles until the components and fitted sum change by less than the chosen numerical tolerance. Return .
Because every component remains centered, the least-squares update of the intercept remains throughout. The essential update is
For penalized least-squares smoothers these updates are coordinate descent on the additive fitting objective. For a completely arbitrary smoother, convergence is an additional property to establish, not a consequence of merely specifying the iteration. Centering removes the constant ambiguity but does not by itself remove concurvity.
There are two distinct identifiability issues. Without centering, constants can move between the regression intercept and the additive components. After centering, the decomposition still fails to be unique if there are nonzero allowed centered perturbations satisfying
Then replacing by leaves every fitted response unchanged. This nonlinear analogue of multicollinearity is concurvity. For example, if two predictor columns are identical, a centered function can be added to the effect of the first and subtracted from the effect of the second. Conceptually, the data observe their combined effect but cannot tell which predictor deserves the credit. A unique fitted sum can therefore coexist with nonunique individual effects. Smoothness penalties can distinguish some such decompositions, so a representation ambiguity is not automatically an ambiguity of every penalized estimator.
For a precise criterion for the backfitting algorithm with linear smoothers, put , , and . On the centered component space its fixed-point equations are the linear backfitting equations
A consistent system has more than one solution exactly when there is a nonzero centered tuple satisfying for all . In the two-component case, elimination gives
Thus
A common centered direction reproduced exactly by both smoothers, , gives the homogeneous perturbation and is a concrete instance. For example, two identical predictor columns with smoothers that reproduce the same centered linear trend have this property. Approximate concurvity yields an eigenvalue near one, causing poor conditioning and slow or unstable component estimation, but it does not constitute exact nonuniqueness. Failure of an iteration to converge is also distinct from the existence of multiple fixed points.
Use the backfitting algorithm to alternate conditional updates of the two additive functions. Initialize and both centered function vectors at zero. With the smoothing matrices for the chosen experience and education spline penalties, one cycle is
followed by
The centering transfers any constant component to the intercept; update to the mean of if necessary, which is under the stated constraints. Repeat until changes in the functions or objective are negligible. Each function is estimated by smoothing its partial residual, namely the response after subtracting all other currently fitted terms.
For fixed penalties these updates are block minimizations of
subject to the centering constraints. Each step cannot increase the objective; with identifiable additive terms and a positive-definite constrained quadratic, backfitting converges to its unique minimizer. Highly dependent predictors can make the decomposition poorly identified or slow convergence. The Gaussian identity-link model needs these least-squares updates directly; non-Gaussian generalized additive models use weighted backfitting inside iteratively reweighted least squares. The package implementation also separates each spline's unpenalized linear component from its nonlinear component, giving the two ANOVA tables displayed in part (e).