Abstract
In behavioral sciences, researchers frequently employ mediation analysis with longitudinal data. A common scenario involves the 1 ? 1 ? 1 mediation model, where the Predictor X, Mediator(s) M, and Outcome Y are all measured at different occasions (Level 1) within individuals (Level 2). The standard 1 ? 1 ? 1 mediation model approach fits two multilevel models, one for the mediator and one for the outcome, with two random intercepts and three random slopes in total. However researchers often exclude random slopes from multilevel models and only include random intercepts to account for non-independence across observations of the same individual. We demonstrate that ignoring random slopes in the 1 ? 1 ? 1 mediation model can result in biased average indirect effect estimators, as well as underestimated standard errors. We provide code from open source and free statistical software that can be used by practitioners to fit the 1 ? 1 ? 1 mediation model.
| Original language | English |
|---|---|
| Pages (from-to) | 313-345 |
| Number of pages | 33 |
| Journal | Methodology-European Journal of Research Methods for the Behavioral and Social Sciences |
| Volume | 21 |
| Issue number | 4 |
| DOIs | |
| Publication status | Published - 1 Jan 2025 |
Keywords
- lower level mediation
- multilevel mediation
- random slopes
- unmeasured confounding