Computational procedures for probing interactions in OLS and logistic regression: SPSS and SAS implementations

Behav Res Methods. 2009 Aug;41(3):924-36. doi: 10.3758/BRM.41.3.924.

Abstract

Researchers often hypothesize moderated effects, in which the effect of an independent variable on an outcome variable depends on the value of a moderator variable. Such an effect reveals itself statistically as an interaction between the independent and moderator variables in a model of the outcome variable. When an interaction is found, it is important to probe the interaction, for theories and hypotheses often predict not just interaction but a specific pattern of effects of the focal independent variable as a function of the moderator. This article describes the familiar pick-a-point approach and the much less familiar Johnson-Neyman technique for probing interactions in linear models and introduces macros for SPSS and SAS to simplify the computations and facilitate the probing of interactions in ordinary least squares and logistic regression. A script version of the SPSS macro is also available for users who prefer a point-and-click user interface rather than command syntax.

MeSH terms

  • Behavioral Research / methods*
  • Behavioral Research / statistics & numerical data*
  • Linear Models*
  • Logistic Models*
  • Software