Multilevel mediation analysis in R: A comparison of bootstrap and Bayesian approaches

被引:12
作者
Falk, Carl F. [1 ]
Vogel, Todd A. [2 ]
Hammami, Sarah [3 ]
Miocevic, Milica [1 ]
机构
[1] McGill Univ, Dept Psychol, 2001 McGill Coll,7th Floor, Montreal, PQ H3A 1G1, Canada
[2] Univ Birmingham, Ctr Human Brain Hlth, Sch Psychol, Birmingham, England
[3] Univ Nebraska Lincoln, Educ Psychol, Lincoln, NE USA
关键词
Mediation analysis; Multilevel modeling; Bayesian estimation; Bootstrapping; Resampling; INTERVAL ESTIMATION; LEVEL MEDIATION; STANDARD ERRORS; MODELS; POWER; PERFORMANCE; PACKAGE; SAMPLE;
D O I
10.3758/s13428-023-02079-4
中图分类号
B841 [心理学研究方法];
学科分类号
040201 ;
摘要
Mediation analysis in repeated measures studies can shed light on the mechanisms through which experimental manipulations change the outcome variable. However, the literature on interval estimation for the indirect effect in the 1-1-1 single mediator model is sparse. Most simulation studies to date evaluating mediation analysis in multilevel data considered scenarios that do not match the expected numbers of level 1 and level 2 units typically encountered in experimental studies, and no study to date has compared resampling and Bayesian methods for constructing intervals for the indirect effect in this context. We conducted a simulation study to compare statistical properties of interval estimates of the indirect effect obtained using four bootstrap and two Bayesian methods in the 1-1-1 mediation model with and without random effects. Bayesian credibility intervals had coverage closest to the nominal value and no instances of excessive Type I error rates, but lower power than resampling methods. Findings indicated that the pattern of performance for resampling methods often depended on the presence of random effects. We provide suggestions for selecting an interval estimator for the indirect effect depending on the most important statistical property for a given study, as well as code in R for implementing all methods evaluated in the simulation study. Findings and code from this project will hopefully support the use of mediation analysis in experimental research with repeated measures.
引用
收藏
页码:750 / 764
页数:15
相关论文
共 68 条
[1]   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
[2]   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
[3]   Conceptualizing and testing random indirect effects and moderated mediation in multilevel models: New procedures and recommendations [J].
Bauer, Daniel J. ;
Preacher, Kristopher J. ;
Gil, Karen M. .
PSYCHOLOGICAL METHODS, 2006, 11 (02) :142-163
[4]   Assessing Mediational Models: Testing and Interval Estimation for Indirect Effects [J].
Biesanz, Jeremy C. ;
Falk, Carl F. ;
Savalei, Victoria .
MULTIVARIATE BEHAVIORAL RESEARCH, 2010, 45 (04) :661-701
[5]   ROBUSTNESS [J].
BRADLEY, JV .
BRITISH JOURNAL OF MATHEMATICAL & STATISTICAL PSYCHOLOGY, 1978, 31 (NOV) :144-152
[6]  
Brysbaert Marc, 2018, J Cogn, V1, P9, DOI 10.5334/joc.10
[7]   brms: An R Package for Bayesian Multilevel Models Using Stan [J].
Buerkner, Paul-Christian .
JOURNAL OF STATISTICAL SOFTWARE, 2017, 80 (01) :1-28
[8]   Performance-dependent inhibition of pain by an executive working memory task [J].
Buhle, Jason ;
Wager, Tor D. .
PAIN, 2010, 149 (01) :19-26
[9]   Time and Other Considerations in Mediation Design [J].
Cain, Meghan K. ;
Zhang, Zhiyong ;
Bergeman, C. S. .
EDUCATIONAL AND PSYCHOLOGICAL MEASUREMENT, 2018, 78 (06) :952-972
[10]   A novel bootstrap procedure for assessing the relationship between class size and achievement [J].
Carpenter, JR ;
Goldstein, H ;
Rasbash, J .
JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES C-APPLIED STATISTICS, 2003, 52 :431-443