Generalized Additive Model

generalized-additive-modelpenalized-regressionsmoothingsmoothing-parameter-selectionremlgeneralized-linear-modelsplines

Definition

A generalized additive model (GAM) is a generalized linear model in which the linear predictor is replaced by a sum of smooth functions of covariates: g(μi)=jfj(xji)g(\mu_i)=\sum_j f_j(x_{ji}), where μi=E[yi]\mu_i=E[y_i], gg is a link, and each fjf_j is an unknown smooth term. The smooths are represented by basis expansions with wiggliness penalties, and the amount of smoothing is controlled by penalty (smoothing) parameters chosen from the data (Wood 2011).

Key Ideas

How It Works

Pick bases and penalties for each term, forming the model matrix and penalty matrices SjS_j. Outer loop: optimize the chosen smoothness criterion V(λ)V(\lambda) — GCV or the Laplace-approximate REML — over logλ\log\lambda. Inner loop: for each trial λ\lambda, run PIRLS to get β^λ\hat\beta_\lambda. Wood's contribution is making the REML objective a properly-defined, differentiable function of λ\lambda that can be optimized directly and stably, so smoothing-parameter estimation converges reliably where earlier indirect schemes failed.

Why It Matters

Open Questions

Related