Unit 12 · Moderation and mediation
How to run a moderation analysis in SPSS with PROCESS
Test moderation with Hayes PROCESS Model 1 in SPSS: install PROCESS, read the interaction term and conditional effects, and report it.
Quick answer: How do you run a moderation analysis in SPSS with PROCESS?
- Install the free PROCESS macro from processmacro.org.
- Click Analyze › Regression › PROCESS, then enter Y, X and the moderator W.
- Choose Model number 1, set 5000 bootstrap samples and mean-centre the product terms under Options.
- Read the interaction term (Int_1) and the conditional effects.
Report it in APA style: Social support moderated the effect of stress on wellbeing, b = 0.11, 95% CI [0.03, 0.19], p = .007.
What is moderation?
Moderation happens when the strength or direction of a relationship between X and Y depends on a third variable, the moderator (W). It answers questions about when or for whom an effect occurs, such as whether social support buffers the effect of stress on wellbeing.
When to use it
- You expect an effect to be stronger, weaker or reversed for some people.
- Testing buffering or amplifying factors.
How it works
Moderation is tested with an interaction term: X × W added to a regression with X and W. If the interaction is significant, the effect of X changes across values of W. PROCESS Model 1 does this automatically, mean-centres the variables if you ask it to, and gives conditional effects (simple slopes): the effect of X at low (−1 SD), average and high (+1 SD) values of the moderator.
Assumptions
- The same assumptions as multiple regression.
- Mean-centring X and W makes the lower-order coefficients easier to interpret.
Worked example
Social support moderated the effect of stress on wellbeing, b = 0.11, 95% CI [0.03, 0.19], p = .007. Stress was linked to much lower wellbeing when support was low (b = −0.95) than when it was high (b = −0.29).
Key terms
- Moderator
- A variable that changes the X → Y relationship.
- Interaction term
- The product of X and W.
- Simple slopes
- The X → Y effect at specific values of W.
- Mean-centring
- Subtracting the mean so zero represents an average score.
Common mistakes
- Confusing moderation with mediation.
- Interpreting the main effects of X and W as if there were no interaction.
- Not probing a significant interaction with simple slopes or a plot.
How to do it in SPSS
The SPSS syntax
Prefer typing to clicking? Open File › New › Syntax, paste this in, select it and choose Run › Selection. Every dialog's Paste button writes the same kind of code.
* Run process.sps (from processmacro.org) once per session first, then:
process y=wellbeing/x=stress/w=support/model=1/center=1/boot=5000.Practice data
Download the file used in this lesson and run it yourself in SPSS. Your results will closely match the screens above, though a few numbers may differ slightly.
- stress_support.savStress, social support and wellbeing (N = 200)
Now practise it interactively →
Reading is only half of it. Tap through the real SPSS menus, read the output and pick the right write-up in 7 quick questions, with instant feedback on every answer.
Practice for this lesson is part of Pro, with every unit, unlimited hearts and saved progress.