In previous chapters, we focused on estimating average causal effects in a population. But what if the effect of treatment varies across individuals? This chapter introduces effect modification: the phenomenon where the causal effect of treatment differs across levels of another variable.
Understanding effect modification is crucial for:
Consider again Zeus’s family from Chapter 1. Suppose we estimate that heart transplant has no average causal effect on mortality (the average treatment effect is zero). Does this mean the treatment has no effect on anyone?
Not necessarily. The average treatment effect can be zero even when there are large individual effects, as long as beneficial effects for some individuals are balanced by harmful effects for others.
Definition 1 (Effect Modification) Effect modification (also called heterogeneity of treatment effects) is present when the average causal effect of treatment differs across levels of another variable \(V\).
For a binary modifier \(V\), effect modification exists when:
\[E[Y^{a=1} - Y^{a=0} | V = 1] \neq E[Y^{a=1} - Y^{a=0} | V = 0]\]
Suppose in Zeus’s family:
The average effect across the whole family is zero, but there is strong effect modification by sex. The treatment has opposite effects in males and females.
Whether effect modification exists can depend on the scale (measure) used:
Example 1 (Scale-Dependent Effect Modification) Suppose:
Risk difference:
There is effect modification on the risk difference scale (effect is 0.1 in one group, 0.2 in the other).
Risk ratio:
There is NO effect modification on the risk ratio scale (effect is 2.0 in both groups).
The standard approach to identify effect modification is stratification: estimate the treatment effect separately within levels (strata) of the modifier variable \(V\).
To detect effect modification by variable \(V\):
If effects differ across strata, \(V\) is an effect modifier.
Example 2 (Stratified Analysis Example) Using data from a randomized trial of heart transplant in Zeus’s family:
Stratum 1 (Males):
Stratum 2 (Females):
Since \(-0.30 \neq +0.30\), there is effect modification by sex.
Why is identifying effect modification important?
If treatment effects vary substantially across subgroups, reporting only an average effect can be misleading. Stratum-specific estimates provide more precise information about who benefits from treatment.
When effect modification exists, we can:
Example 3 (Precision Medicine Example) If genetic testing reveals that a drug benefits patients with genotype AA but harms patients with genotype BB, we should:
This is the foundation of precision medicine or personalized medicine.
Effect modification can provide clues about biological or social mechanisms:
Stratification serves two related but distinct purposes:
These are different scientific questions with different implications.
Definition 2 (Confounder vs. Effect Modifier)
A variable can be:
Confounder only: Age affects both treatment and outcome, but the treatment effect is the same at all ages.
Effect modifier only: In a randomized trial, sex does not confound (randomization handles that), but the treatment effect differs by sex.
Both: In an observational study of surgery, age affects who gets surgery (confounding) and how well surgery works (effect modification).
In addition to stratification, matching is another method for adjustment that can also reveal effect modification.
Matching creates treatment and control groups that are similar with respect to measured covariates \(L\). Common approaches:
Example 4 (Matching Example) Suppose we want to study the effect of smoking on lung cancer. We: 1. Identify 1000 smokers 2. For each smoker, find a non-smoker matched on age, sex, occupation, and family history 3. Compare lung cancer rates in smokers vs. their matched non-smokers
If matching successfully balances confounders, the comparison estimates the causal effect.
Like stratification, matching can identify effect modification:
When both confounding and effect modification are present, we need methods that can: 1. Adjust for confounders 2. Allow treatment effects to vary across modifiers
If \(V\) is both a confounder and effect modifier, simple stratification may not suffice if there are additional confounders \(L\).
Solution: Adjust for \(L\) within each stratum of \(V\). This can be done via:
Example 5 (Stratification with Additional Confounders) To estimate the effect of exercise on heart disease, modified by age, while adjusting for sex and smoking:
Approach 1: Stratify by age, sex, and smoking
Approach 2: Stratify by age, then adjust for sex and smoking within each age stratum
Regression models provide a flexible framework for handling effect modification:
Model with effect modification: \[E[Y | A, V, L] = \beta_0 + \beta_1 A + \beta_2 V + \beta_3 A \times V + \beta_4^T L\]
The interaction term \(\beta_3 A \times V\) captures effect modification:
This chapter introduced effect modification: the phenomenon where causal effects differ across levels of another variable.
Key concepts:
Definition: Effect modification exists when \(E[Y^{a=1} - Y^{a=0} | V]\) differs across levels of \(V\)
Scale dependence: Whether effect modification exists depends on the scale (risk difference, risk ratio, etc.)
Identification: Stratification and matching can identify effect modification by estimating effects separately in subgroups
Importance: Effect modification is crucial for:
Confounding vs. modification:
Regression models: Interaction terms in regression models can capture effect modification, but must be interpreted carefully with respect to scale