Package: MarginalMediation 0.7.2

MarginalMediation: Marginal Mediation

Provides the ability to perform "Marginal Mediation"--mediation wherein the indirect and direct effects are in terms of the average marginal effects (Bartus, 2005, <https://EconPapers.repec.org/RePEc:tsj:stataj:v:5:y:2005:i:3:p:309-329>). The style of the average marginal effects stems from Thomas Leeper's work on the "margins" package. This framework allows the use of categorical mediators and outcomes with little change in interpretation from the continuous mediators/outcomes. See <doi:10.13140/RG.2.2.18465.92001> for more details on the method.

Authors:Tyson S Barrett [aut, cre], Angelo Canty [ctb], Brian D. Ripley [ctb], Thomas Leeper [ctb]

MarginalMediation_0.7.2.tar.gz
MarginalMediation_0.7.2.zip(r-4.5)MarginalMediation_0.7.2.zip(r-4.4)MarginalMediation_0.7.2.zip(r-4.3)
MarginalMediation_0.7.2.tgz(r-4.4-any)MarginalMediation_0.7.2.tgz(r-4.3-any)
MarginalMediation_0.7.2.tar.gz(r-4.5-noble)MarginalMediation_0.7.2.tar.gz(r-4.4-noble)
MarginalMediation_0.7.2.tgz(r-4.4-emscripten)MarginalMediation_0.7.2.tgz(r-4.3-emscripten)
MarginalMediation.pdf |MarginalMediation.html
MarginalMediation/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tysonstanley/marginalmediation/issues

On CRAN:

average-marginal-effectsmarginsmediationmediation-analysismediatorpartial-effectsrstudio

4.29 score 3 stars 13 scripts 153 downloads 11 exports 64 dependencies

Last updated 3 years agofrom:77cc5d730e. Checks:1 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 04 2025
R-4.5-winNOTEJan 04 2025
R-4.5-linuxNOTEJan 04 2025
R-4.4-winNOTEJan 04 2025
R-4.4-macNOTEJan 04 2025
R-4.3-winNOTEJan 04 2025
R-4.3-macNOTEJan 04 2025

Exports:%>%amedframesmmamma_checkmma_dir_effectsmma_formulasmma_ind_effectsmma_std_dir_effectsmma_std_ind_effectsperc_med

Dependencies:base64encbigDbitopsbootbslibcachemclicolorspacecommonmarkcrayoncurldigestdplyrevaluatefansifarverfastmapfontawesomefsfurnituregenericsgluegthighrhtmltoolshtmlwidgetsjquerylibjsonlitejuicyjuiceknitrlabelinglifecyclemagrittrmarkdownmemoisemimemunsellpillarpkgconfigpurrrR6rappdirsRColorBrewerRcppreactablereactRrlangrmarkdownrstudioapisassscalesstringistringrtibbletidyselecttinytexutf8V8vctrsviridisLitewithrxfunxml2yaml

Marginal Mediation

Rendered fromMarginalMediation_vignette.Rmdusingknitr::rmarkdownon Jan 04 2025.

Last update: 2022-04-14
Started: 2017-03-03