Search

Search papers and lessons

Counterfactual Reasoning

Level 3 · 10 min read

Counterfactual reasoning asks what would have happened under a different condition, and it is the logic behind every causal claim about a single case.

On this page

  • Colour = topic mix
  • Probability
  • Methods
  • Sign in to see your progress

TL;DR

A counterfactual is a claim about a world that did not happen: "if the election had gone the other way, the policy would not have passed." Saying that XX caused YY means that YY would have been different had XX been different, with everything else held as close to the real world as possible. Counterfactual reasoning is how we make that comparison explicit, and it is the logic behind nearly every causal claim in political science.

Where you'll see it: in the question "what would have happened without this treaty, this war or this reform?", in the potential-outcomes framework used to estimate the effect of a policy, and in case studies that test whether a cause was necessary for an outcome.

This lesson is an explanation of a research method. It is not advice about any real decision.

Intuition

Comparing two versions of the same thing

Suppose a city raises its minimum wage and you want to know what the policy did to unemployment. The real question is not "how high is unemployment now?" It is "how high would unemployment be in this city, this year, if it had not raised the wage?" That second world never happened. You cannot observe it. Counterfactual reasoning is the discipline of reasoning about that unobserved world carefully, so that the gap between the two worlds can be treated as the effect.

Every causal question has this shape. The effect of a cause for one unit is the difference between two outcomes of the same unit: the outcome it had with the cause, and the outcome it would have had without it. We observe at most one of those two outcomes. The other one is the counterfactual.

The idea is old. David Hume defined causation in the Enquiry Concerning Human Understanding (1748) by pointing to a counterfactual: a cause is an event such that, had it not occurred, the effect would not have followed. Modern philosophers such as David Lewis (1973) gave this a precise semantics, reading "if AA had happened, CC would have happened" as true when CC holds in the nearest possible world where AA holds. Political scientists took the idea into their methods because almost every interesting political question is a comparison with a world that did not occur.

Why it is hard in politics

Political events are unique. There is one 1956 Hungarian uprising, one Brexit referendum, one end of the Cold War. You cannot re-run history with the same country, the same leaders and the same economy, changing only one thing. That makes the usual laboratory answer unavailable. Counterfactual reasoning is therefore a way of making the unseen comparison explicit, checking its plausibility, and then testing the causal claim against evidence that bears on it.

The math

Start with a set of units i=1,…,Ni = 1, \dots, N (people, cities, countries). Each unit has a binary treatment Di∈{0,1}D_i \in \{0, 1\}, where Di=1D_i = 1 means the unit receives the cause, and two potential outcomes:

Yi(1)=the outcome unit i would have if Di=1,Yi(0)=the outcome unit i would have if Di=0.Y_i(1) = \text{the outcome unit } i \text{ would have if } D_i = 1, \qquad Y_i(0) = \text{the outcome unit } i \text{ would have if } D_i = 0.

The outcome we actually observe is

Yi=Di Yi(1)+(1−Di) Yi(0).Y_i = D_i\, Y_i(1) + (1 - D_i)\, Y_i(0).

Each unit's individual causal effect is

τi=Yi(1)−Yi(0).\tau_i = Y_i(1) - Y_i(0).

This is a difference between two counterfactual quantities. For any unit, exactly one of Yi(1)Y_i(1) and Yi(0)Y_i(0) is observed, because DiD_i can only take one value at a time. Holland (1986) called this the fundamental problem of causal inference: τi\tau_i is never directly observed for a single unit.

The quantity political scientists usually want is the average treatment effect:

ATE=E[τi]=E[Yi(1)]−E[Yi(0)].\text{ATE} = \mathbb{E}[\tau_i] = \mathbb{E}[Y_i(1)] - \mathbb{E}[Y_i(0)].

Why a naive comparison can mislead

The simplest estimate compares the average observed outcome of treated and untreated units:

Δ^=E[Yi∣Di=1]−E[Yi∣Di=0].\hat{\Delta} = \mathbb{E}[Y_i \mid D_i = 1] - \mathbb{E}[Y_i \mid D_i = 0].

Substitute the definition of YiY_i. Treated units show Yi(1)Y_i(1) and untreated units show Yi(0)Y_i(0), so

Δ^=E[Yi(1)∣Di=1]−E[Yi(0)∣Di=1]⏟effect on the treated  +  E[Yi(0)∣Di=1]−E[Yi(0)∣Di=0]⏟selection bias.\hat{\Delta} = \underbrace{\mathbb{E}[Y_i(1) \mid D_i = 1] - \mathbb{E}[Y_i(0) \mid D_i = 1]}_{\text{effect on the treated}} \;+\; \underbrace{\mathbb{E}[Y_i(0) \mid D_i = 1] - \mathbb{E}[Y_i(0) \mid D_i = 0]}_{\text{selection bias}}.

The first term is the effect on the treated. The second term is the gap in untreated outcomes between the two groups, which would exist even if the treatment did nothing. It is bias whenever the groups differ before treatment.

When the counterfactual comes for free

If treatment is assigned at random, the treated and control groups have the same distribution of potential outcomes. Formally, DiD_i is independent of (Yi(1),Yi(0))(Y_i(1), Y_i(0)) (see Statistical Independence). Then

E[Yi(0)∣Di=1]=E[Yi(0)∣Di=0]=E[Yi(0)],\mathbb{E}[Y_i(0) \mid D_i = 1] = \mathbb{E}[Y_i(0) \mid D_i = 0] = \mathbb{E}[Y_i(0)],

and the selection term vanishes. Using the same argument for Yi(1)Y_i(1):

E[Yi∣Di=1]−E[Yi∣Di=0]=E[Yi(1)]−E[Yi(0)]=ATE.\mathbb{E}[Y_i \mid D_i = 1] - \mathbb{E}[Y_i \mid D_i = 0] = \mathbb{E}[Y_i(1)] - \mathbb{E}[Y_i(0)] = \text{ATE}.

The randomized control group stands in for the counterfactual of the treated group, on average. Most of the rest of this lesson is about what to do when no one has randomized.

Worked examples

Example
A tiny hand-computable world

Four voters, with turnout as the outcome (1 means voted, 0 means did not). To keep numbers simple, write the outcome as a percentage chance of turnout. Each voter has two potential outcomes, with and without a get-out-the-vote contact:

VoterYi(1)Y_i(1) (contacted)Yi(0)Y_i(0) (not contacted)τi\tau_i
A605010
B40400
C705515
D3035-5
  1. The true average effect is ATE=(10+0+15−5)/4=20/4=5\text{ATE} = (10 + 0 + 15 - 5)/4 = 20/4 = 5 points.
  2. Suppose the campaign contacts voters A and D, the ones it judges most likely to respond. The observed outcomes are YA=60Y_A = 60, YD=30Y_D = 30 for the treated, and YB=40Y_B = 40, YC=55Y_C = 55 for the untreated.
  3. Naive estimate: Δ^=(60+30)/2−(40+55)/2=45−47.5=−2.5\hat{\Delta} = (60 + 30)/2 - (40 + 55)/2 = 45 - 47.5 = -2.5.
  4. The naive estimate says the contact lowers turnout by 2.5 points. The true average effect is +5 points.
  5. Decompose it. The effect on the treated is (10+(−5))/2=2.5(10 + (-5))/2 = 2.5. The selection term is E[Y(0)∣treated]−E[Y(0)∣untreated]=(50+35)/2−47.5=42.5−47.5=−5\mathbb{E}[Y(0) \mid \text{treated}] - \mathbb{E}[Y(0) \mid \text{untreated}] = (50 + 35)/2 - 47.5 = 42.5 - 47.5 = -5. Check: 2.5+(−5)=−2.52.5 + (-5) = -2.5.

Interpretation. The campaign targeted voters who were already less likely to vote without help (their untreated outcomes were low). The naive comparison confuses who was targeted with what the contact did. The counterfactual Yi(0)Y_i(0) for the treated voters was what fixed the answer.

Example
A policy counterfactual for a single city

A city adds a bus lane in 2015. Before the change, average daily bus ridership was 10,000. In 2016 it is 12,000. Ridership in similar comparison cities rose 5% over the same period, for reasons unrelated to this city's policy.

  1. To estimate the counterfactual, assume the city would have followed the comparison cities' trend. Counterfactual ridership: 10,000×1.05=10,50010{,}000 \times 1.05 = 10{,}500.
  2. Observed ridership: 12,00012{,}000.
  3. Estimated effect of the bus lane: 12,000−10,500=1,50012{,}000 - 10{,}500 = 1{,}500 extra daily riders.
  4. The answer depends on one assumption, that the trend in comparison cities is the right stand-in for what this city would have done. If the city was already on a rising path for other reasons, the 1,500 is partly a trend, not a policy effect.

Interpretation. The whole estimate is a counterfactual trajectory. The number is only as credible as the story about the untreated world. (These figures are illustrative, not drawn from any real city.)

024681040506070dose of the program (arbitrary units)outcome
  • with the policy
  • without the policy (counterfactual)
For the same unit at dose 4, one point is observed and one is counterfactual. The vertical gap between the lines is that unit's effect. Illustrative curves only.

Tradeoffs and failure modes

Counterfactual reasoning is powerful but easy to misuse. Most failures come from a counterfactual that is implausible, untested, or quietly assumed.

SituationProblemBetter choice
Random assignment is possibleObservational comparisons carry selection biasRandomize, or use a design whose counterfactual is credible
Many similar cases, one treatedThe comparison trend may be the wrong stand-inCheck pre-treatment trends and test placebo cases
One unique case, a single causeAny counterfactual is an assumption about an unobserved worldMake the counterfactual explicit, trace the Causal Mechanism, and test its predictions in other evidence
Story about "what would have happened"Unfalsifiable if vagueState the nearest plausible world and which facts would change if the claim were wrong
Dramatic single eventHindsight makes the outcome seem inevitableAsk what else had to be true, and whether the counterfactual could have occurred

When to use it. Use counterfactual reasoning whenever a causal claim is being made, especially when randomization is not possible. It forces the comparison into the open.

When not to. Do not rely on counterfactual stories to carry an argument alone when the evidence can test the claim directly. A plausible-sounding "without X, Y would not have happened" is weak support if no one can say what would have changed.

Alternatives. For many cases, Causal Inference designs such as experiments, difference-in-differences and synthetic controls give counterfactuals with explicit assumptions. For a single case, Case Study Method uses process evidence and the mechanism to test whether a cause was necessary. Thinking about Internal Validity and External Validity tells you whether the counterfactual applies to the case you care about.

History

The philosophical root is Hume's Enquiry Concerning Human Understanding (1748), which tied causation to what would have followed had the cause been absent. In the twentieth century, David Lewis (1973) gave counterfactual conditionals a possible-worlds semantics.

In statistics, Jerzy Neyman introduced the potential-outcomes notation for randomized experiments in the 1920s. Donald Rubin (1974) extended it to observational studies, and Paul Holland (1986) named the fundamental problem of causal inference and popularized the framework, which is now often called the Rubin causal model.

Political scientists brought counterfactual reasoning into their methods in the 1990s. James Fearon (1991, World Politics) argued that counterfactual claims in political history should be treated as testable hypotheses, with the plausibility of the imagined world made explicit. Philip Tetlock and Aaron Belkin (1996) collected essays on counterfactual thought experiments in world politics. The idea caught on because it gave scholars a shared standard for judging "what if" claims.

Check yourself

QuestionRecall: what is the difference between Yi(1)Y_i(1) and Yi(0)Y_i(0), and why can't we observe both for one unit?Show answer

Yi(1)Y_i(1) is the outcome unit ii would have if it received the treatment, and Yi(0)Y_i(0) is the outcome if it did not. Each unit is either treated or not at a given time, so only one of these is realized. The other is counterfactual, which is why τi=Yi(1)−Yi(0)\tau_i = Y_i(1) - Y_i(0) cannot be measured for a single unit directly.

QuestionComputation: four units have τ=4,0,8,−4\tau = 4, 0, 8, -4. What is the ATE?Show answer

The ATE is the mean of the individual effects: (4+0+8−4)/4=8/4=2(4 + 0 + 8 - 4)/4 = 8/4 = 2.

QuestionWhy: under random assignment, why does the difference in observed means equal the ATE?Show answer

Random assignment makes DiD_i independent of the potential outcomes, so the treated and control groups have the same expected Y(0)Y(0) and the same expected Y(1)Y(1). The control group's observed mean is therefore a fair stand-in for what the treated group would have shown without treatment. The selection term in the decomposition therefore vanishes, leaving E[Y(1)]−E[Y(0)]\mathbb{E}[Y(1)] - \mathbb{E}[Y(0)], which is the ATE. Without randomization, the untreated outcomes of the two groups can differ for reasons unrelated to treatment, and that gap is bias.

QuestionApplied: a historian argues that a 1930s election would have produced a war even without a particular diplomatic failure. What should you check?Show answer

Check whether the imagined world is a plausible nearest world: what else would have had to differ, and what evidence exists about the decision-makers' intentions in the counterfactual case. Then look for predictions of the claim that could be tested in the historical record, such as statements, orders, or other cases with similar conditions, and ask whether the diplomatic failure was necessary by that test. A vague "war was inevitable" is not enough to evaluate.

Sources