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 , and suppose it is divided into groups , such as urban and rural voters. Let be the average treatment effect in group , and let be the share of the target population in that group. The target average effect is
A study samples a different mix. Let be the share of the study sample in group . Even if every is estimated perfectly, the study average is
The gap is
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, constant. Otherwise the gap depends on how much the sample over-represents the groups with large effects.
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 by the target shares . 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 estimates. Those are the concerns of Descriptive Inference. External validity is about which groups were studied, not how precisely.
Worked examples
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.
- The target average effect is points.
- The study estimate is the effect in city A alone: points.
- The external validity error is 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.
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.
- The study average is points.
- The target average is points.
- 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.
| Situation | What goes wrong | Better choice |
|---|---|---|
| Convenient sample, such as volunteers or students | The effect reflects the people who agreed to take part | Sample from the target population, or describe the sample and its limits |
| One site, such as one city or one school | Local conditions drive the effect | Run the study in several sites and look at how the effect varies |
| Effect is large in the study but the mechanism is local | The same treatment may do little elsewhere | Test the mechanism directly, as in Causal Mechanism |
| Using a representative survey to claim causation | Representative does not mean the comparison was fair | Separate the two questions and check Internal Validity first |
| Single case offered as a general lesson | One case can be typical or unusual, and the case alone cannot show which | Use 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 . The target effect is . The external validity error is 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
- External validity (Wikipedia)
- Internal validity (Wikipedia)
- Allcott, Site Selection Bias in Program Evaluation, Quarterly Journal of Economics, 2015. doi:10.1093/qje/qjv015