Learn R Programming

intmed

The intmed is for conducting mediation analysis using the interventional effect approach. It is built upon the work by VanderWeele, Vansteelandt and Robins (2014; https://dx.doi.org/10.1097/ede.0000000000000034) , Vansteelandt and Daniel (2017; https://dx.doi.org/10.1097/ede.0000000000000596) and Chan and Leung (2020; unpublished manuscript, available on request). The indirect effect mediated through a mediator M is defined as the average difference in the potential outcome in the population when there is an intervention that shifts the distribution of the mediator from what would have realised from unexposed to exposed, while holding the exposure level constant as exposed.

Copy Link

Version

Install

install.packages('intmed')

Monthly Downloads

184

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Gary Chan

Last Published

August 27th, 2020

Functions in intmed (0.1.2)

mediate

Performing mediation analysis based on the interventional effect
substance

Fictitious family intervention data
intmed

intmed: A package for mediation analysis using the interventional effect approach
sim_data

A simulated dataset for demonstrating mediation analysis with a single mediator