In
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, the backfitting algorithm is a simple iterative procedure used to fit a
generalized additive model. It was introduced in 1985 by
Leo Breiman
Leo Breiman (January 27, 1928 – July 5, 2005) was a distinguished statistician at the University of California, Berkeley. He was the recipient of numerous honors and awards, and was a member of the United States National Academy of Sciences. ...
and
Jerome Friedman along with generalized additive models. In most cases, the backfitting algorithm is equivalent to the
Gauss–Seidel method, an algorithm used for solving a certain
linear system of equations.
Algorithm
Additive models are a class of
non-parametric regression models of the form:
:
where each
is a variable in our
-dimensional predictor
, and
is our outcome variable.
represents our inherent error, which is assumed to have mean zero. The
represent unspecified smooth functions of a single
. Given the flexibility in the
, we typically do not have a unique solution:
is left unidentifiable as one can add any constants to any of the
and subtract this value from
. It is common to rectify this by constraining
:
for all
leaving
:
necessarily.
The backfitting algorithm is then:
Initialize
,
Do until
converge:
For each predictor ''j'':
(a)