How to run Mediation analysis in SPSS (Traditional method of Barron and Kenny & Process Macro)
Based on Research and Analysis's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
Mediation tests whether an independent variable affects a dependent outcome through an intermediate variable (X → M → Y).
Briefing
Mediation analysis in SPSS is used to test whether an independent variable affects a dependent outcome through an intermediate mechanism—rather than only through a direct link. In this walkthrough, transformational leadership is treated as the independent variable, psychological well-being as the dependent variable, and job satisfaction as the mediator. The core takeaway is that job satisfaction carries part of the effect of transformational leadership onto psychological well-being, meaning the relationship is best described as partial mediation.
The session starts by laying out the mediation logic associated with Baron and Kenny: the independent variable (X) must predict the dependent variable (Y), X must also predict the mediator (M), and M must predict Y when X is included. A final check distinguishes full from partial mediation. In the “ideal” full-mediation case, once the mediator is controlled, the X → Y path becomes non-significant. If the X → Y path remains significant but shrinks, the mediator is functioning as partial mediation. The transcript also frames mediation as a way to probe underlying mechanisms—how X influences Y through M—rather than just reporting association.
To implement the traditional method in SPSS, the workflow begins with creating scale averages: transformational leadership (TL) is computed from its items, job satisfaction (JS) is averaged across its items, and psychological well-being (PWB) is averaged across eight items. With these composite variables ready, the analysis proceeds via linear regression in three stages. First, PWB is regressed on TL to confirm that TL significantly predicts PWB (meeting the first condition). Second, JS is regressed on TL to confirm that TL significantly predicts the mediator (meeting the second condition). Third, PWB is regressed on JS to confirm that JS significantly predicts PWB (meeting the third condition).
The final traditional step tests mediation by regressing PWB on both JS and TL, entering JS first and TL second to control for the mediator’s influence. TL remains significant after controlling for JS, which rules out full mediation. The transcript highlights the change in the TL coefficient: it drops from about 0.628 to about 0.541 after including the mediator, indicating partial mediation.
The walkthrough then repeats the mediation test using PROCESS Macro in SPSS, emphasizing a model-based approach. After installing PROCESS, the analysis selects model 4 for mediation, sets TL as X, PWB as Y, and JS as the mediator. Bootstrap resampling is used (5,000 resamples), and significance is assessed using confidence intervals: mediation is supported when the indirect effect’s confidence interval does not include zero. The output reports coefficients for the X → M path (TL to JS), the M → Y path (JS to PWB), and the direct and indirect effects. The direct effect decreases after accounting for the mediator (reported around 0.548), while the indirect effect is significant because its confidence interval excludes zero. The conclusion aligns with the traditional method: job satisfaction partially mediates the relationship between transformational leadership and psychological well-being.
Cornell Notes
Mediation analysis tests whether an independent variable (X) influences a dependent outcome (Y) through a mediator (M). Here, transformational leadership (TL) is X, job satisfaction (JS) is M, and psychological well-being (PWB) is Y. The traditional Baron and Kenny approach checks three regression conditions (X→Y, X→M, and M→Y) and then tests whether X→Y remains significant after controlling for M; significance after control indicates partial mediation. PROCESS Macro (model 4) provides a direct test of the indirect effect using bootstrapped confidence intervals (5,000 resamples). Because the indirect effect’s confidence interval excludes zero, the mediator’s role is statistically significant, supporting partial mediation.
What does mediation mean in practical terms, and how is it different from a simple direct-effect model?
What are the three Baron and Kenny-style conditions used before concluding mediation?
How does the transcript distinguish full mediation from partial mediation?
How does PROCESS Macro (model 4) operationalize mediation testing in SPSS?
Why do confidence intervals matter for the indirect effect in PROCESS output?
What does the example conclude about the mediation role of job satisfaction?
Review Questions
- In the traditional Baron and Kenny approach, what specific regression result indicates partial mediation rather than full mediation?
- When using PROCESS Macro model 4, what does it mean if the indirect effect confidence interval includes zero?
- How would you interpret a decrease in the direct effect (X→Y) after adding the mediator to the model?
Key Points
- 1
Mediation tests whether an independent variable affects a dependent outcome through an intermediate variable (X → M → Y).
- 2
Baron and Kenny-style mediation requires X→Y, X→M, and M→Y to be significant before testing the mediator’s role.
- 3
Full mediation is suggested when X→Y becomes non-significant after controlling for the mediator; partial mediation occurs when X→Y remains significant but weakens.
- 4
In SPSS traditional mediation, compute scale averages for TL, JS, and PWB before running linear regressions.
- 5
PROCESS Macro in SPSS uses model 4 for mediation and bootstrapped confidence intervals to test the indirect effect.
- 6
A mediator’s effect is supported in PROCESS when the indirect effect confidence interval does not include zero.
- 7
In the example, job satisfaction partially mediates the relationship between transformational leadership and psychological well-being.