Generalized additive model (GAM)
Gist
An extension of the Generalized linear models (GLM) with the addition of Splines
Mathematics
Like a GLM, a GAM is linear in its parameters Each smooth term is written as a weighted sum of fixed basis functions: $$ f_j(x_j) = \sum_{k=1}^{K_j} \beta_{jk} , b_{jk}(x_j) $$ The
Wigglineness
I do think it’s really funny that the actual term is just wiggliness. It is calculated as the integral of the second derivatives squared. It is is squared because if you don’t, wiggly curve may have a wigglineness of zero [1]
Uses
- Can be used for Longitudinal Data; also known as Hierarchal generalized additive modeling
R
- The de-facto package is