SPSS and SAS programming for the testing of mediation models

Nurs Res. 2004 Jan-Feb;53(1):59-62. doi: 10.1097/00006199-200401000-00009.

Abstract

Background: Mediation modeling can explain the nature of the relation among three or more variables. In addition, it can be used to show how a variable mediates the relation between levels of intervention and outcome. The Sobel test, developed in 1990, provides a statistical method for determining the influence of a mediator on an intervention or outcome. Although interactive Web-based and stand-alone methods exist for computing the Sobel test, SPSS and SAS programs that automatically run the required regression analyses and computations increase the accessibility of mediation modeling to nursing researchers.

Objectives: To illustrate the utility of the Sobel test and to make this programming available to the Nursing Research audience in both SAS and SPSS.

Methods: The history, logic, and technical aspects of mediation testing are introduced. The syntax files sobel.sps and sobel.sas, created to automate the computation of the regression analysis and test statistic, are available from the corresponding author.

Results: The reported programming allows the user to complete mediation testing with the user's own data in a single-step fashion. A technical manual included with the programming provides instruction on program use and interpretation of the output.

Conclusion: Mediation modeling is a useful tool for describing the relation between three or more variables. Programming and manuals for using this model are made available.

Publication types

  • Research Support, U.S. Gov't, P.H.S.
  • Review

MeSH terms

  • Data Interpretation, Statistical*
  • Effect Modifier, Epidemiologic
  • Nursing Research / methods
  • Predictive Value of Tests
  • Regression Analysis*
  • Reproducibility of Results
  • Research Design*
  • Software*