Moderation (Interaction) Analysis

Statistics
Introduced by
Aiken & West (1991); Hayes (PROCESS, 2018)
Year
2018
Type
Linear regression with interaction term

What does it do?

Moderation analysis tests whether the effect of a predictor X on an outcome Y changes with the level of a third variable W, the moderator.

Within a regression framework this is done by adding the product term X×W; a clearly non-zero coefficient on that term means the slope of X varies across values of W. Aiken & West (1991) set out the standard centring and probing conventions, and Hayes's PROCESS macro is a common tool for running these models.

The intuition behind the method

Sometimes a relationship is not the same for everyone. A training programme might boost performance a lot for newcomers but barely move the needle for veterans. Moderation captures exactly this 'it depends' idea: it asks whether the slope linking X to Y bends as a second variable W rises or falls, instead of assuming one fixed effect for all.

History

Moderated multiple regression was systematised by Aiken & West (1991), whose treatment of centring, predictor scaling, simple slopes, and reliability and power is still widely used. Hayes's Introduction to Mediation, Moderation, and Conditional Process Analysis (2nd ed., 2018) gives a later account of moderation alongside mediation and their combination, including a chapter on probing interactions, and the PROCESS macro is widely used to run the models it covers.

When to use it

Use moderation analysis when theory suggests that the X→Y relationship depends on a third measured variable W, and the outcome is continuous. Moderation is a hypothesis about conditions, so it fits questions such as whether a treatment works for some groups or contexts more than others. Do not use it when the question is how an effect is transmitted through an intermediate variable; that is a mediation question, addressed by causal-mediation or conditional process analysis. Interaction tests need considerably more observations than main-effect tests of the same size, so plan with an a priori power analysis for the smallest interaction effect of interest (see Aiken & West, 1991, on reliability and statistical power).

Limitations and considerations

  • Interaction terms have less statistical power than main effects of comparable size, so a null β₃ in a modest sample may reflect low power rather than an absence of moderation.
  • Without centring, β₁ and β₂ refer to effects at X = 0 or W = 0, which may lie outside the observed data, and the product term becomes strongly collinear with its components.
  • Measurement error in the moderator attenuates and biases the estimated interaction, so real moderation can be missed.
  • Inference assumes that Y is linear in X, W and the product term, that residuals are independent with constant variance, and that errors are approximately normal for standard tests and intervals. Violations can distort the conditional slopes and their confidence intervals, so residual diagnostics should be checked before the interaction is interpreted. No confounder of the X×W relation should be omitted.
  • A significant X×W coefficient shows that the slope of X varies with W; it does not by itself establish that W causally modifies the effect. Moderators are usually measured rather than randomised, so the interaction can be confounded by other variables that differ across levels of W.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The coefficient on X×W tests a specific conditional hypothesis, which a model with main effects alone cannot test.
  • Conditional slopes of the form β₁ + β₃W can be reported at chosen moderator values, so the pattern can be read without fitting a separate model for each subgroup.
  • The Johnson-Neyman technique reports the range of W over which the effect of X is significant, rather than relying only on a few probed points.

Applications

  • Testing whether the effect of a treatment or intervention varies with a continuous baseline characteristic.
  • Examining whether a psychological or organisational variable buffers or amplifies a predictor's impact on an outcome.
  • Probing condition-dependent relationships in social, health, and behavioural research.

How it works

How it works

1

The outcome Y is regressed on the predictor X, the moderator W, and their product X×W. To reduce multicollinearity, X and W are mean-centred before the product is formed. With centred variables, the coefficients β₁ and β₂ describe the effect of each variable at the mean of the other, which keeps them interpretable.

Formula
Y = \beta_0 + \beta_1 X + \beta_2 W + \beta_3 (X \times W) + \varepsilon
2

The coefficient β₃ on the product term is the test of moderation: a clearly non-zero β₃ indicates that the effect of X on Y depends on W. Because the slope of X equals β₁ + β₃W, the effect is evaluated at chosen moderator values, commonly one standard deviation below the mean, the mean, and one standard deviation above. These simple slopes describe the effect only at the selected values; they do not show where across the full range of W the effect is statistically significant. The Johnson-Neyman technique solves for that region of significance, giving the range of W over which the slope of X differs from zero at the chosen confidence level, and it should be reported explicitly when an interaction is probed.

Formula
\frac{\partial Y}{\partial X} = \beta_1 + \beta_3 W

Common pitfalls

  • Forming the product from un-centred X and W inflates collinearity between the product and its components, which makes β₁ and β₂ hard to interpret.
  • Treating a non-significant β₃ as evidence of no moderation, particularly in a small sample.
  • Skipping collinearity diagnostics: after adding the product term, VIF values above commonly used rules of thumb (10 is frequently cited, and some fields use 5) signal collinearity that should be addressed, with mean-centring as the first remedy, before coefficients are interpreted.
  • Probing the interaction only at -1SD, the mean, and +1SD without a Johnson-Neyman region, which can hide where the effect actually becomes significant.

Frequently asked questions

Why should I mean-centre X and W before building the interaction?

The product X×W is strongly correlated with its components when the variables are on raw scales, which inflates the variance inflation factor (VIF) and destabilises the coefficients. Mean-centring X and W reduces this collinearity and keeps the lower-order coefficients interpretable at the variables' means.

What does the Johnson-Neyman technique add?

Instead of checking the effect of X only at a few moderator values (-1SD, mean, +1SD), the Johnson-Neyman technique identifies the range of the moderator over which the effect of X is statistically significant, giving a continuous picture of the conditional relationship.

How large a sample do I need?

Interaction tests have less power than main-effect tests of the same size, so the sample needed is considerably larger. A non-significant interaction in a small sample may reflect low power rather than a true absence of moderation. A power analysis for the smallest interaction effect of interest is the reliable way to plan the study.

How is moderation different from mediation?

Moderation asks whether an effect changes with a third variable (when or for whom it holds), tested via an interaction term. Mediation asks how an effect is transmitted through an intervening variable. When both are combined in one model, the analysis becomes conditional process analysis (moderated mediation).

Related methods

Sources

  1. Hayes, A. F. (2018). Introduction to Mediation, Moderation, and Conditional Process Analysis (2nd ed.). Guilford Press.

    ISBN: 978-1462534654
  2. Aiken, L. S. & West, S. G. (1991). Multiple Regression: Testing and Interpreting Interactions. Sage Publications.

    ISBN: 978-0761907121