DeBruine LM & Barr DJ (2020). Understanding mixed effects models through data simulation. Advances in Methods and Practices in Psychological Science . doi: 10.1177/2515245920965119 [materials] [data] [preprint]

Experimental designs that sample both subjects and stimuli from a larger population need to account for random effects of both subjects and stimuli using mixed effects models. However, much of this research is analyzed using ANOVA on aggregated responses because researchers are not confident specifying and interpreting mixed effects models. The tutorial will explain how to simulate data with random effects structure and analyse the data using linear mixed effects regression (with the lme4 R package), with a focus on interpreting the output in light of the simulated parameters. Data simulation can not only enhance understanding of how these models work, but also enables researchers to perform power calculations for complex designs.

Disclaimer: The information found and the views expressed in these homepages are not the responsibility of the University of Glasgow nor do they reflect institutional policy.