Mediation analysis: testing indirect effects the modern way

Does leadership affect performance *through* engagement? Mediation analysis answers "how" questions, and reviewers now expect bootstrapped indirect effects, not the old Baron and Kenny steps.

2 min readReviewed 2026-11-25PROCESS · SmartPLS · lavaan
R

Made for: Researcher preparing a journal article

Reviewer 2 rejected your measurement model. Again.

Sound familiar?

  • HTMT, AVE, Fornell-Larcker: which ones does the journal actually want?
  • Reviewers flag common method bias and you don't know how to answer
  • Your SmartPLS output is 40 tables, and the paper allows four
  • You need ABDC, ABS or Scopus-indexed outlets that fit your study

We build a publication-grade measurement and structural model, and help you answer reviewers point by point.

The model

X → M → Y: X affects the mediator M (path a), M affects Y (path b), and X may also affect Y directly (path c′).

  • Indirect effect = a × b
  • Total effect c = c′ + a × b

Why not Baron & Kenny?

The classic four steps (Baron & Kenny, 1986) require a significant total effect first and test paths separately. Methodologists (Zhao, Lynch & Chen, 2010; Hayes, 2018) showed this misses real mediation and has low power. The modern approach tests the indirect effect a × b directly with bootstrapped confidence intervals: if the 95% CI excludes zero, mediation is supported.

Types of mediation (Zhao et al., 2010)

Indirect a×b Direct c′ Type
Significant Not significant Indirect-only (full) mediation
Significant Significant, same sign Complementary (partial) mediation
Significant Significant, opposite sign Competitive mediation
Not significant Significant Direct-only (no mediation)
Not significant Not significant No effect

Step by step

PROCESS macro (SPSS, SAS, R) by Hayes: Model 4 is simple mediation.

Analyze → Regression → PROCESS (after installing the macro). Y = outcome, X = predictor, M = mediator, Model number = 4, bootstrap samples = 5,000. Read the "Indirect effect(s) of X on Y" table: if BootLLCI and BootULCI are both above or both below zero, the indirect effect is significant.

SmartPLS: run bootstrapping (5,000+ subsamples) and read Specific indirect effects; check the 95% CI.

lavaan (R):

model <- '
  M ~ a*X
  Y ~ b*M + cp*X
  indirect := a*b
  total    := cp + a*b
'
fit <- sem(model, data = df, se = "bootstrap", bootstrap = 5000)
parameterEstimates(fit, boot.ci.type = "perc")

Multiple mediators

  • Parallel mediation (PROCESS Model 4 with several M): X → M1 → Y and X → M2 → Y simultaneously; compare specific indirect effects.
  • Serial mediation (PROCESS Model 6): X → M1 → M2 → Y.

How to report it

Example: Engagement mediated the effect of transformational leadership on performance. The indirect effect was significant (β = 0.18, 95% bootstrap CI [0.10, 0.27], 5,000 resamples). The direct effect remained significant (β = 0.21, p < .01), indicating complementary (partial) mediation.

Common mistakes

  • Using the Sobel test as the main test (it assumes a normal sampling distribution of a×b).
  • Claiming causal mediation from cross-sectional data without caution.
  • Calling it "full mediation" with small samples where c′ is simply under-powered.
  • Not reporting the confidence interval.

Frequently asked questions

Do I need a significant total effect to test mediation?

No. Indirect effects can exist without a significant total effect (e.g. competitive mediation).

Moderated mediation?

When the indirect effect depends on a moderator, use PROCESS Models 7, 8, 14 or 58, and report the index of moderated mediation. See Moderation analysis.