Estimating power in (generalized) linear mixed models: An open introduction and tutorial in R

被引:341
作者
Kumle, Leah [1 ]
Vo, Melissa L. -H. [1 ]
Draschkow, Dejan [2 ]
机构
[1] Goethe Univ Frankfurt, Dept Psychol, Scene Grammar Lab, Frankfurt, Germany
[2] Univ Oxford, Dept Psychiat, Wellcome Ctr Integrat Neuroimaging, Oxford Ctr Human Brain Act, Oxford, England
基金
英国惠康基金;
关键词
Power; Mixed models; Simulation; lme4; mixedpower; R; STATISTICAL POWER; EQUIVALENCE; DESIGN; ERROR;
D O I
10.3758/s13428-021-01546-0
中图分类号
B841 [心理学研究方法];
学科分类号
040201 ;
摘要
Mixed-effects models are a powerful tool for modeling fixed and random effects simultaneously, but do not offer a feasible analytic solution for estimating the probability that a test correctly rejects the null hypothesis. Being able to estimate this probability, however, is critical for sample size planning, as power is closely linked to the reliability and replicability of empirical findings. A flexible and very intuitive alternative to analytic power solutions are simulation-based power analyses. Although various tools for conducting simulation-based power analyses for mixed-effects models are available, there is lack of guidance on how to appropriately use them. In this tutorial, we discuss how to estimate power for mixed-effects models in different use cases: first, how to use models that were fit on available (e.g. published) data to determine sample size; second, how to determine the number of stimuli required for sufficient power; and finally, how to conduct sample size planning without available data. Our examples cover both linear and generalized linear models and we provide code and resources for performing simulation-based power analyses on openly accessible data sets. The present work therefore helps researchers to navigate sound research design when using mixed-effects models, by summarizing resources, collating available knowledge, providing solutions and tools, and applying them to real-world problems in sample sizing planning when sophisticated analysis procedures like mixed-effects models are outlined as inferential procedures.
引用
收藏
页码:2528 / 2543
页数:16
相关论文
共 41 条
[1]  
ALBERS C, 2018, J EXP SOC PSYCHOL
[2]  
Baayen, 2015, J MEM LANG, V27
[3]  
Baayen, 2007, ANAL LINGUISTIC DATA
[4]   Mixed-effects modeling with crossed random effects for subjects and items [J].
Baayen, R. H. ;
Davidson, D. J. ;
Bates, D. M. .
JOURNAL OF MEMORY AND LANGUAGE, 2008, 59 (04) :390-412
[5]   Random effects structure for confirmatory hypothesis testing: Keep it maximal [J].
Barr, Dale J. ;
Levy, Roger ;
Scheepers, Christoph ;
Tily, Harry J. .
JOURNAL OF MEMORY AND LANGUAGE, 2013, 68 (03) :255-278
[6]   Fitting Linear Mixed-Effects Models Using lme4 [J].
Bates, Douglas ;
Maechler, Martin ;
Bolker, Benjamin M. ;
Walker, Steven C. .
JOURNAL OF STATISTICAL SOFTWARE, 2015, 67 (01) :1-48
[7]  
Brysbaert Marc, 2019, J Cogn, V2, P16, DOI 10.5334/joc.72
[8]  
Brysbaert Marc, 2018, J Cogn, V1, P9, DOI 10.5334/joc.10
[9]  
Castelloe, 2007, PHARM STAT USING SAS
[10]  
Cohen J., 1988, Statistical Power Analysis For The Behavioral Sciences, DOI [10.4324/9780203771587, DOI 10.4324/9780203771587]