Statistical Methods for Mediation Confounding and Moderation Analysis Using R and SAS