Mixed models in R using the lme4 package Part 5: Generalized linear mixed models
Douglas Bates Madison January 11, 2011
Contents
1 Definition 1 2 Links 2 3 Example 7 4 Model building 9 5 Conclusions 14 6 Summary 15
1 Generalized Linear Mixed Models
Generalized Linear Mixed Models
- When using linear mixed models (LMMs) we assume that the response being modeled is
- n a continuous scale.
- Sometimes we can bend this assumption a bit if the response is an ordinal response with
a moderate to large number of levels. For example, the Scottish secondary school test results in the mlmRev package are integer values on the scale of 1 to 10 but we analyze them on a continuous scale.
- However, an LMM is not suitable for modeling a binary response, an ordinal response
with few levels or a response that represents a count. For these we use generalized linear mixed models (GLMMs).
- To describe GLMMs we return to the representation of the response as an n-dimensional,