Testing and correctly reporting mediation in SPSS

Testing and reporting mediation correctly in SPSS

Mediation is intended to show how or through what mechanism an effect occurs. This is precisely where the challenge lies: anyone who wants to test mediation in SPSS needs more than three regression analyses and individual p-values. What matters are a plausible causal model, clearly defined variables, and the correct assessment of the indirect effect. Otherwise, it is easy to produce an analysis that is formally correct but substantively untenable.

What mediation actually tests

In a classic mediation model, an independent variable X influences a dependent variable Y through a mediator M. For example, it is conceivable that workload (X) increases psychological exhaustion (Y) because it worsens sleep quality (M). Sleep quality would then be the assumed mediating mechanism.

Statistically, this model is broken down into several paths. The a-path describes the relationship between X and M. The b-path describes the relationship between M and Y while statistically controlling for X. The product of a and b is the indirect effect. There is also the direct effect c', i.e., the remaining relationship between X and Y after accounting for the mediator. The total effect c describes the relationship between X and Y without the mediator in the model.

Mediation is therefore not a statement about whether X and Y simply correlate. It tests a specific process assumption. The theoretical justification must therefore precede the SPSS analysis: Why should X precede M both temporally and theoretically? Why should M, in turn, influence Y? Statistics can support this causal model, but it cannot create causality from an unsuitable study.

Testing mediation in SPSS with PROCESS

SPSS does not offer a complete mediation dialog in the standard menu. In practice, the PROCESS macro by Andrew F. Hayes is therefore frequently used. For simple mediation, select Model 4. After installation, PROCESS appears as an extension in the regression menu.

In the dialog, set the independent variable as X, the mediator as M, and the outcome variable as Y. You can add covariates if they are theoretically justified and precede X or the assumed causal process. Age or gender, for example, may be appropriate. However, including variables solely because they are significantly related to other variables is not a convincing selection strategy.

For the indirect effect, you should request a bootstrap confidence interval, usually with 5,000 resamples and a 95-percent confidence interval. Bootstrapping means that new samples are drawn from your data with replacement very frequently. This provides an empirical estimate of how uncertain the indirect effect is. This method is generally preferable to the previously widely used Sobel test because the product of two regression coefficients is often not normally distributed.

In simple mediation, you do not have to insist that every individual path is significant. The central question is: Does the bootstrap confidence interval of the indirect effect contain zero? If both the lower and upper limits are above or below zero, this indicates a statistically detectable indirect effect.

Check the data before the model

PROCESS does not replace data checking. Before analysis, check whether higher values on your scales actually reflect the same substantive direction. A incorrectly recoded scale can completely reverse the interpretation. Also check missing values, outliers, plausible value ranges, and the reliability of multi-item scales.

In linear mediation models, the relationships should be approximately linear. Highly influential individual cases, substantial heteroskedasticity, or implausible residuals can distort the regression results. The normal distribution of the indirect effect is less critical with bootstrapping than with classic tests, but the assumptions of the individual regression models remain relevant.

Categorical variables require special attention. A dichotomous X variable, such as treatment group versus control group, can often be used well if it is meaningfully coded. With multicategorical predictors, nominal mediators, or dichotomous outcomes, the procedure becomes more complex. In such cases, a standard model with linear regression is often not sufficient. The interpretation of indirect effects in logistic models also requires methodological care.

How to interpret the SPSS output

The PROCESS output may initially seem extensive, but for simple mediation, it contains three central result areas. First, you see the model with M as the dependent variable. Here you will find the a-path. Next comes the model with Y as the dependent variable. The coefficient of M is the b-path, and that of X is the direct effect c'. Finally, there is the table for the indirect effect.

Suppose workload predicts poorer sleep quality (a = -0.42), and better sleep quality is associated with lower exhaustion when controlling for workload (b = -0.55). The product of both negative paths is positive: Higher workload increases exhaustion through poorer sleep. If the 95-percent bootstrap confidence interval for this indirect effect ranges, for example, from 0.08 to 0.39, it does not contain zero. The indirect effect is statistically supported.

Whether a direct effect of X on Y also remains determines the designation of the mediation. If c' is still statistically significant, partial mediation is present: sleep quality explains part, but not all, of the relationship. If c' is not statistically significant, indirect-only mediation is often discussed. The term "full mediation" should be used cautiously, because a non-significant direct effect does not prove that no other mechanism exists.

Avoid the statement that the mediator "explains x percent of the effect" if you do not have a suitable metric and no methodological justification for it. Especially with cross-sectional data, such a formulation can sound more causal than the design allows. Formulate more precisely: "The results are consistent with the assumption of an indirect relationship through M."

Common mistakes with mediation models in SPSS

The most common mistake is to interpret mediation causally based solely on a cross-sectional dataset. If all variables were collected at the same time, the order of X, M, and Y is theoretically justified but not empirically proven. An inverted model can also sometimes fit the same data just as well. Longitudinal, experimental, or intervention data allow for significantly stronger statements.

The mechanical selection of mediators is also problematic. A mediator should not be just any variable that becomes significant between X and Y. It needs a plausible role in the theoretical model and should not be selected only after reviewing many analyses. Otherwise, the risk of chance findings increases.

Small sample sizes are equally critical. Bootstrapping improves the estimation of the confidence interval, but it does not create information that is not present in the data. With small samples, intervals become wide, effects unstable, and individual cases influential. Therefore, sample size planning before data collection is better than searching for a barely significant result afterward.

Finally, covariates should not be added without thought. A variable that is itself influenced by X can distort the effect when used as a control. For more complex causal structures, a causal diagram is worthwhile before analysis: Which variables are confounders, which are consequences of exposure, and which are potential collider variables?

Reporting results scientifically

A good results section states the model, the estimation method, and the central coefficients. In addition to the unstandardized regression coefficients, report the standard errors, p-values, or confidence intervals, as well as the model fit. For the indirect effect, the point estimate and the bootstrap confidence interval should be included in the text.

One possible formulation is: "A mediation analysis was conducted with 5,000 bootstrap samples. Workload predicted poorer sleep quality, B = -0.42, SE = 0.10, p < .001. Sleep quality predicted lower exhaustion when controlling for workload, B = -0.55, SE = 0.12, p < .001. The indirect effect of workload on exhaustion through sleep quality was positive, B = 0.23, 95%-bootstrap CI [0.08; 0.39]."

Adapt decimal places, formatting, and statistical notation to the requirements of your university, journal, or field. In a dissertation or publication, table values alone are rarely sufficient. Readers must be able to understand what theoretical statement the model tests and what limitations the data impose.

If variable coding, model selection, or result interpretation raises doubts, the analysis should be professionally checked before submission. Easy Statistik supports you individually with PhD statisticians - from the model decision and SPSS analysis to comprehensible reporting. Use the contact form for a discreet initial assessment and clarify your mediation model before an avoidable detail becomes a methodological risk.


Put knowledge into practice

From explanation
to your own analysis.

Would you like to know which method suits your project? We review your plans free of charge and give you a clear recommendation.

Your question deserves a personal answer.

Describe your project. We will assess free of charge what support would be right for you.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.