Other packages > Find by keyword >

mediation  

Causal Mediation Analysis
View on CRAN: Click here


Download and install mediation package within the R console
Install from CRAN:
install.packages("mediation")

Install from Github:
library("remotes")
install_github("cran/mediation")

Install by package version:
library("remotes")
install_version("mediation", "4.5.1")



Attach the package and use:
library("mediation")
Maintained by
Teppei Yamamoto
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2009-06-14
Latest Update: 2025-06-07
Description:
We implement parametric and non parametric mediation analysis. This package performs the methods and suggestions in Imai, Keele and Yamamoto (2010) , Imai, Keele and Tingley (2010) , Imai, Tingley and Yamamoto (2013) , Imai and Yamamoto (2013) and Yamamoto (2013) . In addition to the estimation of causal mediation effects, the software also allows researchers to conduct sensitivity analysis for certain parametric models.
How to cite:
Teppei Yamamoto (2009). mediation: Causal Mediation Analysis. R package version 4.5.1, https://cran.r-project.org/web/packages/mediation. Accessed 11 Mar. 2026.
Previous versions and publish date:
1.0 (2009-06-14 21:11), 2.0 (2009-07-18 18:12), 2.1 (2009-09-18 22:25), 3.0 (2011-05-03 03:02), 3.1.1 (2011-09-19 08:04), 3.1.2 (2011-09-20 10:30), 3.1 (2011-08-21 07:09), 4.0.1 (2012-04-20 06:55), 4.0 (2012-03-20 17:21), 4.1.2 (2012-08-24 21:04), 4.1 (2012-06-03 19:27), 4.2.1 (2013-03-04 18:02), 4.2.2 (2013-04-18 18:40), 4.2.3 (2013-08-26 08:07), 4.2.4 (2013-09-26 22:58), 4.2 (2012-12-18 20:57), 4.3.1 (2013-10-17 23:35), 4.3 (2013-10-14 07:23), 4.4.1 (2014-08-13 16:02), 4.4.2 (2014-08-27 16:41), 4.4.3 (2014-11-23 09:28), 4.4.4 (2015-03-03 00:59), 4.4.5 (2015-07-18 17:00), 4.4.6 (2017-07-12 01:17), 4.4.7 (2019-03-17 00:00), 4.4 (2013-12-09 00:30), 4.5.0 (2019-10-09 01:00)
Other packages that cited mediation R package
View mediation citation profile
Other R packages that mediation depends, imports, suggests or enhances
Complete documentation for mediation
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
sorocs  
A Bayesian Semiparametric Approach to Correlated ROC Surfaces
A Bayesian semiparametric Dirichlet process mixtures to estimate correlated receiver operating chara ...
Download / Learn more Package Citations See dependency  
openNLPdata  
Apache OpenNLP Jars and Basic English Language Models
Apache OpenNLP jars and basic English language models. ...
Download / Learn more Package Citations See dependency  
igoR  
Intergovernmental Organizations Database
Tools to extract information from the Intergovernmental Organizations ('IGO') Database , version 3, ...
Download / Learn more Package Citations See dependency  
histogram  
Construction of Regular and Irregular Histograms with Different Options for Automatic Choice of Bins
Automatic construction of regular and irregular histograms as described in Rozenholc/Mildenberger/Ga ...
Download / Learn more Package Citations See dependency  
roptions  
Option Strategies and Valuation
Collection of tools to develop options strategies, value option contracts using the Black-Scholes-Me ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA