Random slopes
Random slopes over some predictor p are
- the way the model adjusts the average (fixed) slope over
pto better match the data from each level of the grouping variable(s). - one number per level of the grouping variable, which is added on to the fixed slope over
pto produce the group-specific slope overp. - also called “varying slopes” or “slope adjustments”.
- represented by the
+ pin the random effectlme4syntax:(1 + p | g), wheregis the grouping variable.
To work out whether your model can contain random slopes over any of its predictors, see Identify possible random effects.
Linked flash cards
Outgoing links
- TODO
Backlinks
- TODO