Search

Search papers and lessons

Potential Outcomes

Level 3 · 13 min read

The potential outcomes framework defines a causal effect as the difference between what happens to one unit with a treatment and without it, and shows why only one of those two can ever be seen.

On this page

  • Colour = topic mix
  • Probability
  • Discrete math
  • Calculus
  • Methods
  • Inference
  • ReadReady to readNot yet

TL;DR

The potential outcomes framework says that a causal effect is a comparison between two outcomes for the same unit: what happens to it with a treatment, and what would have happened to it without. Only one of those two outcomes is ever observed, so every causal method is a way of estimating the missing one. The framework is the standard language of Causal Inference.

Builds on: Counterfactual Reasoning, Conditional Expectation · Leads to: Average Treatment Effect, Selection Bias

Where it's used

Medicine and public health. A trial asks whether a drug lowers blood pressure. Each patient has a blood pressure reading with the drug and one without it, but the trial only sees one of them. The framework is how the trial's design and analysis are described, and how its estimate is compared with the effect the drug actually has for patients on average.

Economics and public policy. A city raises its minimum wage and an analyst asks what happened to employment. The framework names the quantity being estimated: employment in the city with the policy, minus employment in the same city in the same year without it. That second number cannot be read from any record.

Online experiments. A product team shows some users a new page layout and others the old one. The framework explains why the difference in average sign-ups between the two groups estimates the effect of the layout, and under what conditions it does not. When the assignment is random, this is a randomised experiment; when it is not, the same comparison can be off by selection bias.

How it works

Take four people, AA to DD. Each has two outcomes, a score with a tutoring course and a score without it. These numbers are invented for the walkthrough. The question is the Average Treatment Effect of the course, and the walkthrough shows why the obvious data-based answer can fail.

PersonScore with course, Y(1)Y(1)Score without, Y(0)Y(0)Effect Y(1)−Y(0)Y(1) - Y(0)
A807010
B605010
C90855
D706010
  1. Write down both outcomes for each person. Every person has a Y(1)Y(1) and a Y(0)Y(0). These are the potential outcomes, the scores they would have under each condition. Check: the table has two numbers per row.
  2. Take the difference for each person. The individual effect is Y(1)−Y(0)Y(1) - Y(0). Person A gains 10 points, person C gains 5. Check: the effects are 10, 10, 5 and 10.
  3. Average the effects. The average treatment effect is (10+10+5+10)/4=35/4=8.75(10 + 10 + 5 + 10)/4 = 35/4 = 8.75 points. Check: the column averages give the same answer. The average score with the course is 7575, the average without it is 66.2566.25, and 75−66.25=8.7575 - 66.25 = 8.75.
  4. Observe only one outcome per person. Suppose A and B take the course and C and D do not. Now each person shows one score: A 80, B 60, C 85, D 60. The other four values in the table are never seen. Check: each person has exactly one observed value.
  5. Compare the observed groups. The treated mean is (80+60)/2=70(80 + 60)/2 = 70, and the untreated mean is (85+60)/2=72.5(85 + 60)/2 = 72.5. The difference is 70−72.5=−2.570 - 72.5 = -2.5. The naive comparison says the course lowers scores, but the true average effect is +8.75+8.75. Check: the naive answer has the wrong sign, which is the point of the framework.
  6. Ask what went wrong. The treated group, A and B, would have scored lower without the course than the untreated group would have, because their untreated scores are 7070 and 5050, a mean of 6060, while C and D average 72.572.5. The gap of −12.5-12.5 is the problem. It is a difference between the groups, not an effect of the course, and it is the confounding that a fair comparison has to remove. Check: −2.5=10+(−12.5)-2.5 = 10 + (-12.5), the average effect on the treated plus the baseline gap.
flowchart LR
  U["Unit i with two outcomes: Y(1) and Y(0)"] --> T{"Treatment assigned?"}
  T -->|yes| O1["Observed: Y(1); Y(0) missing"]
  T -->|no| O0["Observed: Y(0); Y(1) missing"]
  O1 --> C["Compare with other units to estimate the missing outcome"]
  O0 --> C

The math

Setup

Let Ti∈{0,1}T_i \in \{0, 1\} indicate whether unit ii receives the treatment, where 11 means treated. Each unit has two potential outcomes: Yi(1)Y_i(1), the outcome if treated, and Yi(0)Y_i(0), the outcome if not. The outcome we actually record is

Yi=Ti Yi(1)+(1−Ti) Yi(0).Y_i = T_i\, Y_i(1) + (1 - T_i)\, Y_i(0).

If Ti=1T_i = 1, the recorded outcome is Yi(1)Y_i(1), and the other is missing. This is the fundamental problem of causal inference: for each unit, one of the two outcomes is always unobserved.

Step 1 in symbols: the potential outcomes

Each unit ii is paired with two numbers Yi(1)Y_i(1) and Yi(0)Y_i(0). In the table, these are the two score columns. The notation treats them as fixed properties of the unit, which is what makes the effect well defined even though we cannot see both.

Step 2 in symbols: the individual effect

Definition: Individual treatment effect

For unit ii, the effect of the treatment is τi=Yi(1)−Yi(0)\tau_i = Y_i(1) - Y_i(0). It is defined for every unit and observed for none.

Person A has τA=80−70=10\tau_A = 80 - 70 = 10. The formula gives a value for every row, even though no single row contains both values at once in real data.

Step 3 in symbols: the average effect

Definition: Average treatment effect

The average treatment effect is τ=E[Y(1)−Y(0)]\tau = \mathbb{E}[Y(1) - Y(0)], the expected value of the individual effect over the population. By linearity, τ=E[Y(1)]−E[Y(0)]\tau = \mathbb{E}[Y(1)] - \mathbb{E}[Y(0)].

In the table, E[Y(1)]\mathbb{E}[Y(1)] is the mean of the first column, 7575, and E[Y(0)]\mathbb{E}[Y(0)] is the mean of the second, 66.2566.25. Their difference is 8.758.75, the same as the average of the four individual effects. See Average Treatment Effect for the estimand in more depth.

Step 4 in symbols: the naive comparison

What we can compute from data is the difference in observed means. Since T=1T = 1 reveals Y(1)Y(1) and T=0T = 0 reveals Y(0)Y(0),

E[Y∣T=1]−E[Y∣T=0]=E[Y(1)−Y(0)∣T=1]+(E[Y(0)∣T=1]−E[Y(0)∣T=0]).\mathbb{E}[Y \mid T = 1] - \mathbb{E}[Y \mid T = 0] = \mathbb{E}[Y(1) - Y(0) \mid T = 1] + \bigl(\mathbb{E}[Y(0) \mid T = 1] - \mathbb{E}[Y(0) \mid T = 0]\bigr).

The first term is the average effect among the treated, which is 1010 in the example. The bracketed term is the selection bias: the difference in untreated outcomes between the groups, which is 60−72.5=−12.560 - 72.5 = -12.5. The two terms add to −2.5-2.5, the naive answer from step 5.

Step 5 in symbols: randomisation

If a fair coin decides treatment, then TT is independent of both potential outcomes. Then E[Y(0)∣T=1]=E[Y(0)∣T=0]=E[Y(0)]\mathbb{E}[Y(0) \mid T = 1] = \mathbb{E}[Y(0) \mid T = 0] = \mathbb{E}[Y(0)], the selection term vanishes, and the naive difference estimates τ\tau without bias.

Check with the four people. Each assignment that treats exactly two of them is equally likely. There are six such assignments, and we can list the estimate for each (the treated mean of Y(1)Y(1) minus the untreated mean of Y(0)Y(0)): {A,B}\{A, B\} gives −2.5-2.5, {A,C}\{A, C\} gives 3030, {A,D}\{A, D\} gives 7.57.5, {B,C}\{B, C\} gives 1010, {B,D}\{B, D\} gives −12.5-12.5, and {C,D}\{C, D\} gives 2020. The six numbers sum to 52.552.5, and their average is 52.5/6=8.7552.5/6 = 8.75. That matches τ\tau.

The individual estimates range from −12.5-12.5 to 3030, so one randomised study with four people can be far off. Randomisation makes the estimate correct on average; it does not make one estimate exact. See Randomised Controlled Trial.

Worked examples

Example
Example 1: one person, one course

Ana scores 80 after taking a tutoring course. Her score without the course is not observed, and is taken to be 70 in this model. That missing 70 is a counterfactual value.

  1. The two potential outcomes are Y(1)=80Y(1) = 80 and Y(0)=70Y(0) = 70.
  2. The individual effect is τ=80−70=10\tau = 80 - 70 = 10.
  3. Ana's course added 10 points to her score.

Interpretation: the effect is a difference between two versions of the same person. Only one version happened, so the 70 is a counterfactual, a number for a world that did not occur.

Example
Example 2: the four-person table

Using the table above, with AA and BB treated and CC and DD untreated. The naive difference is a selection-biased estimate here, and the steps below separate the two parts.

  1. Observed treated outcomes: YA=80Y_A = 80 and YB=60Y_B = 60. Their mean is 7070.
  2. Observed untreated outcomes: YC=85Y_C = 85 and YD=60Y_D = 60. Their mean is 72.572.5.
  3. Naive difference: 70−72.5=−2.570 - 72.5 = -2.5.
  4. Effect on the treated: E[Y(1)−Y(0)∣T=1]=(10+10)/2=10\mathbb{E}[Y(1) - Y(0) \mid T = 1] = (10 + 10)/2 = 10.
  5. Selection term: E[Y(0)∣T=1]=(70+50)/2=60\mathbb{E}[Y(0) \mid T = 1] = (70 + 50)/2 = 60 and E[Y(0)∣T=0]=(85+60)/2=72.5\mathbb{E}[Y(0) \mid T = 0] = (85 + 60)/2 = 72.5. The difference is −12.5-12.5.
  6. Check: 10+(−12.5)=−2.510 + (-12.5) = -2.5, matching step 3.

Interpretation: the naive comparison is wrong because the course was not given to a random set of people. A and B would have scored lower than C and D even without the course. The course's true average effect for the whole group is 8.758.75, but the data alone would suggest a loss.

Example
Example 3: a voter-mailing study, and a try-it

Suppose a county randomly chooses 500 of 1,000 registered voters to receive a reminder postcard before an election, as in a randomised trial. The other 500 receive nothing. These numbers are hypothetical, to show the arithmetic.

  1. Turnout among voters who received the card is 0.520.52, so 0.52×500=2600.52 \times 500 = 260 voters voted.
  2. Turnout among voters who did not receive the card is 0.480.48, so 0.48×500=2400.48 \times 500 = 240 voters voted.
  3. The difference in turnout rates is 0.52−0.48=0.040.52 - 0.48 = 0.04, or 4 percentage points.
  4. Because assignment was random, this difference estimates the average effect of the postcard on the 1,000 voters, with the usual sampling noise.
  5. The rates 52 and 48 percent are not effects. Only their difference, 4 points, is the estimate of the effect.

Interpretation: the postcard raised turnout by about 4 percentage points on average. The potential outcomes framework says what the 4 points estimate: the average over everyone of voting with the card minus voting without it.

Try it: the same county instead lets voters choose whether to read the postcard, and among those who read it turnout is 70 percent, while among those who did not it is 45 percent. What does the naive comparison say, and why can it not be read as the effect of the postcard?

Answer: the naive difference is 0.70−0.45=0.250.70 - 0.45 = 0.25, or 25 points. It cannot be read as the effect, because the people who choose to read a postcard are likely to differ in ways that also affect turnout, such as interest in the election. That gap is selection bias, and it is mixed into the 25 points.

Common mistakes and tradeoffs

It is tempting to think that a causal effect can be read from one person's before and after scores. In fact the before and after differ because of time, not only the treatment. The framework asks for a comparison with the same person under the other condition, which is the counterfactual, and before-and-after data does not supply it.

It is tempting to think that a large observed difference between groups is an effect. In fact it is an effect only when the groups would have had the same outcomes without treatment. In the four-person table, the naive answer had the wrong sign because the people who took the course started from lower untreated scores (a mean of 60, against 72.5 for the others).

It is tempting to think that randomisation makes a single study exact. In fact it makes the estimate correct on average over assignments, while any one study has noise. The six assignments above range from −12.5-12.5 to 3030.

When to use the framework: it is the clearest way to state what a causal question is asking, and it applies whenever a treatment, policy or intervention could be compared with its absence.

When not to use it: the framework is about a well-defined treatment on a defined population. If the treatment is vague, or if one unit's treatment changes another unit's outcome, as with some vaccines or network effects, the simple definitions need extending.

Alternatives: when randomisation is impossible, designs such as Difference-in-Differences and Instrumental Variables try to recover the missing outcome from other assumptions, and regression adjustment tries to remove the confounding by controlling for measured differences. Each of them still answers a question in the potential outcomes language.

History

The idea that a cause is a comparison with a counterfactual is old, and philosophers discussed it long before statistics adopted it. In statistics, Jerzy Neyman's 1923 paper on agricultural field trials used potential-outcome notation for the yield under each treatment. The framework was made general by Donald Rubin, whose 1974 paper on Causal Inference in randomised and non-randomised studies is the usual starting point; the name the Rubin causal model came later.

Paul Holland's 1986 review set out the framework and its assumptions in a form that became the standard reference for statisticians and social scientists. It spread quickly through economics, political science and epidemiology, because the same notation could describe trials, observational studies and natural experiments.

Recap

  • A causal effect compares Y(1)Y(1) and Y(0)Y(0) for the same unit, with Counterfactual Reasoning supplying the missing outcome.
  • Only one potential outcome is observed per unit, which is the fundamental problem of causal inference.
  • The average effect is E[Y(1)−Y(0)]\mathbb{E}[Y(1) - Y(0)], and the naive difference in observed means equals it only when the selection term is zero.
  • Randomisation makes the selection term zero on average, so the difference in sample means is unbiased for the Average Treatment Effect.
  • Read next: Selection Bias for how the naive comparison goes wrong, and Randomised Controlled Trial for the design that removes it.

Check yourself

QuestionWhy can the individual treatment effect Yi(1)−Yi(0)Y_i(1) - Y_i(0) never be computed directly from data?Show answer

For each unit we observe only the outcome under the treatment it actually received. The other potential outcome is the counterfactual, a value for a world that did not happen. The individual effect needs both, so it is defined but never observed for any single unit.

QuestionUsing the four-person table, what is the average treatment effect, and what is the naive difference when A and C are treated?Show answer

The average treatment effect is (10+10+5+10)/4=8.75(10 + 10 + 5 + 10)/4 = 8.75. With A and C treated, the treated observed mean is (80+90)/2=85(80 + 90)/2 = 85 and the untreated observed mean is (50+60)/2=55(50 + 60)/2 = 55, so the naive difference is 85−55=3085 - 55 = 30.

QuestionWhy does randomisation make the difference in sample means an unbiased estimate of the average effect, even though the naive comparison in a non-random design is biased?Show answer

Randomisation makes treatment independent of the potential outcomes. Then the untreated outcomes of the treated group have the same average as those of the untreated group, so the selection term is zero. The remaining term is the average effect among the treated, which equals the average effect over everyone when treatment is independent of outcomes.

QuestionA hospital compares patients who chose a new drug with patients who did not, and finds the drug group recovers faster. Why is this not yet evidence of the drug's effect?Show answer

Patients who choose a drug may differ in severity, access to care or adherence, and those differences may affect recovery on their own. That is confounding and selection bias mixed together. In the framework, the untreated outcomes of the drug group may differ from those of the non-drug group, so the naive difference includes selection bias. A design that randomises who gets the drug, or that adjusts for those differences, is needed to estimate the effect.

Sources