Get AI summaries of any video or article — Sign up free
How to run Mediation analysis in SPSS (Traditional method of Barron and Kenny & Process Macro) thumbnail

How to run Mediation analysis in SPSS (Traditional method of Barron and Kenny & Process Macro)

Research and Analysis·
5 min read

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.

TL;DR

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?

Mediation targets the mechanism linking X to Y. Instead of only asking whether transformational leadership predicts psychological well-being, mediation asks whether transformational leadership first changes job satisfaction, and whether that job satisfaction then predicts psychological well-being. The mediator (job satisfaction) clarifies how the relationship between X and Y operates, forming a chain: X → M → Y.

What are the three Baron and Kenny-style conditions used before concluding mediation?

The conditions are tested with linear regression: (1) X must significantly predict Y (TL → PWB is significant). (2) X must significantly predict the mediator M (TL → JS is significant). (3) M must significantly predict Y (JS → PWB is significant, typically in a regression including the relevant structure). After these are met, the analysis tests whether the X → Y effect changes when M is included.

How does the transcript distinguish full mediation from partial mediation?

After including the mediator in the regression predicting Y, the ideal full-mediation case requires the X → Y path to become non-significant. In the example, TL remains significant after controlling for JS, and the TL coefficient decreases (about 0.628 to about 0.541). That pattern indicates partial mediation: the mediator explains part, but not all, of the X → Y relationship.

How does PROCESS Macro (model 4) operationalize mediation testing in SPSS?

PROCESS Macro requires selecting model 4 for mediation. TL is entered as X, PWB as Y, and JS as the mediator. The output includes the X→M path, the M→Y path, and estimates of total, direct, and indirect effects. Bootstrapping (5,000 resamples) is used to generate confidence intervals for the indirect effect.

Why do confidence intervals matter for the indirect effect in PROCESS output?

Significance is assessed by whether the indirect effect’s confidence interval includes zero. The transcript’s rule is: if both the lower and upper bounds are on the same side of zero (both positive or both negative), zero is not included and the indirect effect is significant. If the interval crosses zero (one bound positive and the other negative), mediation is not supported.

What does the example conclude about the mediation role of job satisfaction?

Both methods converge on partial mediation. Traditional regression shows TL’s effect on PWB remains significant after controlling for JS, with a reduced coefficient. PROCESS output shows a significant indirect effect (confidence interval excludes zero) and a reduced direct effect (reported around 0.548), indicating job satisfaction carries a meaningful portion of TL’s influence on PWB.

Review Questions

  1. In the traditional Baron and Kenny approach, what specific regression result indicates partial mediation rather than full mediation?
  2. When using PROCESS Macro model 4, what does it mean if the indirect effect confidence interval includes zero?
  3. How would you interpret a decrease in the direct effect (X→Y) after adding the mediator to the model?

Key Points

  1. 1

    Mediation tests whether an independent variable affects a dependent outcome through an intermediate variable (X → M → Y).

  2. 2

    Baron and Kenny-style mediation requires X→Y, X→M, and M→Y to be significant before testing the mediator’s role.

  3. 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. 4

    In SPSS traditional mediation, compute scale averages for TL, JS, and PWB before running linear regressions.

  5. 5

    PROCESS Macro in SPSS uses model 4 for mediation and bootstrapped confidence intervals to test the indirect effect.

  6. 6

    A mediator’s effect is supported in PROCESS when the indirect effect confidence interval does not include zero.

  7. 7

    In the example, job satisfaction partially mediates the relationship between transformational leadership and psychological well-being.

Highlights

Job satisfaction functions as a mediator: transformational leadership influences job satisfaction, which in turn predicts psychological well-being.
Traditional regression shows partial mediation because TL stays significant after controlling for job satisfaction, with a reduced coefficient (about 0.628 to 0.541).
PROCESS Macro (model 4) confirms mediation using bootstrapping: the indirect effect is significant when its confidence interval excludes zero.
The direct effect drops after accounting for the mediator (reported around 0.548), while the indirect effect carries the mediated pathway.

Topics