The Internship Sprint
Random assignment with unequal probabilities, and students who don't take part.
The career center wanted to try a new program, the six-week Internship Sprint (résumé rebuild, three mock interviews with alumni, introductions to employers). They picked 1,100 sophomores at random from our 6,000, then split those students at random into an invited group, offered a seat, and a not-invited group, not offered one. Only invited students could take part, and not all of them did.
| Students | Landed one | |
|---|---|---|
| Invited group | 680 | 47.2% |
| Not-invited group | 420 | 49.7% |
“The invited group did 2.5 points worse. Random assignment is a fair test, so the Sprint doesn't work. I propose we cancel it.”
One more fact the memo leaves out: humanities and arts majors were invited with probability 80%; STEM and business majors with probability 40%. The career center thought humanities majors had the fewest employer contacts.
1. Is the dean right?
Does the memo show that the Sprint doesn't help?
You sided with the memo, or with “too few to say”. The table on the left does look like a fair test. But it pools two random assignments with different probabilities.
Some people say: “Humanities majors had a higher probability of being invited, so most of the invited group are humanities majors. If humanities majors land internships less often whether or not they join, the invited group's rate is pulled down by who they are, not by the Sprint.” Is that a fair point? Reply in a sentence or two.
It is. Of the 680 in the invited group, 480 (71%) are humanities majors; of the 420 in the not-invited group, only 120 (29%) are. So the memo compares a mostly-humanities group with a mostly-STEM group. Random assignment makes the invited and not-invited groups alike only within a set of students who all had the same probability of being invited.
Size isn't the problem: with a million students and the same two probabilities, the pooled comparison would still be off. Step 2 splits the table by major.
You doubted the memo. Before step 2 shows why, test your reason against the strongest version of the dean's view.
Some people say: “Assignment was random. Random assignment makes the invited and not-invited groups alike, so the 2.5-point gap can only come from the Sprint.” What's wrong with that? Reply in a sentence or two.
There were two probabilities of being invited. Of the 680 in the invited group, 480 (71%) are humanities majors; of the 420 in the not-invited group, only 120 (29%) are. Random assignment makes the invited and not-invited groups alike only within a set of students who all had the same probability of being invited, here within each major. Pooled, the memo compares a mostly-humanities group with a mostly-STEM group.
Step 2 splits the table by major.
| Students | Landed one | |
|---|---|---|
| ■ Humanities & arts (600) | ||
| Invited | 41% | |
| Not invited | 29% | |
| ● STEM & business (500) | ||
| Invited | 62% | |
| Not invited | 58% | |
Probability of being invited
2. What happens inside each major?
Within a major everyone had the same probability of being invited, so there random assignment is a fair test. Being invited raised the internship rate by 12 points for humanities majors (41% vs 29%) and by 4 points for STEM majors (62% vs 58%).
For one number for the whole sample, weight each major by how many students it has: (600 × 12 + 500 × 4) ÷ 1,100 = 8.4 points. This is the average effect of being invited on getting an internship: the intention-to-treat effect (ITT), also called the ATE of assignment. (Inviting a student is the intention to treat them; whether they join is up to them.)
The memo's pooled number doesn't distinguish between the majors: it averages the same rates with different weights, because the invited group is humanities majors and the not-invited group .
The sliders rerun the invitations with other probabilities (the numbers above follow them). When does the pooled comparison equal the ITT?
Out of every 10 invited students, how many joined?
Filled: joined the Sprint. Outline: invited but never came. Nobody who wasn't invited could join.
Where the 12 points come from
The invitation changes nothing for the no-shows: they never got the program. So the whole 12-point ITT comes from the half who joined.
| ITT | Joined | Joining | |
|---|---|---|---|
| Humanities | +12 | 50% | +24 |
| STEM | +4 | 80% | ? |
This is the local average treatment effect (LATE): the effect on students who join when invited. Here nobody could join without an invitation, so within each major it is also the effect on everyone who took part.
3. What did the Sprint do for those who joined?
Being invited raised humanities majors' internship rate by 12 points, but only half of those invited joined. By how many points did joining raise the rate for the humanities majors who joined?
You said 24. Right: 12 points spread over everyone invited is 24 points concentrated in the half who joined (left). For a major where 25% of those invited joined and the ITT was 3 points, the same logic gives 3 ÷ 0.25 = 12.
You said 12, the ITT. But half of those invited never came and gained nothing, so the 12 is an average of joiners' gain and zero: 12 = ½ × gain + ½ × 0, so the gain is 24 (left). If only a quarter had joined, the same 12 would mean 48.
You said less than 12. A common move is to multiply: 12 × 0.5 = 6. But the no-shows gained nothing, so the 12 is already diluted by them: 12 = ½ × gain + ½ × 0, which makes the gain 24 (left). Diluting a number that is already diluted goes the wrong way.
You were between 12 and 24: you saw the effect must be larger than 12. Exactly how much larger follows from the no-shows gaining nothing: 12 = ½ × gain + ½ × 0, so the gain is 24 (left).
You were above 24. Scaling up is right, but only by the share who joined: 12 = ½ × gain + ½ × 0, so the gain is 24 (left), not more.
The 24 is (41% − 29%) ÷ 50%. Nobody who wasn't invited could join, so the 50% is also the difference in the share who joined: 50% of the invited group, 0% of the not-invited group. Which formula gives the effect of joining in general, even when some students who weren't invited find a way in?
Now STEM majors: being invited raised their rate by 4 points and 80% of those invited joined. What was the effect of joining, in points?
Who joined the Sprint?
Probability of being invited
4. The effect on those who took part (ATT)
Joining raised the rate by 24 points for humanities majors and 5 for STEM majors. 400 students joined: 240 humanities and 160 STEM majors.
What was the average effect of the Sprint on the 400 who joined, in points? This is the average treatment effect on the treated (ATT).
You said 16.4. Right: weight each major's effect by how many joined from it, (240 × 24 + 160 × 5) ÷ 400 = 16.4. Like the ITT in step 2, it is a weighted average, but of the effects of joining (24 and 5), weighted by the 400 who took part rather than by the 1,100 in the sample.
You said 14.5, the plain average of 24 and 5. That weights the two majors equally, but 240 humanities majors joined and only 160 STEM majors: (240 × 24 + 160 × 5) ÷ 400 = 16.4.
You were below 16.4. Weight each major's effect by how many joined from it: (240 × 24 + 160 × 5) ÷ 400 = 16.4. Humanities majors are 60% of those who joined, so their 24 counts for more than STEM's 5.
You were below 16.4. Weight each major's effect by how many joined from it: (240 × 24 + 160 × 5) ÷ 400 = 16.4. A plain average of 24 and 5 (14.5) or weights from the whole sample (15.4) give humanities majors too little weight: they are 60% of those who joined.
You were above 16.4. Weight each major's effect by how many joined from it: (240 × 24 + 160 × 5) ÷ 400 = 16.4. Humanities majors are 60% of those who joined, not all of them, so the average sits well below their 24.
A critic says the 16.4 is inflated because the invitations favored humanities majors.
If every sophomore in the sample had been invited, the ATT would be:
You said lower. Press Invite everyone: joiners become 300 humanities and 400 STEM majors, and the ATT falls to 13.1. Each major's effect is unchanged; the mix moved toward the major that gains less. What would happen if only STEM majors were invited? Try 0% / 100%.
You said about the same, because each major's effect stays put. It does, but the ATT also depends on the mix of joiners. Press Invite everyone: joiners become 300 humanities and 400 STEM majors, and the ATT falls to 13.1. Try 0% / 100% to see it land on STEM's 5.
You said higher. Inviting more students brings in many more STEM majors, who gain less (5 points vs 24). Press Invite everyone: joiners become 300 humanities and 400 STEM majors, and the ATT falls to 13.1. Try 100% / 0% to see the highest it can go.
The critic has a point about which average, not about the effects themselves. With everyone invited, the ATT is the within-major effects weighted by how many would join from each major: (300 × 24 + 400 × 5) ÷ 700 = 13.1.
Two random draws, in this order
From the sample to all 6,000. Random sampling makes the sample's mix (54.5% humanities) and each major's effects estimates for all sophomores. So if every sophomore were invited, the best estimate of the ATT is about 13 points, the same weighting as in step 4.
That needs one more assumption that no randomization supplies: students would join at the same rates (50% and 80%) when everyone is invited. Joiners in a small pilot with personal invitations may not be the joiners of a campus-wide program.
5. What does each random draw buy you?
The sample was drawn at random from all sophomores; students were then invited at random within each major. Each draw supports different claims, and some claims need an assumption that neither draw supplies.
Sort each claim by what makes it believable.
What you found
| Memo (pooled) | Within major | |
|---|---|---|
| Effect of the invitation (ITT) | −2.5 | +8.4 |
| Effect of joining (LATE) | −4.3 | +13.1 |
In percentage points. The pooled LATE divides the memo's −2.5 by the share of the invited group who joined (400 of 680). The within-major LATE divides the ITT by the sample's take-up: 8.4 ÷ 0.636 = 13.1. The ATT, the effect on the 400 who actually joined, is 16.4.
A note on names
This page calls the two random groups the invited and not-invited groups. In the usual encouragement-design framework, the two steps have their own names. The first step, decided at random, is the encouragement: here, being offered a seat. The second step, which students choose for themselves, is the treatment: here, taking up the seat and joining the Sprint.
So the ITT is the effect of the encouragement, and the LATE and the ATT are effects of the treatment. Many texts still call the encouraged group the “treatment group”, even though not everyone in it was treated; that is the sense of “intention to treat”.
6. Same mistake, new setting
A gym offers members free personal-training sessions at random: varsity athletes with probability 20%, everyone else with probability 70%. Athletes exercise far more either way. A report pools everyone and finds that members offered sessions exercise less than members not offered them. What should you do first?
You should now be able to
- say why random assignment with different probabilities by group can't be compared pooled, and fix it by comparing within groups and weighting: the ITT (step 2);
- turn the ITT into the effect on those who took it up, by dividing by the take-up rate: the LATE (step 3);
- calculate the ATT as a weighted average and say how it changes with who is invited (step 4), and what random sampling adds (step 5).
If one of these is shaky, go back to the step in brackets.
Back again: two quick questions
Students are offered places in a free coding bootcamp at random. Being offered a place raises the share with a tech job by 9 points; 30% of those offered attend, and nobody attends without an offer. What is the effect of attending, in points?
A city offers teens places in a summer-jobs program at random: 16-year-olds with probability 30%, 18-year-olds with probability 70%. Within each age, the offers are fair. Which comparison is fair?
Assumptions behind this page
- dataThe case and every number in it are invented for teaching.
- simplificationEach major's internship rates in the invited group (41%, 62%) and the not-invited group (29%, 58%) stay the same when the sliders change the probabilities of being invited; the sliders change only how many students fall in each row.
- simplificationNobody could join without an invitation (one-sided non-compliance), so within a major the effect on joiners is also the effect on everyone who took part.
- interpretationBeing invited affects internships only through joining: no-shows gain nothing from having been invited.
- parameterTake-up among the invited: 50% for humanities and arts, 80% for STEM and business, at any probability of being invited.
- interpretationFor all 6,000 sophomores: students would join at the same rates if everyone were invited.
- simplificationSampling error is ignored: every number is shown as if it were exact.
Left out: standard errors and confidence intervals, and two-sided non-compliance (students who weren't invited but find a way in).