Skip to content
How-to

Mediation in SPSS

To test mediation in SPSS you usually install the PROCESS macro, pick the right model number, and turn on bootstrapping for the indirect effect — a few fiddly steps. Explonia runs the same bootstrapped indirect effect with a confidence interval directly in the browser. Remember: with cross-sectional data, mediation is not evidence of causation.

mediation in spss

How mediation is actually done in SPSS

Base SPSS has no dedicated mediation command, so most people use the PROCESS macro (by Andrew F. Hayes). The typical steps:

  1. Download PROCESS and install it as a custom dialog or load the syntax file.
  2. Choose the right model number (Model 4 for simple mediation) and assign your X, M and Y variables.
  3. Turn on bootstrapping (commonly 5,000 samples) to get a confidence interval for the indirect effect — the recommended test, rather than the older Baron-Kenny causal-steps logic or the Sobel test.
  4. Read the indirect effect and its bootstrap confidence interval: if the interval excludes zero, the indirect effect is significant.

Why it is fiddly

You have to install and maintain an external macro, match your hypothesis to the correct model number, and remember to switch on bootstrapping with enough samples and the interval type you want. It works well once set up, but the setup is the part that trips people up — and the output is separate from where the data was collected and cleaned.

A bigger caution is interpretation: a significant indirect effect from cross-sectional data does not establish a causal chain. Estimating mediation from a single time point can produce badly biased estimates of the longitudinal process you actually care about (Maxwell & Cole, 2007). Report it as an association and be careful with causal language unless your design supports it.

How Explonia does it

Explonia runs mediation with bootstrapped indirect effects and confidence intervals built in — no macro to install and no model-number lookup. You select X, M and Y, run it, and read the indirect effect with its bootstrap CI. The survey, data and analysis are in one place, and the “Article description” drafts a first APA paragraph from your own estimates. See the APA reporting guide for mediation. Bootstrap intervals are stochastic, so the exact bounds vary slightly between runs.

Frequently asked questions

Do I need the PROCESS macro to do mediation in SPSS?

In practice, yes — base SPSS has no dedicated mediation procedure, so most researchers install the PROCESS macro and use Model 4 with bootstrapping. Explonia runs bootstrapped indirect effects without any add-on.

Does a significant indirect effect prove causation?

No. With cross-sectional data, a significant indirect effect is an association consistent with mediation, not proof of a causal chain. Estimating mediation from a single time point can bias the longitudinal effect you care about (Maxwell & Cole, 2007). Use causal language only when your design supports it.

How many bootstrap samples should I use?

5,000 is the common default for the indirect effect's confidence interval. Report the number of samples and the interval type (for example, percentile or bias-corrected), and note that bootstrap bounds vary slightly between runs because they depend on the random resamples.

How to cite this page

If this page helped your research, you can cite it (APA 7):

Szymkowiak, A. (2026). How to Do Mediation in SPSS (PROCESS). Explonia. https://explonia.com/migrate/mediation-in-spss/

Last updated: July 2026

Run your whole study in one place

Build it, collect it, and get publication-grade analysis with a draft APA paragraph you can edit. Free to start. No credit card.

Start free