Courses › Graduate Econometrics
Potential outcomes and selection on observables
The potential outcomes framework, randomized experiments and randomization inference, unconfoundedness and overlap, regression adjustment, matching, propensity scores, inverse probability weighting, and doubly robust estimation.
The crash course’s last unit introduced the potential outcomes framework. Modules 11 to 13 build it into a full toolkit for causal inference. The framework, associated with Neyman and Rubin, defines a causal effect by comparing what would happen to the same unit with and without a treatment, and turns every causal question into a missing-data problem: we only ever see one of the two outcomes.
This module starts with the cleanest case, the randomized experiment, including how to analyze it efficiently and how to do exact randomization inference. It then studies what can be done without randomization when treatment is as good as random after conditioning on observed characteristics: regression adjustment, matching, the propensity score, inverse probability weighting and doubly robust estimation. It ends with the uncomfortable question every such study faces: what if something important was not observed?
By the end of this module you will be able to
- Define potential outcomes, the ATE, ATT and CATE, and decompose a naive comparison into an effect plus selection bias.
- Analyse randomized experiments with regression adjustment and randomization inference.
- State unconfoundedness and overlap, and identify the ATE and ATT under them.
- Implement matching, propensity-score, IPW and doubly robust estimators and explain their trade-offs.
- Assess unconfoundedness with placebo tests and sensitivity analysis, and know the LaLonde benchmark.
What this module covers
- Potential outcomes and causal estimands
- Randomized experiments
- Selection on observables
- Weighting and doubly robust estimation
- Can we trust unconfoundedness?
- Problem set with step-by-step solutions
- Module quiz
Lesson 11.1 Free lesson
Potential outcomes and causal estimands
For each unit i and a binary treatment Di, define two potential outcomes: Yi(1), the outcome if treated, and Yi(0), the outcome if not. The unit’s causal effect is τi = Yi(1) − Yi(0). We observe only Yi = DiYi(1) + (1 − Di)Yi(0). This is the fundamental problem of causal inference: for every unit, one potential outcome is missing.
Because individual effects are unobservable, we target averages:
| Estimand | Definition | Answers |
|---|---|---|
| ATE | E[Y(1) − Y(0)] | What if everyone were treated rather than no one? |
| ATT | E[Y(1) − Y(0) | D = 1] | What did treatment do for those who got it? |
| ATU | E[Y(1) − Y(0) | D = 0] | What would it do for those who did not? |
| CATE | E[Y(1) − Y(0) | X = x] | How does the effect vary with characteristics? |
The notation assumes the stable unit treatment value assumption (SUTVA): a unit’s outcome depends only on its own treatment (no spillovers or interference), and there is only one version of the treatment. A discount offered to some café customers may affect others through queues, which violates SUTVA unless the design accounts for it.
Selection bias
The naive comparison of treated and untreated means decomposes as
The second term is selection bias: how the treated would have differed from the untreated even without treatment. Adding and subtracting E[Y(0) | D = 1] is the whole proof.
Worked example: Personal trainers at a gym
Members who hire a personal trainer average 9 visits a month; others average 6. The naive difference is 3.
Suppose the trainer’s true effect for those who hire one (ATT) is 1 visit. Then the selection bias is 2: trainer clients would have visited 8 times a month anyway, because motivated members are the ones who hire trainers.
No amount of data on visits alone separates the 1 from the 2. That requires a design (randomization) or assumptions (this module, Modules 12 and 13).
Key ideas
- Causal effects compare potential outcomes Y(1) and Y(0); only one is ever observed.
- ATE, ATT, ATU and CATE answer different questions and differ when effects vary.
- Naive difference = ATT + selection bias; SUTVA rules out spillovers and multiple versions of treatment.
Practice questions: Potential outcomes and selection on observables
Try these, then open each answer to check your work.
- 1.The difference in means between treated and untreated units equals
- the ATE plus noise
- the ATT plus selection bias
- the ATU minus selection bias
- always zero in large samples
Show answer
Answer: B. E[Y | D = 1] − E[Y | D = 0] = ATT + {E[Y(0) | D = 1] − E[Y(0) | D = 0]}.
- 2.The average treatment effect on the treated is
- E[Y(1) − Y(0)]
- E[Y | D = 1] − E[Y | D = 0]
- E[Y(1) − Y(0) | X]
- E[Y(1) − Y(0) | D = 1]
Show answer
Answer: D. ATT averages unit effects over those who were treated.
- 3.Why does randomization identify the ATE?
- It makes treatment independent of potential outcomes
- It makes effects the same for everyone
- It removes noise from outcomes
- It ensures overlap only
Show answer
Answer: A. With D ⊥ (Y(0), Y(1)), the untreated mean is an unbiased estimate of E[Y(0)] for everyone.
Problems with step-by-step solutions
- 4.Gym members who use a fitness app average 12 visits a month; others average 8. If those app users would have averaged 10 without the app, find the ATT and the selection bias.
Show step-by-step solution
- ATT = E[Y(1) | D = 1] − E[Y(0) | D = 1] = 12 − 10 = 2.
- Selection bias = E[Y(0) | D = 1] − E[Y(0) | D = 0] = 10 − 8 = 2. Naive difference 4 = 2 + 2.
- 5.Prove the decomposition E[Y | D = 1] − E[Y | D = 0] = ATT + selection bias.
Show step-by-step solution
- E[Y | D = 1] = E[Y(1) | D = 1] and E[Y | D = 0] = E[Y(0) | D = 0].
- Add and subtract E[Y(0) | D = 1]: the difference = {E[Y(1) | D = 1] − E[Y(0) | D = 1]} + {E[Y(0) | D = 1] − E[Y(0) | D = 0]}.
Get the full module
The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).
Join the waitlist Try a full module free
More practice: free practice questions for this course.