Search

Search papers and lessons

External Validity

Level 3 · 9 min read

External validity asks whether a causal effect found in one study holds for other people, places and times, and it depends on whether the study's sample matches the population the claim is about.

On this page

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

TL;DR

A study can find a clean causal effect and still tell you little about the place you care about. External validity is the question of whether that effect carries over to other people, settings and times. It is answered by comparing the population the study actually sampled with the population the claim is about, and by checking whether the effect depends on features that differ between them.

Where you'll see it: when a policy trial run in one city is proposed for the whole country, when a finding from one election is used to predict another, and when a single case study is offered as a lesson for many.

This lesson assumes Internal Validity, because external validity is the second question to ask once the first has been answered. A result that is not internally valid has no clean effect to carry anywhere.

Intuition

The right effect for the wrong place

Suppose a reminder letter raises turnout in a trial run in a university town. The effect is real there. Now a state government wants to send the same letter across a rural state. The trial answers a question about university towns. Whether it answers the rural question depends on whether rural voters respond the same way, and the trial cannot say.

Two things can differ between the study and the target. The people might differ in ways that change how they respond, such as their income or their existing habits. Or the setting might differ in ways that change how the treatment works, such as the local media or the strength of party organisation. Either difference can make the effect in the target larger, smaller, or even of the opposite sign.

flowchart LR
  TP["target population: the claim is about this"] --> SS["sampled: who the study could reach"]
  SS --> ST["study: treatment effect estimated here"]
  ST --> G["generalization: does the effect carry over?"]
  TP --> G

The arrow from the study to the target is the leap that external validity judges. It is not the same leap as the one in internal validity, which judges whether the comparison inside the study is fair.

Why a big sample is not enough

A very large sample can be badly unrepresentative. An effect estimated precisely in a sample of ten million people can still be wrong for a target population that is different in the ways that matter. Size reduces random error. It does nothing about who was sampled. External validity is a question about the design, not about the number of observations.

The math

Let the target population be P\mathcal{P}, and suppose it is divided into groups gg, such as urban and rural voters. Let τg\tau_g be the average treatment effect in group gg, and let πg\pi_g be the share of the target population in that group. The target average effect is

τP=∑gπg τg.\tau_{\mathcal{P}} = \sum_g \pi_g \, \tau_g.

A study samples a different mix. Let σg\sigma_g be the share of the study sample in group gg. Even if every τg\tau_g is estimated perfectly, the study average is

τstudy=∑gσg τg.\tau_{\text{study}} = \sum_g \sigma_g \, \tau_g.

The gap is

τstudy−τP=∑g(σg−πg) τg.\tau_{\text{study}} - \tau_{\mathcal{P}} = \sum_g (\sigma_g - \pi_g) \, \tau_g.

This is the external validity error. It is zero when the sample mix matches the target mix, or when the group effects are the same, τg\tau_g constant. Otherwise the gap depends on how much the sample over-represents the groups with large effects.

Definition: Transportability

An effect is transportable to a target population when the causal effect in the study can be computed for the target from data about the target's group shares, for example by reweighting the group effects τg\tau_g by the target shares πg\pi_g. The reweighting needs the assumption that the group effects are the same in the study and the target, which is itself untestable.

Notice what the formula does not contain. It does not contain the sample size, and it does not contain the random error in the τg\tau_g estimates. Those are the concerns of Descriptive Inference. External validity is about which groups were studied, not how precisely.

Worked examples

Example
Three cities, one city studied

A voter reminder experiment was run only in city A. Suppose the true effects in three cities, which together form the target, are: city A 4 points, city B 2 points, city C 0 points. The target population gives each city an equal share.

  1. The target average effect is τP=(4+2+0)/3=2\tau_{\mathcal{P}} = (4 + 2 + 0) / 3 = 2 points.
  2. The study estimate is the effect in city A alone: τstudy=4\tau_{\text{study}} = 4 points.
  3. The external validity error is 4−2=+24 - 2 = +2 points.

Interpretation: the study is accurate for city A, but it doubles the effect if read as a statement about the three-city target. Its estimate would be the same however many voters were in it, because the problem is the choice of city.

Example
Reweighting a skewed sample

A survey experiment on a civic programme is run mostly among urban respondents. The sample is 80 percent urban. In urban areas the effect is 6 points, and in rural areas it is 1 point. The target population is 30 percent urban and 70 percent rural.

  1. The study average is τstudy=0.8×6+0.2×1=4.8+0.2=5.0\tau_{\text{study}} = 0.8 \times 6 + 0.2 \times 1 = 4.8 + 0.2 = 5.0 points.
  2. The target average is τP=0.3×6+0.7×1=1.8+0.7=2.5\tau_{\mathcal{P}} = 0.3 \times 6 + 0.7 \times 1 = 1.8 + 0.7 = 2.5 points.
  3. Reweighting the urban and rural effects to the target shares gives the transported estimate of 2.5 points, half the study figure.

Interpretation: the raw study result overstates the effect for the target by a factor of two, even though the comparison inside the study is fair. Reweighting helps only if the rural effect of 1 point is itself measured well and if the effect within each group is the same across the two samples. If the rural respondents in the study were unlike rural voters in general, the reweighting is only as good as that assumption.

Tradeoffs and failure modes

External validity is never proven from one study. It is built up from design choices, replication across settings, and an explicit account of what would have to differ for the result to fail.

SituationWhat goes wrongBetter choice
Convenient sample, such as volunteers or studentsThe effect reflects the people who agreed to take partSample from the target population, or describe the sample and its limits
One site, such as one city or one schoolLocal conditions drive the effectRun the study in several sites and look at how the effect varies
Effect is large in the study but the mechanism is localThe same treatment may do little elsewhereTest the mechanism directly, as in Causal Mechanism
Using a representative survey to claim causationRepresentative does not mean the comparison was fairSeparate the two questions and check Internal Validity first
Single case offered as a general lessonOne case can be typical or unusual, and the case alone cannot show whichUse Case Study Method with an explicit account of the scope of the claim

A practical rule: name the population the claim is about, name the population the study covered, and write down the features that could make the effect differ. A claim that cannot state its population is not yet a generalization.

Site selection is a particular danger. Programmes often succeed first in places chosen for good management, and the early effects are not the effects of a typical rollout. Allcott's analysis of energy programmes made this point with large-scale data and showed that early sites can differ enough to bias the expected effect of expansion.

History

The distinction between internal and external validity is usually traced to Donald Campbell and Julian Stanley, whose 1963 book on experimental and quasi-experimental designs set out the two concepts as a checklist for research. Campbell and Thomas Cook expanded the framework in the late 1970s, and it is still the standard vocabulary in applied social science.

In political science the question became sharper as field experiments grew common in the 2000s. Researchers ran trials on turnout, persuasion and information in particular cities, and the question of whether results would carry to other places followed naturally. The debate over case studies in the same period asked a related question from the qualitative side: what a single case can establish about the rest of its class.

Check yourself

QuestionRecall: how does external validity differ from internal validity?Show answer

Internal validity asks whether the comparison inside a study fairly measures the treatment effect for the units studied. External validity asks whether that effect holds for a different population, setting or time. A study can have one without the other: a fair comparison in one city may not generalise, and a representative sample may still contain an unfair comparison.

QuestionComputation: a study sample is 50 percent group X with effect 8 and 50 percent group Y with effect 2. The target population is 20 percent X and 80 percent Y. What is the study estimate, what is the target effect, and what is the error?Show answer

The study estimate is 0.5×8+0.5×2=50.5 \times 8 + 0.5 \times 2 = 5. The target effect is 0.2×8+0.8×2=1.6+1.6=3.20.2 \times 8 + 0.8 \times 2 = 1.6 + 1.6 = 3.2. The external validity error is 5−3.2=1.85 - 3.2 = 1.8 points, so the study overstates the target effect by about 56 percent.

QuestionWhy: why does a larger sample not fix external validity?Show answer

A larger sample reduces random error in the estimate, but it does not change who was sampled. If the study over-represents groups with large effects, every extra observation is drawn from the same unrepresentative mix, and the estimate converges precisely to the wrong target. External validity depends on the design of the sample and on whether the effect is stable across groups, not on how many units were observed.

QuestionApplied: a campaign tested a door-knock in three swing districts and found a large effect. The party wants to use the same approach nationwide. What should the analysis check before recommending it?Show answer

It should check whether the three districts resemble the national population on the features that could change the effect, such as turnout history, competitiveness, and local organisation. It should look for variation in the effect across the districts, and report the scope it can defend. If the nationwide targets include places unlike the sample, the honest claim is about the kinds of places studied, and the national effect should be estimated from a sample that includes them.

Sources