4.16 Generalized Linear Models

Generalized linear models (GLMs) all follow the same ‘recipe’:

  • use a set of predictors X1, …, Xp to predict a response Y

  • model the response Y as coming from a particular distribution

e.g. Poisson Distribution, for Poisson regression

  • transform the mean of the response (via a link function η) so that the transformed mean is a linear function of the predictors

e.g. for Poisson regression, log(λ(X1,...,Xp)=β0+β1X1+...+βpXp