University of Amsterdam
2024-03-11
In statistics and regression analysis, moderation occurs when the relationship between two variables depends on a third variable. The third variable is referred to as the moderator variable or simply the moderator. The effect of a moderating variable is characterized statistically as an interaction (Wikipedia, 2024).
\(\definecolor{red}{RGB}{255,0,0} \definecolor{black}{RGB}{0,0,0} \color{black}Out_i = b_0 + b_1 Pred_i + b_2 Mod_i + \color{red}b_3 Pred_i \times Mod_i \color{black}+ \epsilon_i\)
Video games are among the favourite online activities for young people: two-thirds of 5–16-year-olds have their own video games console, and 88% of boys aged 8–15 own at least one games console. Although playing violent video games can enhance visuospatial acuity, visual memory, probabilistic inference, and mental rotation, compared to games such as Tetris, these games have also been linked to increased aggression in youths Another predictor of aggression and conduct problems is callous-unemotional traits such as lack of guilt, lack of empathy, and callous use of others for personal gain.
Imagine a scientist wanted to look at the relationship between playing violent video games such as Grand Theft Auto, MadWorld and Manhunt and aggression. She gathered data from 442 youths. She measured their aggressive behaviour, callous unemotional traits, and the number of hours per week they play video games (Field, 2017, sec. 11.3.1)
\(\text{pred}_\text{c} = \text{pred} - \bar{\text{pred}} = \text{pred} - 15.39\)
\(\text{mod}_\text{c} = \text{mod} - \bar{\text{mod}}= \text{mod} - 7.808\)
SPSS syntax
COMPUTE pred = pred - 15.39.
COMPUTE mod = mod - 7.808.
EXECUTE.
predictor moderator outcome
predictor 1.000 0.722 0.215
moderator 0.722 1.000 0.109
outcome 0.215 0.109 1.000
Take it for a spin (does not work on tablet)
Dependent variable | |||
Predictors | Estimates | CI | p |
(Intercept) | 5.38 | 4.62 – 6.14 | <0.001 |
predictor | 0.70 | 0.40 – 1.01 | <0.001 |
moderator | -0.22 | -0.43 – -0.00 | 0.050 |
predictor:moderator | 0.37 | 0.32 – 0.42 | <0.001 |
Observations | 100 | ||
R2 / R2 adjusted | 0.687 / 0.677 |
\(\definecolor{red}{RGB}{255,0,0} \definecolor{black}{RGB}{0,0,0} \color{black}\widehat{Out_i} = b_0 + b_1 Pred_i + b_2 Mod_i + \color{red}b_3 Pred_i \times Mod_i \color{black}\)
\(\definecolor{red}{RGB}{255,0,0} \definecolor{black}{RGB}{0,0,0} \color{black}\widehat{Out_i} = 5.38 + 0.7 \times Pred_i + -0.22 \times Mod_i + \color{red} 0.37 \times Pred_i \times Mod_i \color{black}\)
To determine the slopes of the regression plane at different levels of the moderater you can add the required moderator value to the regression equation and simplify.
\(5.38 + 0.7 \times Pred + -0.22 \times Mod + 0.37 \times Pred \times Mod\)
SMCR / SMCO