Block 2: A field experiment on discrimination
Week 3 · Causality I · Imai §2.1–2.2 · about 4 min
NoteHow this works
Run each cell with Run Code, look at the output, then answer the question at the end of the block. Every cell is editable; Start Over resets it. Errors are information: read them.
Bertrand & Mullainathan sent identical resumes to real job ads, with randomly assigned “white-sounding” or “black-sounding” first names. Outcome: did the employer call back (call = 1)?
1. Look at the data
What is one row? What does call mean?
2. Callback rates by race
mean() of a 0/1 variable is a proportion. The brackets keep only the rows of one group.
Conclusion: Which group has the higher callback rate, and by roughly how much?
White-sounding names: about 9.7% vs. 6.4%, a gap of roughly 3.2 percentage points. Same resume, only the name differs, and the name was assigned at random, so this is a causal effect.