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 (2024). _medshift: Causal mediation analysis for stochastic interventions_. R package version 0.1.4, . A BibTeX entry for LaTeX users is @Manual{, title = {{medshift}: Causal mediation analysis for stochastic interventions}, author = {Nima S Hejazi and Iván Díaz}, year = {2024}, note = {R package version 0.1.4}, url = {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 , . A BibTeX entry for LaTeX users is @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}, }