This project is a tutorial of how to use R package ***regmedint*** to conduct regression-based causal mediation analysis. We re-analyze the data in Achterberg et al. (2021). This current repository contains the dataverse files and the running example R code (R markdown and knitted PDF) for:
> Li, Yoshida, Kaufman and Mathur (2022). A Brief Primer on Conducting Regression-Based Causal Mediation Analysis.
The dataverse files are downloaded from the publicly available dataset in Achterberg et al. (2021) at https://doi.org/10.34894/ZZZEGG.
The original paper Achterberg et al. (2021) can be found in dataverse_files/1. Manuscript.pdf.
.