Please cite the paper below for the 'medshift' software package itself. Please also make sure to cite the appropriate articles describing the statistical methodology.
Hejazi NS, Díaz I (2026). medshift: Causal mediation analysis for stochastic interventions. R package version 0.1.4, https://github.com/nhejazi/medshift.
Díaz I, Hejazi NS (2020). “Causal mediation analysis for stochastic interventions.” Journal of the Royal Statistical Society, Series B (Statistical Methodology). doi:10.1111/rssb.12362. https://doi.org/10.1111/rssb.12362.
Corresponding BibTeX entries:
@Manual{,
title = {{medshift}: Causal mediation analysis for stochastic
interventions},
author = {Nima S Hejazi and Iván Díaz},
year = {2026},
note = {R package version 0.1.4},
url = {https://github.com/nhejazi/medshift},
}
@Article{,
journal = {Journal of the Royal Statistical Society, Series B
(Statistical Methodology)},
title = {Causal mediation analysis for stochastic interventions},
author = {Iván Díaz and Nima S Hejazi},
year = {2020},
month = {February},
doi = {10.1111/rssb.12362},
url = {https://doi.org/10.1111/rssb.12362},
}