Related Experiment Video
Updated: Aug 9, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Multilevel mediation analysis in R: A comparison of bootstrap and Bayesian approaches
Carl F Falk1, Todd A Vogel2, Sarah Hammami3
1Department of Psychology, McGill University, 2001 McGill College, 7th Floor; Montreal, Quebec, H3A 1G1, Canada. carl.falk@mcgill.ca.
Abstract:
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.
More Related Videos
Related Concept Videos
Friedman Two-way Analysis of Variance by Ranks
Bootstrapping
Comparing the Survival Analysis of Two or More Groups
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...
Assumptions of Survival Analysis
One-Way ANOVA: Unequal Sample Sizes

