Causal inference · Unconfoundedness · Remix §5.3

Which effect, which assumptions

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.

Haven't read it? Here's what you need

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.

Which effect does each decision need?

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?

ATE
ATT
ATU

Vaccinate everyone in town, or no one: which should the mayor choose?

ATE
ATT
ATU

A rule that everyone not yet vaccinated must get the shot: what will it achieve?

ATE
ATT
ATU

Will a raw comparison show that the vaccine helps?

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…

Helps: the vaccinated are healthier
Does nothing: both are equally healthy
Harms: the vaccinated are less healthy

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?

What do within-age comparisons recover?

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.

Target

Why is the raw gap negative at the default shares?

The vaccinated are mostly old, and the old start less healthy
The vaccinated gain more than the unvaccinated would
The raw gap weights the age groups equally

Can you lose the ATE but keep the ATT?

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.

What does the ATT need from each age group?

Unvaccinated people wherever there are vaccinated ones
Vaccinated people wherever there are unvaccinated ones
Vaccinated and unvaccinated people in every age group

Can you make even the ATT impossible?

Move the sliders until the ATT can't be estimated. Then answer.

The shares are back at their defaults.

Say every old person is vaccinated. The mayor still wants a number. What can you honestly report?

The ATT, filling in the old from the middle-aged
The ATU, or the ATE for the young and middle-aged
Nothing, since an empty cell rules out every estimate

Which numbers move if frailer people vaccinate more?

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?

Nothing the analyst can see
Only the raw gap (SDO)
The raw gap and every age-group difference
The differences, and support fails too

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.

Within each age group

Answer using what you saw in 6b.

Can an analyst who sees only the data test unconfoundedness?

Yes: odd age-group differences would expose a violation
No: a town where it holds could give the same data
Yes: a large enough sample would expose a violation

Which estimate survives selection on gains?

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.

Within each age group

Which estimate still equals the truth, and why?

The ATT: it borrows only Y⁰ from the unvaccinated
The ATE: the extra gains average out
The ATU: the unvaccinated's Y⁰ is still balanced
None: choosing on gains breaks all three

When can you trust unconfoundedness?

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?

That shows common support, not unconfoundedness
Nothing: both kinds in every group is what unconfoundedness means
Each group also needs equal numbers vaccinated and unvaccinated

In which study is unconfoundedness given X most believable?

College's effect on marriage, when people chose college for higher wages
A vaccine's effect on health, when frail people seek it out
Tutoring's effect on scores, when parents sign up struggling children
A training program's effect on earnings, when people who expect big raises enroll
Assumptions behind the numbers

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.