Causal inference · Unconfoundedness · Remix §5.3
Assumes you have read Ch. 5 of Cunningham's Causal Inference: The Remix (§5.3). Work through the numbered steps in order. About 25 minutes.
The ATE, ATT and ATU average a treatment's effect over everyone, over the treated, or over the untreated. To estimate one, compare treated and untreated people inside each group (here, age groups), then average those differences with the right weights.
That works only under two assumptions. Unconfoundedness: inside each group, who is treated is as good as random. Common support: each group has both treated and untreated people to compare.
For each decision (1a, 1b, 1c), pick the effect it needs.
The ATE averages over everyone, the ATT over the treated, the ATU over the untreated. Ask what you would do with the number.
Summer school for students who fall behind: should the district keep it?
Vaccinate everyone in town, or no one: which should the mayor choose?
A rule that everyone not yet vaccinated must get the shot: what will it achieve?
Read the table, then predict and lock in.
A town of 3,000 people, 1,000 per age group. Y = 1 if a person stays healthy all season, so group means are percentages.
Predict: compare the share healthy among the vaccinated and the unvaccinated. The raw comparison will say the vaccine…
The vaccinated: stay healthy. The unvaccinated: . The simple difference in outcomes (SDO) is points.
Right. The raw comparison says the vaccine harms, though it helps every age group. Step 3 shows why.
Not quite. The raw comparison points the other way, though the vaccine helps every age group. Look at the table again: who gets vaccinated, and how healthy are they without it?
Pick a target, read its weights in the table, then move the sliders.
Within each age group, vaccination here is a coin flip, so unconfoundedness holds. Compare within groups, then average with your target's weights. Each slider sets a group's share vaccinated, its propensity score.
Hidden frailty or selection on gains is still on.
Why is the raw gap negative at the default shares?
Move the sliders until the data give the ATT but not the ATE. Then answer.
A within-group comparison needs both vaccinated and unvaccinated people in the group: common support.
Hidden frailty or selection on gains is still on.
What does the ATT need from each age group?
Move the sliders until the ATT can't be estimated. Then answer.
The shares are back at their defaults.
Hidden frailty or selection on gains is still on.
Say every old person is vaccinated. The mayor still wants a number. What can you honestly report?
Predict and lock in. Then test it in 6b.
So far, vaccination within an age group is a coin flip. Now suppose frailer people in every group are likelier to vaccinate, and the analyst can't see frailty.
Predict: when you switch on hidden frailty, what changes in the analyst's numbers?
Right. Frailty lowers Y0 among the vaccinated and raises it among the unvaccinated, so each age-group difference falls by 6 points. The counts don't change, so support still passes. Check it in 6b.
Not quite. In 6b, switch frailty on and watch the table: each age-group difference falls by 6, and so does every estimate. The counts don't change, so the support check still passes.
Switch between Coin flip and Hidden frailty. Watch the table and the support check.
The shares are not at their defaults.
Answer using what you saw in 6b.
Can an analyst who sees only the data test unconfoundedness?
Switch among the three settings. In each row, compare the difference with the two true effects.
Weak unconfoundedness asks only that Y0 ⫫ D | X. With selection on gains, people who would gain more vaccinate, but Y0 stays balanced.
The shares are not at their defaults.
Which estimate still equals the truth, and why?
Answer 8a, then 8b. Press Check for each.
A colleague says: “Every age group has both vaccinated and unvaccinated people, so unconfoundedness holds.” What is wrong?
In which study is unconfoundedness given X most believable?
Left out: the weights a regression with an age dummy puts on each group, which the page “Which effect does the regression estimate?” covers (it says ATC for the ATU); sampling noise; and many covariates at once.