Mediation & Indirect-Effects Analysis
Definition & Core Concept
Mediation (a.k.a. indirect-effects analysis)
Situation in which the relationship between a predictor (independent variable; IV) and an outcome (dependent variable; DV) can be explained by their mutual association with a third variable (the mediator).
Conceptual hallmark: when the mediator is included in the model, the strength of the IV–DV link is reduced (sometimes to zero).
Evaluated statistically by estimating the indirect effect and inspecting its confidence interval (CI); mediation is inferred when the CI does not include .
Contrast with Moderation
Moderation asks: Does a variable change the strength or direction* of the IV–DV relationship?* (interaction / slope difference)
Mediation asks: Does the IV influence the DV through* another mechanism (the mediator)?* ‑ attempts to explain the relationship.
The Basic Statistical Model
Simple (total-effect) model: IV DV with regression coefficient .
Mediated model (Figure 10.11):- Path : IV Mediator
Path : Mediator DV (controlling for IV)
Path (c-prime): IV DV (controlling for Mediator)
Indirect effect:
Direct effect:
Total effect:
When to Use Mediation Analysis
Theorize that a small direct effect () exists after accounting for a large indirect effect ().
Empirical or theoretical literature supports:- IV DV linkage
IV Mediator linkage
Mediator DV linkage
Checklist (Field):- IV variations account for DV variations.
IV variations account for mediator variations.
Mediator variations account for DV variations.
Adding mediator reduces IV DV association.
Statistical Assumptions
Normality of residuals.
Linearity among variables.
Homoscedasticity (equal error variance across combinations of IV & mediator values).
Non-zero variance in predictors.
No extreme outliers.
DV must be continuous; IV continuous; mediator continuous or dichotomous.
Multicollinearity: expected because IV and mediator are correlated; may inflate SEs but unavoidable conceptually.
Four Paths & Four-Step (Baron & Kenny-style) Approach
Step 1 (path ): Regress DV on IV — test if total effect is significant.
Step 2 (path ): Regress Mediator on IV — test significance.
Step 3 (path ): Regress DV on Mediator and IV — inspect mediator coefficient.
Step 4 (path ): Same regression as Step 3 — inspect IV coefficient.- Total mediation: Steps 1–3 significant and .
Partial mediation: Steps 1–3 significant and \left|c'\right| < \left|c\right| but .
Obtaining the Coefficients
Regression 1 (DV ~ IV) .
Regression 2 (Mediator ~ IV) .
Regression 3 (DV ~ IV + Mediator) (for IV) and (for Mediator).
Quantifying the Indirect Effect
Point estimate: (unstandardized) or (fully standardized).
Significance decision: examine CI for .- CI excludes mediation present.
Effect-size variants:- Partially standardized indirect effect.
Completely standardized indirect effect.
(Preacher & Kelley, 2011).
(variance accounted for uniquely by indirect path).
Testing (Modern Approaches)
Separate tests of and - Easy; lacks CI for ; resembles old four-step method.
Sobel test- Compute (with the SEs of ).
; compare to (two-tailed ).
Assumes normality of ; low power.
Bootstrapping (preferred)- Non-parametric resampling with replacement (e.g. 000-10 000 draws; PROCESS default =5000).
Produces bias-corrected & accelerated (BCa) asymmetric CI.
No need for normality; higher power; implemented in PROCESS (Model 4 for simple mediation).
Monte-Carlo simulation (generate sampling distribution from parameter estimates and SEs).
Example: Pornography Consumption Infidelity Mediated by Relationship Commitment (Lambert et al., 2012)
Variables:- X (IV): -transformed pornography consumption (LnConsum).
M (Mediator): Relationship commitment.
Y (DV): Infidelity (Infideli).
Sample: .
Path Estimates
Path (X → M)- , , , .
Path (M → Y controlling X)- , , , p<.001 .
Path (direct X → Y)- , , , .
Total effect (from separate regression)- , , , .
Indirect-Effect Output (PROCESS Model 4)
Point estimate: .
Bootstrapped (5000) BCa 95% CI: (does not include ).
Partially standardized effect: , CI .
Completely standardized effect: , CI .
Effect-size ratios:- ( 22 % of total effect via mediator).
.
*** (CI 0.002–0.048).
*** (CI 0.008–0.104) — considered small.
Sobel test: , (marginal), yet bootstrapped CI is significant trust bootstrapping.
Interpretation
Evidence for partial mediation: direct path remains significant but attenuated (\left|0.46\right| < \left|0.585\right|).
Practical meaning: higher pornography use is related to lower commitment, which in turn predicts greater infidelity; about one-fifth of the total effect is routed through commitment.
Sample Reporting Sentence (Field-style)
“There was a significant indirect effect of pornography consumption on infidelity through relationship commitment, , BCa 95% CI , representing a small effect (, 95% CI ).”
Practical & Methodological Notes
Multicollinearity warning: High correlation between IV and mediator inflates SEs; interpretation focuses on paths rather than unique variance.
Software: SPSS PROCESS (Model 4), R (e.g., mediation or lavaan packages), Mplus, etc.
Sample size: Bootstrapping alleviates but does not eliminate the need for adequate N; very small samples can render CIs unstable.
Ethical/Philosophical: Mediation posits causal ordering; requires theoretical justification and (ideally) longitudinal or experimental design to bolster causal claims.
Quick Reference Equations
Total effect:
Indirect effect (unstandardized):
SE of Sobel:
Fully standardized indirect:
These notes cover conceptual distinctions, assumptions, analytic procedures, effect-size calculations, modern testing strategies, and a detailed worked example with full output interpretation—sufficient to replicate or critically appraise a mediation analysis from raw data to publication-ready prose.