Package: multilevelmediation 0.5.1

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>. Currently only continuous mediators and outcomes are supported. Factors for any predictors must be numerically represented.

Authors:Carl F. Falk [cre, aut], Todd Vogel [aut], Sarah Hammami [aut], Milica Miočević [aut]

multilevelmediation_0.5.1.tar.gz
multilevelmediation_0.5.1.zip(r-4.7-any)multilevelmediation_0.5.1.zip(r-4.6-any)multilevelmediation_0.5.1.zip(r-4.5-any)
multilevelmediation_0.5.1.tgz(r-4.6-any)multilevelmediation_0.5.1.tgz(r-4.5-any)
multilevelmediation_0.5.1.tar.gz(r-4.7-any)multilevelmediation_0.5.1.tar.gz(r-4.6-any)
multilevelmediation_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
multilevelmediation/json (API)

# Install 'multilevelmediation' in R:
install.packages('multilevelmediation', repos = c('https://falkcarl.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/falkcarl/multilevelmediation/issues

Datasets:
  • BPG06dat - Simulated dataset from Bauer, Preacher, and Gil
  • simdat - A simulated dataset with moderator

On CRAN:

Conda:

4.60 score 8 stars 8 scripts 603 downloads 9 exports 111 dependencies

Last updated from:ac55c50e17. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK244
source / vignettesOK297
linux-releaseOK244
macos-releaseOK243
macos-oldrelOK270
windows-develOK195
windows-releaseOK179
windows-oldrelOK184
wasm-releaseOK162

Exports:boot.modmed.mlmboot.modmed.mlm.custombootresid.modmed.mlmextract.boot.modmed.mlmextract.modmed.mlmextract.modmed.mlm.brmsmodmed.mlmmodmed.mlm.brmsstack_bpg

Dependencies:abindbackportsbayesplotBHbootbridgesamplingbrmsBrobdingnagbroomcallrcheckmateclicodacodetoolscolorspacecowplotcpp11DerivdescdigestdistributionaldoBydplyrfarverforecastfracdifffurrrfuturefuture.applygenericsggdistggplot2ggridgesglmmTMBglobalsgluegridExtragtableinlineisobandlabelinglatticelifecyclelistenvlme4lmtestloomagrittrMASSMatrixmatrixcalcMatrixModelsmatrixStatsmcmcMCMCpackmgcvminqamodelrmvtnormnleqslvnlmenloptrnnetnumDerivotelparallellypbkrtestpillarpkgbuildpkgconfigplyrposteriorprocessxpspurrrquadprogquantregQuickJSRR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasreshape2rlangrstanrstantoolsS7sandwichscalesSparseMStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselecttimeDateTMBurcautf8vctrsviridisLitewithrzoo