multilevelmediation: Utility Functions for Multilevel Mediation Analysis

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.3.1
Depends: R (≥ 2.10)
Imports: furrr, future, matrixcalc, MCMCpack, nlme, parallel, parallelly, stats, tidyr, brms, posterior
Suggests: testthat (≥ 3.0.0), boot
Published: 2024-02-29
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
License: GPL-3
NeedsCompilation: no
Citation: multilevelmediation citation info
Materials: README
CRAN checks: multilevelmediation results

Documentation:

Reference manual: multilevelmediation.pdf

Downloads:

Package source: multilevelmediation_0.3.1.tar.gz
Windows binaries: r-devel: multilevelmediation_0.3.1.zip, r-release: multilevelmediation_0.3.1.zip, r-oldrel: multilevelmediation_0.3.1.zip
macOS binaries: r-release (arm64): multilevelmediation_0.3.1.tgz, r-oldrel (arm64): multilevelmediation_0.3.1.tgz, r-release (x86_64): multilevelmediation_0.3.1.tgz, r-oldrel (x86_64): multilevelmediation_0.3.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=multilevelmediation to link to this page.