Causal inference · Unconfoundedness · Remix §5.1
Assumes you have read Ch. 5 of Cunningham's Causal Inference: The Remix (§5.1). Work through the numbered steps in order. About 25 minutes.
Each student has two potential outcomes: a test score with tutoring (Y¹) and one without (Y⁰). You only ever see one of them. The ATE is the average gain from tutoring over all students. The ATT and ATU are the same average, taken only over the tutored or only over the untutored.
The SDO is the raw comparison: the tutored group's average score minus everyone else's. It equals the ATE only when who joins has nothing to do with those potential outcomes. This page tries four rules for who joins.
Read the four rules, then predict and lock in.
Tutoring helps Low-achieving students more than High ones. Four rules for who joins:
Predict: under which rules does the difference in means (SDO) equal the ATE on average?
Right. Only the coin makes joining unrelated to students' potential outcomes. Steps 3 to 7 show what each other rule does to the SDO.
Not quite. The weighted coin is random, but it treats Low students, who score lower anyway, three times as often as High ones. Step 6 measures the damage.
Not quite. More students shrink the noise, but not a gap built into who joins. Step 4 shows such a gap.
Not quite. A difference in means can be causal when the assignment rule allows it. Step 3 tests the coin flip.
Read the three parts, then answer.
SDO = ATE + E[Y⁰ | D = 1] − E[Y⁰ | D = 0] + (1 − π)(ATT − ATU)
If D is independent of (Y⁰, Y¹), which terms are zero in the population?
Press Re-run a few times and watch the two middle bars.
A fair coin assigns tutoring to 400 students. Here E[·] means the average over them.
What do selection bias and HTE bias do as you re-run?
Predict and lock in. Then go to 4b to test it.
Now students who would score low without tutoring are likelier to join.
Predict: what sign will selection bias, E[Y⁰ | D = 1] − E[Y⁰ | D = 0], have?
Right. Joiners would have scored lower untutored, so their mean Y⁰ sits below the control group's. See the gap in 4b.
Not quite. In 4b, show the hidden outcomes and compare the treated students' untutored scores (open circles) with the control mean.
Press Show hidden outcomes, then compare the open circles with the control mean.
HTE bias is positive here: the treated are mostly Low students, who gain more from tutoring.
Re-run a few times, then compare the SDO with each row of the table.
In each group, students who would gain more than their group's average are likelier to join. Low and High join at about the same rate.
Which quantity does the SDO land near?
Compare the two histograms with the ATE line, then answer.
Rule: 0.75 for Low, 0.25 for High. The second estimate compares means inside each group, then weights the groups by size:
Σx (Nx / N)(ȳ1x − ȳ0x)
Which estimate centers on the ATE, and why?
Compare the within-group histogram with the ATE line, then answer.
Unconfoundedness assumes joining is as good as random inside each group, as under the weighted coin. Now back to struggling sign-up:
Where does the within-group estimate center, and why?
Pick an answer and press Check.
§5.1 asks whether a parent's meth use causes child abuse. No one can randomize meth use.
You compare abuse rates among families that share some traits X. What must be true for that comparison to show meth's effect?
Left out: regression, matching and common support (§5.3–5.4), and how sample size changes the spread of the estimates.