Evidence explainer

Evidence and research methods

The Ecological Fallacy: Keep the Claim at the Level of the Data

A relationship between group averages says nothing about how two characteristics are paired inside individual people. Population questions and personal risk are different questions.

Fully reviewed by Jasaman (Jasmin) Tojjar, MD, PhD

On this page
  1. Find the unit represented by each dot
  2. What aggregation removes
  3. Why the direction can reverse
  4. Area-level confounding
  5. Ecological studies are not failed individual studies
  6. Contextual effects need both levels
  7. A worked reading example
  8. A six-question cross-level audit

If counties with more green space have lower diabetes rates, it does not follow that the people using green space are the people with lower risk. The county-level pattern may be real, useful, and relevant to policy, but the data do not link each person's behavior with that person's outcome, and the ecological fallacy occurs when a conclusion crosses that level boundary without the information needed to support it.

Find the unit represented by each dot#

The fastest way to recognize an ecological analysis is to look at the rows of the dataset, or at what each dot in the graph stands for. If each row is one country, county, hospital, or year, the analysis is about groups. If each row is a person with that person's measured factor and outcome, it is individual-level.

News summaries often blur this distinction. A headline may say, "People in high-consumption countries have more disease," when the study measured national consumption and national disease rates; that wording silently pairs two characteristics within people even though the data only pair national averages.

The unit of analysis need not be geographical. Comparing hospitals by staffing ratios and mortality is ecological if no patient-level linkage is used. Comparing schools, workplaces, birth cohorts, or calendar periods can raise the same cross-level issue.

What aggregation removes#

Imagine two towns, each with 100 residents. In Town A, 60 people drink a beverage and 30 develop an outcome. Those two totals do not tell you whether the 30 cases are drinkers. Every case could occur among drinkers, none could, or the cases could be spread somewhere in between, and the group summary is compatible with all of it.

When researchers collapse people into averages, they discard this joint distribution. They also conceal variation within groups. Two towns can share the same average income while one has a narrow middle-income distribution and the other combines extreme wealth and poverty. Treating the averages as equivalent erases a potentially causal difference. No statistical adjustment using only the same aggregate totals can recreate information that was never recorded in the first place, and although sophisticated spatial models may handle geographic correlation and measured area characteristics, the individual pairing remains unidentified without additional data or strong assumptions.

Why the direction can reverse#

Group-level patterns mix two sources of variation: differences between groups and relationships within groups. Those components can point in different directions.

Suppose hospitals treating sicker populations employ more specialists and also have higher mortality. Across hospitals, specialist staffing and mortality may rise together. Within each hospital, patients receiving specialist care may do better after clinical severity is considered, while the aggregate association reflects where complex illness is concentrated, not necessarily the effect of specialist care on a person.

This resembles Simpson's paradox, in which an association changes after data are stratified by a third variable. The concepts overlap but are not identical. Ecological bias specifically concerns inference across levels; Simpson's paradox describes a reversal produced by combining groups. Both warn that a summary pattern can hide the structure that generated it.

Area-level confounding#

Countries and neighborhoods differ in many ways at once: age distribution, income, healthcare access, climate, coding practice, migration, and other policies, so an association attributed to one group characteristic may reflect any combination of these differences.

Adjustment is difficult because group averages can be poor stand-ins for individual confounders. Adjusting for a county's mean age does not reproduce adjustment for each resident's age. Relationships may also be nonlinear, and the effect of a personal factor may differ by context. Aggregation can therefore leave confounding even when a model contains several area-level covariates.

Boundary choices add another issue. Results can change when the same people are grouped by census tract, county, or state, sometimes called the modifiable areal unit problem. If a conclusion depends strongly on how somebody divided a map, treat it with caution.

Ecological studies are not failed individual studies#

Some questions are genuinely about groups. Does a smoke-free law change a city's hospital-admission rate? Do neighborhoods with reliable public transit show different access to care? Does a hospital-level staffing policy alter system outcomes? The intervention and decision may operate at the same level as the data.

For such questions, group-level information can be appropriate, especially when paired with time trends, comparison jurisdictions, or other quasi-experimental methods, though the conclusion should remain at the group level: the policy was associated with a population-rate change. It should not be converted into an estimate of personal benefit without further evidence.

Ecological studies are also efficient for surveillance. Existing registries can identify geographic clusters or temporal shifts quickly. Those signals can guide collection of individual data and generate hypotheses that would otherwise be missed.

Contextual effects need both levels#

A neighborhood may affect health beyond the characteristics of its residents. Walkability, air pollution, food access, violence, and local services can operate as contextual causes. Studying those effects does not require pretending that only individuals matter.

Multilevel designs combine person-level information with group-level characteristics, and they can ask whether individuals with the same measured personal characteristics have different outcomes in different contexts, while accounting for the clustering of people within places. These models still rely on assumptions and can have unmeasured confounding, but they match the layered question more closely.

Individual data alone can also mislead if context is omitted, sometimes called the individualistic or atomistic fallacy. A person-level association may not tell policymakers how changing a neighborhood or institution will affect a population. The remedy is not to declare one level superior. It is to align data, intervention, and claim.

A worked reading example#

Suppose a cross-country study finds that nations with higher average fish consumption have lower stroke mortality. Before taking that as advice about your own diet, list what the data actually show: one average consumption estimate and one mortality rate for each country.

Several alternative explanations remain. Countries may differ in age structure, smoking, blood-pressure treatment, income, healthcare access, or cause-of-death coding. Fish consumption may be concentrated among people unlike those contributing most strokes. A national dietary estimate may be based on food supply rather than intake. The time window for diet may not match the years in which disease developed.

The result can still generate a worthwhile hypothesis. Cohort studies that measure diet and outcomes within people, randomized dietary interventions when feasible, and mechanistic evidence can then test it. Agreement across levels and methods strengthens the case; the ecological correlation alone does not establish personal risk.

A six-question cross-level audit#

  1. What does each observation represent: a person or a group?
  2. Is the conclusion written at that same level?
  3. Do the data reveal which individuals carry both the factor and outcome?
  4. Which group characteristics could explain the association?
  5. Could boundaries, time periods, migration, or measurement methods change the result?
  6. Is there linked individual or multilevel evidence pointing in the same direction?

Watch for language shifts. "Counties with X had higher rates of Y" is a group-level statement. "People with X were more likely to develop Y" is an individual-level statement. Moving from the first to the second requires evidence you have not been shown.

Sources and further reading

  1. Piantadosi, Byar, and Green, the ecological fallacy, American Journal of Epidemiology (1988)
  2. Sedgwick, understanding the ecological fallacy, BMJ (2015)
  3. Wakefield, spatial aggregation and the ecological fallacy
  4. National Academies, environmental epidemiology study designs, NCBI Bookshelf

Questions and answers

Can a strong country-level correlation ever establish individual causation?

Not by strength alone. Even a visually striking correlation lacks the within-person linkage and may reflect group confounding. It can support a hypothesis that other designs test.

Are ecological studies always low quality?

No. They can be well designed for population or policy questions and valuable for surveillance. Quality depends on whether the design matches the claim and addresses plausible alternative explanations.

Does adding more group-level covariates solve the fallacy?

Not necessarily. Aggregate adjustment cannot recover the joint individual information lost through averaging, and group summaries may measure confounders poorly. Linked or multilevel data are usually needed for individual inference.