Chapter 16 Moderators and mediators of intervention effects

16.1 Learning objectives

By the end of this chapter, you will be able to:

  • Explain the difference between mediators and moderators

  • Identify potential mediators and moderators for interventions of interest

16.2 Moderators

We concluded Chapter 15 by noting the heterogeneity of intervention effects, even in an experimental context where the treated individuals (chicks) had similar genetic backgrounds and upbringing. In real-life contexts with humans, we anticipate that there may be a number of factors that have a systematic influence on the effectiveness of interventions. These are referred to as moderators, and if we can identify them, then this will help us identify the best way of selecting individuals for intervention - either in the clinic, or in future intervention studies.

In the context of a RCT, characteristics of the individual measured in the baseline period are potential moderators. For example, in a study of children, we might divide them according to a measure of economic status, whether or not the child is eligible for free school meals. This is our moderator, M, and in this example, it just divides the sample into two subgroups.

To show that M is a moderator of treatment, we have to demonstrate that there is an interaction between M and the treatment effect, as shown in Figure 16.1. Note that the key feature is the slope of the line between baseline and outcome measurements. The overall intervention effect is estimated from the difference in the slopes for intervention and control groups. Here, the slope of the intervention effect is higher for the FSM+ group than for the FSM- group, suggesting that Free School Meals status is a moderator.

Line graphs showing simulated mean baseline and outcome scores for intervention vs control groups, subdivided by Free School Meals status. The intervention effect is more striking for the right hand panel (Free School Meals plus) than the left hand panel (Free School Meals minus)

Figure 16.1: Interaction between intervention effect and Free School Meals status

Moderators are often characteristics of the individual, such as age, sex, severity, or associated (“comorbid”) conditions, and can be used to determine for whom an intervention will be most effective. Other moderators may be related to the circumstances in which the intervention is administered, e.g., whether at school or in a clinic. Morrow et al. (2022) noted that moderation analysis is particularly relevant when considering interventions used with heterogeneous populations, such as individuals who have had brain damage, where age, location and duration of damage may have important effects on outcome. Rather than trying to correct for variation in outcome caused by these characteristics, with moderation analysis we aim to estimate which factors are important.

Although the idea of studying moderators is attractive, in practice it can be difficult to demonstrate such effects. One reason is that large sample sizes are needed to have adequate statistical power to demonstrate interaction effects (see Chapter 13), so unless moderator effects are substantial, they may be missed. Second, as noted by Kraemer et al. (2002), moderator analyses usually are exploratory rather than hypothesis-testing, and so when a moderator is discovered, it will need to be replicated in a new sample. This relates back to the arguments in Chapter 14, where we argued that you should never generate and test a hypothesis using the same data. Nevertheless, Kraemer et al (2002) argue there can be value in performing moderator analyses, as it means we can devise future interventions that build on the information gained from previous studies.

16.3 Mediators

Mediators provide theoretically useful information about why and how interventions have an effect. Mediation analysis can be used as a more formal way of assessing the kinds of mechanism variables that were discussed in Chapter 4.

The principal way of distinguishing between moderators and mediators is in terms of the time of their impact. A moderator is a pre-existing variable that is independent of the allocation of individuals to intervention and control groups, but which can be shown to affect the response to intervention. In contrast, a mediator is a measured variable that changes with intervention. An example is provided by a study on reading intervention by Hulme et al. (2012). These authors contrasted two types of intervention for children with weak oral language skills. The first group (P+R) were trained in phoneme awareness, letter-sound knowledge, and guided reading of simple books. The second group (OL) had an intervention focused on oral language development, including vocabulary, grammar and narrative skills. Outcome was measured at the end of 20 weeks of intervention, and again five months later, and it was shown that the P+R group were superior at reading. A mediation analysis was conducted to test whether improved phonemic awareness and letter-sound knowledge had led to the gains in reading. Rather than showing here the complex path diagram presented by the authors, Figure 16.2 shows two simplified models that can be compared by analysing the patterns of correlation between the measurements. In these models, arrows between variables indicate that they are significantly correlated, after taking into account all the associations between the variables. This kind of model is analysed by using a statistical method such as path analysis, which focuses on the pattern of correlations between variables. We know from a prior analysis that there was a benefit to reading for the P+R group, and this group also showed gains in phonemic awareness, so both models include these effects. For Model A, the two effects are independent - i.e., the intervention improves reading and improves phonemic awareness, but the two impacts are unrelated. In this case, there is no mediation effect. For Model B, there is no direct effect of intervention on reading: instead, the effect is entirely mediated by phonemic awareness. In other words, once we have taken into account the gains shown in phonemic awareness, we have explained the gains in reading. By analysing the pattern of correlations between variables, we can see which model gives a better fit to the observed data. In the case of the Hulme et al. (2012) study, there was strong support for the mediation model. In practice, the models that are tested in mediation analysis tend to be much more complex, and take into account more variables than the simplified example used here. Our goal here is to demonstrate the logic of a mediation analysis, and how it can be used to gain insights into the mechanisms underlying intervention effects.

For two models, Intervention, Phoneme Awareness and Literacy Outcome are represented by boxes linked by arrows. For model A,  Intervention has causal arrows to both Literacy Outcome (time 4) and Phoneme Awareness (time 3), but there is no link between them. For model B, the only link between Intervention and Literacy Outcome is via Phoneme Awareness

Figure 16.2: Models illustrating mediation vs no mediation in reading intervention study

Moderation and mediation analysis is a complicated topic, and is yet another method that can easily be misused. It is important to have a clear idea of the logic of the causal relationships between variables entered into this kind of analysis, to avoid drawing wrong conclusions. To find out more about this topic, we recommend Huntington-Klein (2023)’s book “The Effect”.

16.4 Check your understanding

Here are some characteristics of mediators and moderators. See if you can work out whether M refers to mediation or moderation.
1. In a M relationship, you can draw an arrow from intervention to M and then from M to the outcome. Mediation|moderation
2. M refers to the case when something acts upon the relationship between intevention and outcome, and changes its strength. Mediation|moderation
3. M can be thought of as a go-between for intervention and outcome: it is a variable that explains their relationship. Mediation|moderation
4. Figure 16.3 shows an intervention where both mediation and moderation are involved. Which is M1 and which is M2?

Path diagram for exercise 4, where the task is to work out which is the mediator and which the moderator from M1 and M2. Main path goes from intervention (left) to Outcome (right). M1 has a path to the arrow linking Intervention and Outcome. M2 receives a path from Intervention and sends a path to Outcome.

Figure 16.3: Path diagram with mediator and moderator

References

Hulme, C., Bowyer-Crane, C., Carroll, J. M., Duff, F. J., & Snowling, M. J. (2012). The causal role of phoneme awareness and letter-sound knowledge in learning to read: Combining intervention studies with mediation analyses. Psychological Science, 23(6), 572–577. https://doi.org/10.1177/0956797611435921
Huntington-Klein, N. (2023). The Effect: An Introduction to Research Design and Causality. CRC Press.
Kraemer, H. C., Wilson, G. T., Fairburn, C. G., & Agras, W. S. (2002). Mediators and moderators of treatment effects in randomized clinical trials. Archives of General Psychiatry, 59(10), 877–883. https://doi.org/10.1001/archpsyc.59.10.877
Morrow, E. L., Duff, M. C., & Mayberry, L. S. (2022). Mediators, moderators, and covariates: Matching analysis approach for improved precision in cognitive-communication rehabilitation research. Journal of Speech, Language, and Hearing Research, 65(11), 4159–4171. https://doi.org/10.1044/2022_JSLHR-21-00551