Understanding Mixed-Effects Models Through Data Simulation

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 analysis of variance on aggregated responses because researchers are not co...

Full description

Saved in:
Bibliographic Details
Published inAdvances in methods and practices in psychological science Vol. 4; no. 1
Main Authors DeBruine, Lisa M., Barr, Dale J.
Format Journal Article
LanguageEnglish
Published Los Angeles, CA SAGE Publications 01.01.2021
Subjects
Online AccessGet full text
ISSN2515-2459
2515-2467
2515-2467
DOI10.1177/2515245920965119

Cover

More Information
Summary: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 analysis of variance on aggregated responses because researchers are not confident specifying and interpreting mixed-effects models. This Tutorial explains how to simulate data with random-effects structure and analyze 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 not only can enhance understanding of how these models work, but also enables researchers to perform power calculations for complex designs. All materials associated with this article can be accessed at https://osf.io/3cz2e/.
ISSN:2515-2459
2515-2467
2515-2467
DOI:10.1177/2515245920965119