- Introduced by
- Preacher, Rucker & Hayes
- Year
- 2007
- Type
- Conditional process model
- Family
- Multivariate analysis
What does it do?
Moderated mediation tests whether the indirect effect of an independent variable on an outcome — transmitted through a mediator — differs in strength depending on the level of a moderator variable.
It answers the question: for whom, or under what conditions, does the mediated pathway operate most strongly?
The intuition behind the method
Mediation tells you how X affects Y (through M). Moderation tells you for whom X affects Y (depending on W). Moderated mediation combines both: it asks whether the X-through-M pathway itself varies across levels of a moderator. If stress (X) affects burnout (Y) via rumination (M), moderated mediation would ask whether that rumination-driven mechanism is stronger for people low in resilience (W) than for those high in resilience. The conditional indirect effect changes in size — and possibly direction — as W changes.
History
Preacher, Rucker, and Hayes (2007) addressed conflicting definitions of moderated mediation, described how to estimate and test conditional indirect effects, recommended bootstrapping for inference, and provided an SPSS macro for implementation. Hayes's textbook (2nd edition, 2018) presents the regression-based approach and the PROCESS macro under the term conditional process analysis, which emphasizes that both the presence and the strength of an indirect effect can depend on moderator values.
When to use it
Use moderated mediation when theory specifies both a mechanism (how X affects Y through M) and a boundary condition (whether that mechanism depends on W). The sample must be large enough to estimate the interaction term with reasonable precision. Interactions generally need more statistical power than main effects, and small samples yield unstable conditional indirect effects. Measures should be valid and reliable, because measurement error attenuates both the mediated and the moderated paths. Do not use this regression-based model when the mediator is likely to be correlated with unmeasured variables that also affect Y, since the a- and b-path estimates then cannot be read causally; that situation calls for a design that manipulates or temporally separates the variables. Avoid the method when the mediation pathway has not been established in prior work, because exploratory moderation of an uncertain mechanism is speculative. If the main concern is measurement error in latent constructs, a latent-variable SEM approach is the more suitable alternative.
Limitations and considerations
- Interactions in regression require substantially larger samples than main effects, and underpowered studies produce unstable conditional indirect effect estimates.
- The method uses observed (error-laden) variables; measurement error in the mediator or moderator attenuates the interaction term and biases the conditional indirect effect.
- The model in mechanics is linear in X, M and W. Non-linear moderation of the indirect effect requires different specifications, which are less commonly applied.
- Causal interpretation requires that X precede M, M precede Y, and the model be correctly specified. These assumptions cannot be verified from observational cross-sectional data alone.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Integrates mechanism and boundary-condition hypotheses in a single model rather than running separate mediation and moderation analyses.
- The bootstrap confidence interval for the conditional indirect effect does not require the product term to be normally distributed. Its justification is asymptotic, however, and in small samples the interval can be unstable, so the approach is most reliable with adequate sample size.
- Hayes's PROCESS macro implements the full range of moderated mediation templates in SPSS and R, making the method accessible without bespoke programming.
- Provides an index of moderated mediation that formally tests whether the indirect effect changes across the range of the moderator.
- Conditional indirect effects can be probed at chosen moderator values, or across regions of the moderator, using simple-slopes-type extensions and Johnson-Neyman-type procedures described by Preacher et al. (2007).
Applications
- Organizational psychology — testing whether the relationship between leadership style and employee well-being via engagement is stronger for employees with low role clarity.
- Health psychology — examining whether the effect of an intervention on health behavior through self-efficacy depends on baseline motivation.
- Social psychology — investigating whether the effect of social exclusion on aggression through rumination is moderated by trait self-control.
- Marketing — determining whether the path from ad exposure to purchase intent through brand attitude is contingent on product involvement.
- Education research — exploring whether a pedagogical intervention affects outcomes through intrinsic motivation differently for high versus low prior achievers.
How it works
How it works
The first-stage equation models the mediator M as a function of the predictor X, the moderator W, and their interaction XW, plus a residual. A significant interaction coefficient a3 indicates that the path from X to M changes with W. This is first-stage moderation of the mediation.
Formula
M = a_1 X + a_2 W + a_3 XW + e_M
The second-stage equation models the outcome Y as a function of the mediator M and the predictor X. If W moderates the b-path instead of (or in addition to) the a-path, an M-by-W interaction term is added here. The direct effect of X on Y, denoted c-prime, is controlled for the mediator.
Formula
Y = b_1 M + c' X + e_Y
The conditional indirect effect at a given value of W is the product of the a-path at that value of W and the b-path. In the first-stage moderated model, where W moderates only the X-to-M path through the interaction term a3, this gives theta(W) = (a1 + a3W)b1, so the indirect effect varies continuously with W. This closed form applies to first-stage moderation only. When W also enters the second-stage equation through an M-by-W term, the conditional indirect effect does not follow this expression and is obtained from the fitted equations at the chosen values of W. Researchers typically report the conditional indirect effect at the mean, one SD below, and one SD above the mean of W.
Formula
\theta(W) = (a_1 + a_3 W)\,b_1
Large-sample standard errors for the conditional indirect effect are available and can support hypothesis tests and confidence intervals when the sample is large (Preacher et al., 2007). However, because the conditional indirect effect is a product of regression coefficients, its sampling distribution is often asymmetric and non-normal, so normal-theory intervals may be inaccurate. Preacher et al. (2007) therefore advocate bootstrapping whenever possible. A percentile bootstrap confidence interval is constructed from several thousand resampled data sets. If the interval excludes zero at a given value of W, the indirect effect is statistically significant at that level of the moderator. In the first-stage model, the index of moderated mediation (the coefficient on W in the expression for theta(W)) can also be tested with a bootstrap interval to formally confirm that the indirect effect changes with W.
Formula
\frac{d\,\theta(W)}{dW} = a_3\,b_1Common pitfalls
- Mean-centering the predictor and moderator before computing the interaction is important for interpreting lower-order coefficients and for reducing multicollinearity, though it does not change the conditional indirect effect at a given value of W.
- Probing the interaction only at the mean plus or minus one SD is a convention, not a statistical requirement. For skewed or bounded moderators, region-of-significance values from Johnson-Neyman-type procedures, as described by Preacher et al. (2007), are often more informative.
- A significant a3 interaction (a moderated a-path) is not by itself evidence of moderated mediation. The conditional indirect effect must be probed with a bootstrap interval, and the index of moderated mediation tested.
- Running a simple mediation model first and a separate moderation model second, then combining their p-values, is not equivalent to a properly specified moderated mediation model.
- Reporting conditional indirect effects only at a few values of W, without testing the index of moderated mediation, leaves unclear whether the indirect effect truly varies across the moderator's range.
Frequently asked questions
What distinguishes moderated mediation from mediated moderation?
In moderated mediation the primary research question concerns the indirect effect: does the X-to-Y mechanism via M depend on W? In mediated moderation the primary question concerns the interaction: does a previously established X-by-W interaction on Y operate through M? Both can be estimated from the same model, and the conditional indirect effect is the quantity that directly answers the moderated mediation question.
Do I need to center my variables before running the model?
Mean-centering X and W before computing their product term is strongly recommended. It makes the lower-order coefficients (a1, a2, c-prime) interpretable as effects at the mean of the other variable, and it reduces the numerical collinearity between the interaction term and its components. The conditional indirect effect at a given value of W is unaffected by centering.
How many bootstrap samples should I use?
Bootstrap interval bounds become more stable as the number of resamples increases, and results can vary noticeably between runs when only a few resamples are used. Several thousand resamples are common practice. Whatever number is used should be reported, together with the confidence level.
Can moderated mediation be estimated with latent variables?
Yes. Latent-variable approaches to moderation, such as latent moderated structural equations or product-indicator methods, estimate the model with latent constructs and so account for measurement error. These require specialized SEM software and are more complex to specify, but they are preferred when scale reliabilities are modest.
What is the index of moderated mediation?
It is the rate of change of the conditional indirect effect with respect to W. In the simple first-stage model, this equals a3 times b1, the coefficient on W in the expression for theta(W). A bootstrap confidence interval for this index that excludes zero is formal evidence that the indirect effect changes as a function of W, which is the defining feature of moderated mediation.
Related methods
Sources
Hayes, A. F. (2018). Introduction to Mediation, Moderation, and Conditional Process Analysis: A Regression-Based Approach (2nd ed.). Guilford Press.
ISBN: 978-1462534654Preacher, K. J., Rucker, D. D., & Hayes, A. F. (2007). Addressing moderated mediation hypotheses: Theory, methods, and prescriptions. Multivariate Behavioral Research, 42(1), 185–227.
Open DOI reference