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 14 Jul. 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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
maGUI  
A Graphical User Interface for Microarray Data Analysis and Annotation
Provides a comprehensive graphical user interface for analysis of Affymetrix, Agilent, Illumina, Nim ...
Download / Learn more Package Citations See dependency  
surveyCV  
Cross Validation Based on Survey Design
Functions to generate K-fold cross validation (CV) folds and CV test error estimates that take into ...
Download / Learn more Package Citations See dependency  
pps  
PPS Sampling
Functions to select samples using PPS (probability proportional to size) sampling. The package also ...
Download / Learn more Package Citations See dependency  
AutoWeatherIndices  
Calculating Weather Indices
Weather indices are formed from weather variables in this package. The users can input any number of ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

236,180

Dependencies

73,837

Author Associations

27,807

Publication Badges

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