I am currently conducting causal mediation analysis using the new mediate command in Stata 18. My outcome model is linear regression and the mediator model is logistic regression. I have been able to obtain the total, direct and indirect effects of my exposure on the outcome. I would now like to check assumptions under which my estimates would have a causal interpretation. As a way of conducting sensitivity analysis for unmeasured mediator-outcome confounding, I have come across mediation E values explained by Louisa H. Smith and Tyler J. VanderWeele. I am wondering how to obtain the mediation E values in Stata. My mediation command is below.
mediate (outcome age i.sex) ///
(binary_mediator age i.sex, logit) ///
(study), ///
con(2)
mediate (outcome age i.sex) ///
(binary_mediator age i.sex, logit) ///
(study), ///
con(2)
Comment