|
Chapter Contents |
Previous |
Next |
| The GAM Procedure |
Consider the estimation of the smoothing terms s0, s1(·), ... , sp(·) in the additive model

Many ways are available to approach the formulation and estimation of additive models. The back-fitting algorithm is a general algorithm that can fit an additive model using any regression-type fitting mechanisms.
Define the partial residual as

In the above notation, sjm(·) denotes the estimate of sj(·) at the mth iteration. It can be shown that RSS never increases at any step, which implies that the algorithm always converges. However, the individual functions need not be unique, since dependence among the covariates can lead to more than one representation for the same fitted surface.
A weighted back-fitting algorithm has the same form as for the unweighted case, except that the smoothers are weighted. The weights might represent the relative precision of each observation or might arise as part of another iterative procedure. For example, weights are used in the local scoring procedure described later in this section.
The algorithm so far described fits just additive models. The
algorithm for generalized additive models is a little more
complicated. Generalized additive models extend generalized
linear models in the same manner that additive models extend linear
regression models, that is, by replacing form
with the additive form
. Thus,
it is helpful to review
the iteratively reweighted least-square procedure for computing
the maximum likelihood estimates in a generalized linear model.
For generalized linear models, the maximum likelihood estimate of
is defined by the score equations




Some adjusted dependent variables and weights for commonly used models are listed in the following table.
| Distribution | Link | Adjusted Dependent(Z) | Weights(w) |
| Normal | identity | y | 1 |
| logit | |||
| Gamma | log | 1 | |
| Poisson | log |
Generalized additive models differ from generalized linear models in that an additive predictor replaces the linear predictor. Estimation of the additive terms is accomplished by replacing the weighted linear regression in the adjusted dependent variable regression by the weighted back-fitting algorithm for fitting a weighted additive mode. This results in the algorithm described below as the local scoring algorithm. The name "local scoring" derives from the fact that local averaging is used to generalize the Fisher scoring procedure.
Form the weights
Fit an additive model to Z using the back-fitting
algorithm with weights W to obtain estimated
functions sjm(·).
The estimating procedure for generalized additive models consists of two loops. Inside each step of the local scoring algorithm (outer loop), a weighted back-fitting algorithm (inner loop) is used until convergence, that is, until the RSS fails to decrease. Then, based on the estimates from this weighted back-fitting algorithm, a new set of weights is calculated and the next iteration of the scoring algorithm starts. The scoring algorithm stops when the deviance of the estimates ceases to decrease.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.