Skip to content

MarginalMediation

Marginal Mediation

v0.7.3 · Jan 17, 2026 · GPL-3

Description

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.

Downloads

501

Last 30 days

7878th

1.2K

Last 90 days

3.4K

Last year

Trend: +52.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies magrittr boot cli crayon rstudioapi purrr tibble furniture stringr MarginalMediation

Version History

new 0.7.3 Mar 10, 2026
updated 0.7.3 ← 0.7.2 diff Jan 17, 2026
updated 0.7.2 ← 0.7.0 diff Apr 14, 2022
updated 0.7.0 ← 0.5.1 diff Mar 3, 2019
new 0.5.1 Apr 9, 2018