Beyond GLMs: an Introduction to Mixed Models Flashcards
Key Assumptions
Independence of observations - dependent variables are independent of one another
Homoskedasticity - variance of the residuals should normally be constant across different levels of the independent variable(s)
Linear Model
accuracy = Bo + B1 * RTi + Ei
Wilkinson Notation
accuracy ~ 1 + RT
‘Simpson’s Paradox
Hierarchical approach
Mixed Effects Models
Some effects are fixed, others may vary randomly
Number of random effects varies depending on how many sources of variability there are
More specific in the effect and allows the collection of variability within the data
Summary
Data may have a hierarchical structure - may manipulate a variable within-participant, and then want to compare how the effect of this manipulation varies between
Some of our observations are now non-independent - have arisen from the same participant
Mixed effects models provide a general way to account for hierarchical structure