Software‎ > ‎

sensmediation

The package offers functions to estimate and perform sensitivity analysis to unobserved confounding for direct and indirect effects. The estimation and sensitivity analysis are parametric, based on regression models. Sensitivity analysis is implemented for unobserved confounding of the exposure-mediator, mediator-outcome and exposure-outcome relationships.
Package: sensmediation (updated on 22 December 2017)
To install, first make sure the package devtools is installed and loaded (install.packages("devtools"), library(devtools)). Then save the package folder and set the working directory (setwd()) to the search path where the package file is saved. Finally install and load the package (install("sensmediation"), load(sensmediation)).

References:
Lindmark, A., de Luna, X. & Eriksson, M. (2018). Sensitivity analysis for unobserved confounding of direct and indirect effects using uncertainty intervals. Statistics in MedicineDOI: 10.1002/sim.7620. ArXiv: arXiv:1711.10265 [math.ST] 

ċ
sensmediation.zip
(97k)
Anita Lindmark,
Dec 22, 2017, 8:02 AM
Comments