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 00.

  • 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 \rightarrow DV with regression coefficient cc .

  • Mediated model (Figure 10.11):- Path aa: IV \rightarrow Mediator

    • Path bb: Mediator \rightarrow DV (controlling for IV)

    • Path cc' (c-prime): IV \rightarrow DV (controlling for Mediator)

    • Indirect effect: abab

    • Direct effect: cc'

    • Total effect: c=c+abc = c' + ab

When to Use Mediation Analysis

  • Theorize that a small direct effect (cc') exists after accounting for a large indirect effect (abab).

  • Empirical or theoretical literature supports:- IV \rightarrow DV linkage

    • IV \rightarrow Mediator linkage

    • Mediator \rightarrow 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 \rightarrow 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

  1. Step 1 (path cc): Regress DV on IV — test if total effect is significant.

  2. Step 2 (path aa): Regress Mediator on IV — test significance.

  3. Step 3 (path bb): Regress DV on Mediator and IV — inspect mediator coefficient.

  4. Step 4 (path cc'): Same regression as Step 3 — inspect IV coefficient.- Total mediation: Steps 1–3 significant and c=0c' = 0 .

    • Partial mediation: Steps 1–3 significant and \left|c'\right| < \left|c\right| but c0c' \neq 0 .

Obtaining the Coefficients

  • Regression 1 (DV ~ IV) c\Rightarrow c .

  • Regression 2 (Mediator ~ IV) a\Rightarrow a .

  • Regression 3 (DV ~ IV + Mediator) c\Rightarrow c' (for IV) and bb (for Mediator).

Quantifying the Indirect Effect

  • Point estimate: abab (unstandardized) or ab×SD<em>IVSD</em>DV\frac{ab\times SD<em>{IV}}{SD</em>{DV}} (fully standardized).

  • Significance decision: examine CI for abab.- CI excludes 00 \Rightarrow mediation present.

  • Effect-size variants:- Partially standardized indirect effect.

    • Completely standardized indirect effect.

    • κ2\kappa^2 (Preacher & Kelley, 2011).

    • Rmed2R^2_{\text{med}} (variance accounted for uniquely by indirect path).

Testing ab=0ab = 0 (Modern Approaches)

  1. Separate tests of aa and bb- Easy; lacks CI for abab; resembles old four-step method.

  2. Sobel test- Compute s<em>ab=a2s</em>b2+b2s<em>a2s<em>_{ab}=\sqrt{a^{2}s</em>b^{2}+b^{2}s<em>a^{2}} (with s</em>a,sbs</em>a,s_b the SEs of a,ba,b).

    • Z=absabZ = \dfrac{ab}{s_{ab}}; compare Z\left|Z\right| to 1.961.96 (two-tailed α=.05\alpha=.05).

    • Assumes normality of abab; low power.

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

  4. Monte-Carlo simulation (generate sampling distribution from parameter estimates and SEs).

Example: Pornography Consumption \rightarrow Infidelity Mediated by Relationship Commitment (Lambert et al., 2012)

  • Variables:- X (IV): ln\ln-transformed pornography consumption (LnConsum).

    • M (Mediator): Relationship commitment.

    • Y (DV): Infidelity (Infideli).

  • Sample: N=239N=239 .

Path Estimates

  • Path aa (X → M)- b=0.47b=-0.47, SE=.213SE=.213, t=2.21t=-2.21, p=.028p=.028 .

  • Path bb (M → Y controlling X)- b=0.27b=-0.27, SE=.059SE=.059, t=4.61t=-4.61, p<.001 .

  • Path cc' (direct X → Y)- b=0.46b=0.46, SE=.195SE=.195, t=2.35t=2.35, p=.020p=.020 .

  • Total effect cc (from separate regression)- b=0.585b=0.585, SE=.201SE=.201, t=2.91t=2.91, p=.004p=.004 .

Indirect-Effect Output (PROCESS Model 4)

  • Point estimate: ab=0.1273ab = 0.1273 .

  • Bootstrapped (5000) BCa 95% CI: [0.0232,0.3350][0.0232, 0.3350] (does not include 00).

  • Partially standardized effect: 0.18180.1818, CI [0.0325,0.4684][0.0325, 0.4684] .

  • Completely standardized effect: 0.04050.0405, CI [0.0073,0.1032][0.0073, 0.1032] .

  • Effect-size ratios:- abc=0.218\frac{ab}{c} = 0.218 (\approx 22 % of total effect via mediator).

    • abc=0.278\frac{ab}{c'} = 0.278 .

  • ***Rmed2=0.0138R^2_{\text{med}} = 0.0138 (CI \approx 0.002–0.048).

  • ***κ2=0.041\kappa^2 = 0.041 (CI \approx 0.008–0.104) — considered small.

  • Sobel test: Z=1.953Z = 1.953, p=.051p = .051 (marginal), yet bootstrapped CI is significant \Rightarrow 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, b=0.13b = 0.13, BCa 95% CI [0.02,0.34][0.02, 0.34], representing a small effect (κ2=.04\kappa^2 = .04, 95% CI [.01,.10][.01, .10]).”

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: c=c+abc = c' + ab

  • Indirect effect (unstandardized): abab

  • SE of Sobel: s<em>ab=a2s</em>b2+b2sa2s<em>_{ab}=\sqrt{a^{2}s</em>b^{2}+b^{2}s*a^{2}}

  • Z<em>Sobel=abs</em>abZ<em>{Sobel}=\dfrac{ab}{s</em>{ab}}

  • Fully standardized indirect: abSD<em>IVSD</em>DV\dfrac{ab\, SD<em>{IV}}{SD</em>{DV}}

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.