| Characteristic | Beta | 95% CI1 | p-value |
|---|---|---|---|
| PhysActive | |||
| No | — | — | |
| Yes | -0.30 | -1.0, 0.40 | 0.4 |
| Age | 0.42 | 0.40, 0.44 | <0.001 |
| Gender | |||
| female | — | — | |
| male | 4.6 | 4.0, 5.3 | <0.001 |
| poverty.bin | 2.2 | 1.3, 3.1 | <0.001 |
| 1 CI = Confidence Interval | |||
Week 3: Causal Inference & Social Epi (Continued)
September 22, 2025
Challenges
What were the main arguments?
Move to the right of the proposed spectrum of social exposures
Alternative approaches for ill-defined social exposures
Possible interpretations
What were the main arguments?
One alarming feature of late 20th and current 21st century epidemiological literature on ‘causal inference’ is the re-appearance of previously rebutted causal claims that ‘race’ is an individual ‘attribute’ and that it cannot be a ‘cause’ because is not ‘modifiable’. (Krieger and Davey Smith 2016)
Part of the challenge of interpreting race coefficients causally is that, in the formal causal inference literature, effects are often defined in terms of counterfactual or potential outcomes, which are defined as the outcomes that would result under hypothetical interventions. There are, however, no reasonable hypothetical interventions on race when race itself is the exposure. (VanderWeele and Robinson 2014)
In other contexts, if we were interested in assessing race as an indicator of discrimination, we might define the exposure of interest to be the employer’s perception of an applicant’s race. The exposure defined in this manner is subject to conceivable manipulations (VanderWeele and Robinson 2014)
Recommendation
Key Considerations in Confounder Selection
Contemporaneous measurement of an exposure and covariates
| Characteristic | Beta | 95% CI1 | p-value |
|---|---|---|---|
| PhysActive | |||
| No | — | — | |
| Yes | -0.30 | -1.0, 0.40 | 0.4 |
| Age | 0.42 | 0.40, 0.44 | <0.001 |
| Gender | |||
| female | — | — | |
| male | 4.6 | 4.0, 5.3 | <0.001 |
| poverty.bin | 2.2 | 1.3, 3.1 | <0.001 |
| 1 CI = Confidence Interval | |||
What to do instead of giving up
Is the potential bias critical conditional on the adjusted confounders?
“Confounding by income, after adjusting for age, gender, race, education, occupation, median income of census tract of residence?”
Interpret these analyses conditional on the adjusted confounders?
Statistical associations for no effect
Incidence in the first 10 days after the first shot
Deaths unrelated to Covid-19
What to do instead of giving up
| ID (i) | Time (t) | \(Y_{it}\) | \(A_{it}\) | \(L_{it}\) |
|---|---|---|---|---|
| 1 | 1 | 100 | 10 | 20 |
| 1 | 2 | 110 | 12 | 22 |
| 1 | 3 | 125 | 15 | 25 |
| 2 | 1 | 80 | 8 | 15 |
| 2 | 2 | 85 | 9 | 16 |
| 2 | 3 | 95 | 11 | 18 |
| ID (i) | Time (t) | \(\Delta Y_{it}\) | \(\tilde{Y}_{it}\) | \(\Delta A_{it}\) | \(\tilde{A}_{it}\) |
|---|---|---|---|---|---|
| 1 | 1 | - | -11.67 | - | -2.33 |
| 1 | 2 | 10 | -1.67 | 2 | -0.33 |
| 1 | 3 | 15 | 13.33 | 3 | 2.67 |
| 2 | 1 | - | -6.67 | - | -1.33 |
| 2 | 2 | 5 | -1.67 | 1 | -0.33 |
| 2 | 3 | 10 | 8.33 | 2 | 1.67 |
| ID (i) | Time (t) | \(Y_{it}\) | \(A_{it}\) | \(L_{it}\) |
|---|---|---|---|---|
| 1 | 1 | 100 | 10 | 20 |
| 1 | 2 | 110 | 12 | 22 |
| 1 | 3 | 125 | 15 | 25 |
| 2 | 1 | 80 | 8 | 15 |
| 2 | 2 | 85 | 9 | 16 |
| 2 | 3 | 95 | 11 | 18 |
Caveats
Not necessarily “superior” as they use:
The effect of \(A\) on \(Y\) can be identified when:
| Type | \(A^{z=0}\) | \(A^{z=1}\) | Behavior |
|---|---|---|---|
| Never-takers | 0 | 0 | Never exposed regardless of \(Z\) |
| Compliers | 0 | 1 | Exposed only when \(Z=1\) |
| Always-takers | 1 | 1 | Always exposed regardless of \(Z\) |
# simulate the data
dat <- tibble(
x = rnorm(1000, 50, 25)
) %>%
mutate(
x = if_else(x < 0, 0, x)
) %>%
filter(x < 100)
# simulate the discontinuity
dat <- dat %>%
mutate(
D = if_else(x > 50, 1, 0), # cutoff at x = 50
y = 25 + 300 * D + 0.1 * x + 0.1 * x^2 + rnorm(n(), 0, 50),
y = y/max(y)*100,
PS = 0.1 + 0.5 * D + 0.001 * x + 0.0001 * x^2,
PS = PS/max(PS)
)
ggplot(aes(x, PS), data = dat) +
geom_point(alpha = 0.5) +
geom_vline(xintercept = 50, linetype = "dotted") +
labs(x = "Test score (X)", y = "Probably of Admission") +
theme_minimal() +
theme(text = element_text(family = "roboto",size = 24, , colour = "#1d3557"),
axis.text = element_text(family = "roboto",size = 24, colour = "#1d3557")
) # figure
ggplot(aes(x, y), data = dat) +
geom_point(alpha = 0.5) +
labs(x = "Test score (X)", y = "Earning (Y)") +
theme_minimal() +
theme(text = element_text(family = "roboto",size = 24, , colour = "#1d3557"),
axis.text = element_text(family = "roboto",size = 24, colour = "#1d3557")
)
ggplot(aes(x, y, colour = factor(D)), data = dat) +
geom_point(alpha = 0.5) +
geom_vline(xintercept = 50, colour = "grey", linetype = 2) +
ggsci::scale_color_jama(name = "Above the cut-off") +
stat_smooth(method = "lm", se = F) +
labs(x = "Test score (X)", y = "Outcome (Y)") +
theme_minimal() +
theme(text = element_text(family = "roboto",size = 24, , colour = "#1d3557"),
axis.text = element_text(family = "roboto",size = 24, colour = "#1d3557"),
legend.text = element_text(family = "roboto",size = 24, colour = "#1d3557"),
legend.title = element_text(family = "roboto",size = 24, colour = "#1d3557"),
legend.position = "inside",
legend.position.inside = c(0.8, 0.2),
legend.box.background = element_rect(colour = "#1d3557")) PH784 (Shiba) 2025/9/22