Disentangle causal effects mediated through another variable with the new mediate command in
#Stata18
.
Specify a variety of models for the outcome and mediator, and report potential outcome means, direct effects, indirect effects, and total effect.
→