SAS Macros for Testing Statistical Mediation in Data With Binary Mediators or Outcomes
- 1 March 2008
- journal article
- research article
- Published by Ovid Technologies (Wolters Kluwer Health) in Nursing Research
- Vol. 57 (2), 118-122
- https://doi.org/10.1097/01.nnr.0000313479.55002.74
Abstract
Background: Statistical mediation is an important tool in behavioral health sciences, but it has been confined primarily to continuous variables. As prevention studies become increasingly common, more often the mediator or outcome is binary. Recent work by D. P. MacKinnon and J. H. Dwyer (1993) has explicated the steps necessary to estimate models for mediation when the mediator or the outcome is binary. Objective: To report the release of a set of SAS macros used to implement the statistical analyses required to analyze data with binary and continuous-level data. Approach: A brief introduction to the methodology of mediation analysis in the presence of a binary outcome, mediator, or both is provided. The macros are tested on a sample of 84 participants who were experiencing pain. It is hypothesized that the relationship between pain and fatigue is mediated by sleep disturbance. Results: The relationship between pain and fatigue was mediated by the presence of sleep disturbances, and the amount of mediation was 23.34%. Discussion: The SAS macros are available for download without charge from the second author's Web site. Instructions are provided in an included technical manual.Keywords
This publication has 11 references indexed in Scilit:
- The Mediating and Moderating Roles of the Cognitive Triad on Adolescent Suicidal IdeationNursing Research, 2007
- Effect of Differentiation of Self on Adolescent Risk BehaviorNursing Research, 2006
- Symptom Cluster Research: Conceptual, Design, Measurement, and Analysis IssuesJournal of Pain and Symptom Management, 2006
- Pain, Sleep Disturbance, and Fatigue in Patients With Cancer: Using a Mediation Model to Test a Symptom ClusterOncology Nursing Forum, 2005
- SPSS and SAS Programming for the Testing of Mediation ModelsNursing Research, 2004
- The Mediating Effect of Pain and Fatigue on Level of Functioning in Older AdultsNursing Research, 2002
- A comparison of methods to test mediation and other intervening variable effects.Psychological Methods, 2002
- Mediator and moderator variables in nursing research: Conceptual and statistical differencesResearch in Nursing & Health, 2000
- Estimating Mediated Effects in Prevention StudiesEvaluation Review, 1993
- The moderator–mediator variable distinction in social psychological research: Conceptual, strategic, and statistical considerations.Journal of Personality and Social Psychology, 1986