rwrmed Causal mediation analysis using regression-with-residuals For the most up-to-date version of this software package, execute the following command from within Stata: ssc install rwrmed