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.
Package details |
|
---|---|
Author | Tyson S Barrett [aut, cre] (<https://orcid.org/0000-0002-2137-1391>), Angelo Canty [ctb] (S original bootstrap method, http://statwww.epfl.ch/davison/BMA/library.html), Brian D. Ripley [ctb] (R port, bootstrap method), Thomas Leeper [ctb] (Vectorized marginal effects, https://thomasleeper.com/software.html) |
Maintainer | Tyson S Barrett <t.barrett88@gmail.com> |
License | GPL-2 |
Version | 0.7.2 |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.