A mediator explains how or why one variable may affect another; a moderator identifies when, for whom, or under what conditions that relationship changes. Ask a mechanism question and you are usually looking for a mediator. Ask a boundary-condition question and you are usually looking for a moderator. In a simple diagram, a mediator sits on the pathway X → M → Y, while a moderator changes the size or direction of the X–Y relationship, usually through an interaction term. This guide is for students who need to choose, diagram, interpret, or write about these variables without treating statistical output as proof of causation.
🧭 Quick answer: Mediator = the process linking X to Y. Moderator = a condition that changes the X–Y relationship. Decide from the research question and time order before choosing software or a statistical test.
Both are “third variables,” but they do different conceptual jobs. David MacKinnon’s review describes mediation as a causal sequence in which X affects M and M affects Y, whereas moderation means the relationship between X and Y differs across levels of another variable. The statistical models follow from those ideas; they do not create them.
Memory shortcut: mediators carry an effect through a pathway; moderators change the relationship at different values or groups.
A variable is not permanently a mediator or moderator. Its role depends on the theory, timing, and question in a specific study. Sleep quality could mediate an intervention’s effect if the intervention first improves sleep and improved sleep then supports attention. The same measure could moderate an intervention if the treatment works differently for students who began with high versus low sleep quality.
Write the proposed sequence as a sentence: “X changes M, which then changes Y.” You need a defensible reason for that order. In stronger designs, X is assigned or measured before M, and M is measured before Y. A same-day, cross-sectional survey can estimate associations compatible with mediation, but it usually cannot establish the temporal pathway on its own.
Write the conditional claim: “The relationship between X and Y is stronger, weaker, positive, negative, or absent depending on W.” The signature statistical feature is an interaction between X and W. A significant main effect of W does not by itself show moderation; W must change the estimated X–Y relationship.
Use a one-page model map before opening SPSS, R, Stata, or another package. This prevents the common mistake of naming a variable from whichever coefficient happens to be significant. Record these five items:
A simple diagram is enough: X → M → Y for mediation, or X × W → Y for moderation. If the arrows feel hard to justify, the research question probably needs revision before the analysis begins.
Suppose a fictional education study compares a structured-feedback group with a standard-feedback group. Exam performance is scored from 0 to 100. The following values are hypothetical and are included only to show how interpretations differ.
The theory says structured feedback improves the quality of students’ practice, which then improves the exam score. Here X is feedback condition, M is practice quality, and Y is exam score. Imagine the estimated X → M path is 0.60 practice-quality units and the M → Y path, adjusted for X, is 4 exam points per unit. The estimated indirect effect is a × b = 0.60 × 4 = 2.4 exam points.
That product is evidence about an indirect association under the fitted model, not automatic proof that practice quality caused the gain. Design, measurement, confounding control, assumptions, and uncertainty all matter. A clear report would give the indirect-effect estimate and its confidence interval, then explain whether the temporal and causal assumptions are plausible.
Now the question changes: does structured feedback work differently depending on prior knowledge? X remains feedback condition, W is prior knowledge, and Y is exam score. Imagine the estimated benefit is 6 points for students at a lower reference value of prior knowledge and 2 points at a higher reference value. That pattern suggests the feedback relationship varies with prior knowledge.
The formal moderation test is the X × W interaction, not the visual difference alone. After estimating it, examine predicted values or simple slopes at meaningful values of W. “Low” and “high” should be defined transparently rather than invented after looking at a favorable graph.
In a simple linear mediation model, path a estimates X → M, path b estimates M → Y while accounting for X, and c′ is the direct X → Y path while accounting for M. The indirect effect is a × b; under a simple linear setup, the total effect is c′ + a × b. The University of California, Los Angeles statistical workshop notes that a regression model alone cannot reveal whether a relationship is causal; that judgment depends on how the data were collected and on the assumptions.
Because an indirect effect is a product, its sampling distribution is often not well approximated by a normal distribution. Many contemporary workflows therefore report a bootstrap confidence interval for the indirect effect. Do not decide that mediation exists merely because one coefficient shrinks after adding M, and do not rely only on a sequence of separate significance tests.
A basic linear moderation model includes X, W, and X × W. The interaction coefficient estimates how the slope of X changes with a one-unit change in W. If W is categorical, compare the estimated X effect across its groups. If W is continuous, probe predicted effects at meaningful observed values and show uncertainty. Centering may make main effects easier to interpret, but it does not create or remove the underlying interaction.
A confounder is a common cause of variables whose relationship you want to estimate. A mediator is downstream of X on the proposed path to Y. Adjusting for a true mediator can remove part of the very process you want to study; failing to address a confounder can distort the relationship. A moderator, by contrast, marks heterogeneity in that relationship.
The distinction cannot be settled by a correlation matrix. Draw the assumed causal structure, use subject knowledge, and ask what happened before what. Research by Trang Quynh Nguyen and colleagues emphasizes separating the effect you want to define, the assumptions needed to identify it, and the method used to estimate it. That order keeps a convenient regression from silently becoming an unjustified causal story.
Turn this checklist into retrieval practice rather than rereading it. In Snitchnotes, you can convert each decision point and worked-example role into a flashcard or practice question, then redraw both diagrams from memory before your methods exam.
“We tested whether M statistically mediated the relationship between X and Y. The estimated indirect effect was [estimate], with a [level]% confidence interval of [lower, upper]. The result was [consistent/not consistent] with the proposed indirect pathway. Because [design limitation], the analysis does not by itself establish causation.”
“We tested whether W moderated the relationship between X and Y by including an X × W interaction. The interaction estimate was [estimate], with a [level]% confidence interval of [lower, upper]. The estimated X–Y relationship was [describe] at [meaningful values or groups of W].”
Always name the variables in plain language after presenting symbols. Readers should not have to remember whether “M2” means motivation, memory, or a measurement occasion.
Yes, but not casually in the same sentence. A variable may explain part of a pathway in one model and change the size of a relationship in another. More complex models also combine mediation and moderation. Each role needs a clear research question, time order, diagram, and corresponding statistical term.
No. An indirect-effect estimate can be compatible with a causal pathway, but causal interpretation requires additional assumptions and an appropriate design. Unmeasured confounding, reverse timing, measurement error, and model misspecification can all undermine the claim. Describe the design and assumptions rather than letting the word “mediation” imply proof.
No. A moderator can be categorical, such as program type, or continuous, such as baseline knowledge. For a continuous moderator, interpret the interaction with predicted effects or simple slopes at meaningful observed values. Avoid splitting a continuous measure into arbitrary groups merely to make the graph easier.
Conceptually, moderation is the claim that a relationship changes across a condition or variable. In common regression models, an interaction term is how that claim is tested. The two ideas are closely linked, but the theory comes first: an interaction coefficient without a defensible conditional question is only a statistical pattern.
There is no universal order because the analyses answer different questions. Start with the study’s theory and primary aim. If you proposed a mechanism, test the indirect pathway. If you proposed different effects across contexts or people, test the interaction. When both were planned, diagram the combined model before estimating it.
The mediator-versus-moderator decision becomes straightforward when you translate the research question into a diagram. Choose a mediator for a proposed process—X → M → Y—and a moderator for a changing relationship—X × W → Y. Then check timing, assumptions, effect sizes, and uncertainty before interpreting the output. Build your model map first, analyze second, and write only the claim your design can support. If you use Snitchnotes, turn the two diagrams and the six-question checklist into practice prompts so the distinction becomes something you can retrieve, not just recognize.
Apuntes, quizzes, podcasts, flashcards y chat — con una sola subida.
Prueba tu primer apunte gratis