Abstract
Mediation analysis is widely used in the social sciences. Despite the popularity of mediation models, few researchers have used graphical methods, other than structural path diagrams, to represent their models. Plots of the mediated effect can help a researcher better understand the results of the analysis and convey these results to others. This article presents a method for creating and interpreting plots of the mediated effect for a variety of mediation models, including models with (1) a dichotomous independent variable, (2) a continuous independent variable, and (3) an interaction between an independent variable and the mediating variable. An empirical example is then presented to illustrate these plots. Sample code for creating plots of the mediated effect in R and SAS is also included, and may be downloaded from www.psychonomic.org/archive.
Article PDF
Similar content being viewed by others
References
Aiken, L. S., & West, S. G. (1991). Multiple regression: Testing and interpreting interactions. Newbury Park, CA: Sage.
Baron, R. M., & Kenny, D. A. (1986). The moderator-mediator distinction in social psychological research: Conceptual, strategic, and statistical considerations. Journal of Personality & Social Psychology, 51, 1173–1182.
Chen, H. T. (1990). Theory-driven evaluations. Thousand Oaks, CA: Sage.
Fritz, M. S., & MacKinnon, D. P. (2006, June). Plots of the XM interaction in models of the mediated effect. Poster presented at the annual meeting of the Society for Prevention Research, San Antonio, TX.
Goldberg, L., Elliot, D. [L.], Clarke, G. N., MacKinnon, D. P., Moe, E. [L.], Zoref, L., et al. (1996). Effects of a multidimensional anabolic steroid prevention intervention: The Adolescents Training and Learning to Avoid Steroids (ATLAS) program. Journal of the American Medical Association, 276, 1555–1562.
Goldberg, L., MacKinnon, D. P., Elliot, D. L., Moe, E. L., Clarke, G. [N.], & Cheong, J. (2000). The Adolescents Training and Learning to Avoid Steroids program: Preventing drug use and promoting health behaviors. Archives of Pediatrics & Adolescent Medicine, 154, 332–338.
MacKinnon, D. P. (2008). An introduction to mediation analysis. Mahwah, NJ: Erlbaum.
MacKinnon, D. P., Fairchild, A. J., & Fritz, M. S. (2007). Mediation analysis. Annual Review of Psychology, 58, 593–614.
MacKinnon, D. P., Fritz, M. S., Williams, J., & Lockwood, C. M. (2007). Distribution of the product confidence limits for the indirect effect Program PRODCLIN. Behavior Research Methods, 39, 384–389.
MacKinnon, D. P., Goldberg, L., Clarke, G. N., Elliot, D. L., Cheong, J., Lapin, A., et al. (2001). Mediating mechanisms in a program to reduce intentions to use anabolic steroids and improve exercise self-efficacy and dietary behavior. Prevention Science, 2, 15–28.
MacKinnon, D. P., Lockwood, C. M., Hoffman, J. M., West, S. G., & Sheets, V. (2002). A comparison of methods to test mediation and other intervening variable effects. Psychological Methods, 7, 83–103.
MacKinnon, D. P., Lockwood, C. M., & Williams, J. (2004). Confidence limits for the indirect effect: Distribution of the product and resampling methods. Multivariate Behavioral Research, 39, 99–128.
MacKinnon, D. P., Taborga, M. P., & Morgan-Lopez, A. A. (2002). Mediation designs for tobacco prevention research. Drug & Alcohol Dependence, 68, S69-S83.
Merrill, R. (1994). Treatment effect evaluation in non-additive mediation models. Unpublished dissertation, Arizona State University, Tempe.
R Core Development Team (2006). R (Version 2.4.0) [Computer Program]. Vienna, Austria: The R Foundation for Statistical Computing. Available at www.r-project.org.
SAS Institute (2006). SAS (Version 9.1) [Computer Program]. Cary, NC: SAS Institute, Inc.
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was supported by Public Health Service Grant DA06006.
Electronic supplementary material
Rights and permissions
About this article
Cite this article
Fritz, M.S., MacKinnon, D.P. A graphical representation of the mediated effect. Behav Res 40, 55–60 (2008). https://doi.org/10.3758/BRM.40.1.55
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.3758/BRM.40.1.55