Causal inference · Unconfoundedness · Remix §5.1

Same estimator, four ways to assign treatment

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.

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

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.

When does a difference in means find the effect?

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?

Only the coin flip
Coin flip and weighted coin
All four, given enough students
None of them

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.

What is the difference in means made of?

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?

Selection bias only
HTE bias only
Both bias terms
Neither bias term

Does a coin flip make the bias terms zero?

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?

Exactly zero in every draw
Vary by draw, averaging about zero
Vary, but always cancel each other
Stay at one nonzero value

What sign does selection bias take when struggling students sign up?

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?

Negative
About zero
Positive

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.

What does the SDO measure when big gainers sign up?

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?

The ATE
The ATT
The ATU
None of these

Which estimate can you trust under a weighted coin?

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?

Within groups: each group has one fixed probability
Within groups: it is a better statistical model
The SDO: a coin still decides who joins
Both: 400 students wash out the bias

Does comparing within groups also fix struggling sign-up?

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?

Below the ATE: in each group, low scorers join more
Below the ATE: Low and High join at different rates
On the ATE: grouping by X removes selection bias
On the ATE: any miss is just noise

What would you need to believe to study meth use this way?

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?

Within each group of X, which parents use meth is unrelated to how their children would fare either way
The sample is large enough for differences to average out
You control for as many traits as possible, including ones measured after meth use began
Users and non-users make up equal shares of each group
Assumptions behind the numbers

Left out: regression, matching and common support (§5.3–5.4), and how sample size changes the spread of the estimates.