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 04 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:29), 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

rCMA  
R-to-Java Interface for 'CMA-ES'
Tool for providing access to the Java version 'CMAEvolutionStrategy' of Nikolaus Hansen. 'CMA-ES' i ...
Download / Learn more Package Citations See dependency  
GLMMadaptive  
Generalized Linear Mixed Models using Adaptive Gaussian Quadrature
Fits generalized linear mixed models for a single grouping factor under maximum likelihood approxim ...
Download / Learn more Package Citations See dependency  
sValues  
Measures of Sturdiness of Regression Coefficients
Implements the s-values proposed by Ed. Leamer. It provides a context-minimal approach for sensitivi ...
Download / Learn more Package Citations See dependency  
ggconf  
Simpler Appearance Modification of "ggplot2"
A flexible interface for ggplot2theme potentially saving 50 of your typing. ...
Download / Learn more Package Citations See dependency  
epigraphdb  
Interface Package for the 'EpiGraphDB' Platform
The interface package to access data from the 'EpiGraphDB' platform. It p ...
Download / Learn more Package Citations See dependency  
Maintainer: Yi Liu (view profile)
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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