multilevelmediation: Utility Functions for Multilevel Mediation Analysis (original) (raw)
The ultimate goal is to support 2-2-1, 2-1-1, and 1-1-1 models for multilevel mediation, the option of a moderating variable for either the a, b, or both paths, and covariates. Currently the 1-1-1 model is supported and several options of random effects; the initial code for bootstrapping was evaluated in simulations by Falk, Vogel, Hammami, and Miočević (2024) <doi:10.3758/s13428-023-02079-4>. Support for Bayesian estimation using 'brms' comprises ongoing work. Currently only continuous mediators and outcomes are supported. Factors for any predictors must be numerically represented.
| Version: | 0.4.1 |
|---|---|
| Depends: | R (≥ 2.10) |
| Imports: | furrr, future, matrixcalc, MCMCpack, nlme, parallel, parallelly, stats, tidyr, brms, posterior, glmmTMB |
| Suggests: | testthat (≥ 3.0.0), boot, BH |
| Published: | 2025-01-10 |
| DOI: | 10.32614/CRAN.package.multilevelmediation |
| Author: | Carl F. Falk [cre, aut], Todd Vogel [aut], Sarah Hammami [aut], Milica Miočević [aut] |
| Maintainer: | Carl F. Falk <carl.falk at mcgill.ca> |
| BugReports: | https://github.com/falkcarl/multilevelmediation/issues |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Citation: | multilevelmediation citation info |
| Materials: | README |
| CRAN checks: | multilevelmediation results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=multilevelmediationto link to this page.