Moderation
Purpose:
Moderation tests whether the relationship between X and Y changes depending on the level of a third variable — the moderator (W). It answers: does the effect of X on Y depend on W? This is also called an interaction effect. The moderator does not explain how X affects Y — it tells you under what conditions or for whom the effect is stronger, weaker, or reversed.
Context Used:
- ONE continuous or categorical IV (X)
- ONE continuous or categorical moderator (W)
- ONE continuous DV (Y)
- A theoretical reason to expect the effect of X on Y to differ across levels of W
Common psychology examples:
- Does social support (W) buffer the effect of stress (X) on depression (Y)?
- Is the association between parenting warmth (X) and child anxiety (Y) stronger for boys than girls (W)?
- Does the effect of therapy type (X) on symptom reduction (Y) differ by baseline severity (W)?
Assumptions:
Moderation is tested through regression, so the same regression assumptions apply:
- Linearity
- Independence of residuals
- Homoscedasticity
- No excessive multicollinearity: Some correlation between X and the interaction term (X × W) is expected — this is why mean-centering continuous variables before computing the interaction is recommended.
Jamovi Walkthrough:
Mean-Centering (recommended before running):
- Click "Data" → "Compute"
- Create: X_c = X − MEAN(X)
- Repeat for the moderator: W_c = W − MEAN(W)
Running the Moderation:
- Click "medmod" → "Moderation"
- Move the DV into the "Dependent Variable" box
- Move the IV (X_c) into the "Predictor" box
- Move the moderator (W_c) into the "Moderator" box
- Under "Estimates," check "Labels," "Test statistics," and "Confidence interval"
- Under "Simple Slopes," check "Simple slopes plot"
R Walkthrough:
library(interactions)
df$X_c <- scale(df$X, center = TRUE, scale = FALSE)
df$W_c <- scale(df$W, center = TRUE, scale = FALSE)
df$XW <- df$X_c * df$W_c
mod_model <- lm(Y ~ X_c + W_c + XW, data = df)
mcSummary(mod_model)
sim_slopes(mod_model, pred = X_c, modx = W_c, jnplot = FALSE)
Output Interpretation:
Interaction term (X × W):
- If p < .05 → moderation is significant; the effect of X on Y depends on W.
- If p > .05 → moderation is not significant; the relationship does not significantly change across levels of W.
Simple slopes: When the interaction is significant, interpret the effect of X on Y at three levels of W: low (−1 SD), mean, and high (+1 SD). A crossover interaction — where the slope reverses direction across levels of W — is the strongest form of moderation.
Simple slopes plot: The most intuitive way to report moderation. Shows the regression line of X on Y separately for low, mean, and high W. Non-parallel lines indicate an interaction. Always include this plot when reporting moderation results.
β and R²: Interpreted the same as in standard regression.
APA Format:
Appropriate data visualization: Simple slopes plot. See APA sample figures.
Sample write-up:
Note: Report b (unstandardized), t, df, p, and 95% CI for the interaction term. Report simple slopes at all three levels of W.