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.
| Version: | 0.7.3 |
| Imports: | stats, magrittr, boot, cli, crayon, rstudioapi, purrr, tibble, furniture, stringr |
| Suggests: | testthat, knitr, rmarkdown, margins, betareg |
| Published: | 2026-01-18 |
| DOI: | 10.32614/CRAN.package.MarginalMediation |
| Author: | Tyson S Barrett |
| Maintainer: | Tyson S Barrett <t.barrett88 at gmail.com> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| In views: | MixedModels |
| CRAN checks: | MarginalMediation results |
| Reference manual: | MarginalMediation.html , MarginalMediation.pdf |
| Vignettes: |
Marginal Mediation (source, R code) |
| Package source: | MarginalMediation_0.7.3.tar.gz |
| Windows binaries: | r-devel: MarginalMediation_0.7.3.zip, r-release: MarginalMediation_0.7.3.zip, r-oldrel: MarginalMediation_0.7.3.zip |
| macOS binaries: | r-release (arm64): MarginalMediation_0.7.3.tgz, r-oldrel (arm64): MarginalMediation_0.7.3.tgz, r-release (x86_64): MarginalMediation_0.7.3.tgz, r-oldrel (x86_64): MarginalMediation_0.7.3.tgz |
| Old sources: | MarginalMediation archive |
Please use the canonical form https://CRAN.R-project.org/package=MarginalMediation to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.