What is the ecological fallacy?
The ecological fallacy is the mistake of drawing a conclusion about individuals from information measured only for groups. Imagine a chart showing that neighborhoods with more bus commuters tend to have fewer late arrivals at work. The chart describes neighborhoods. It does not, by itself, show that bus commuters are less likely to be late than people who drive.
The issue is the unit of observation: what each row of the data represents. A neighborhood-level dataset might have one row per neighborhood, with columns for the share of residents who commute by bus and the share who arrive late. An individual-level dataset would instead record each commuter’s travel mode and whether that commuter was late. Those datasets can answer different questions, even when they concern the same people.
Group statistics remain valuable. They can help planners identify where transportation or punctuality patterns differ. The fallacy begins when a group-level relationship is presented as an individual-level finding without evidence connecting the two. OpenStax’s discussion of data and sampling provides useful background on identifying observations and variables before interpreting a result.
A commute pattern that points the wrong way
Consider this entirely synthetic example. Every count and percentage in this section is illustrative, not a measurement of real commuters. Two neighborhoods, North and South, each have 100 commuters. In synthetic North, 80 take the bus and 20 drive. Of those commuters, 8 bus riders and 1 driver are late. North therefore has 80% bus use and 9% lateness overall.
In synthetic South, 20 commuters take the bus and 80 drive. Of those commuters, 12 bus riders and 32 drivers are late. South has 20% bus use and 44% lateness overall. Comparing these synthetic neighborhood totals, the place with more bus use has less lateness. A reader might be tempted to conclude that individual bus riders are less likely to be late.
But look inside each synthetic neighborhood. In North, 8 of 80 bus riders are late, compared with 1 of 20 drivers: 10% versus 5%. In South, 12 of 20 bus riders are late, compared with 32 of 80 drivers: 60% versus 40%. Within both neighborhoods, the synthetic bus riders have a higher lateness rate than the drivers. The neighborhood-level pattern cannot justify the proposed claim about individual commuters. Nor do these figures establish that taking the bus causes lateness; they only describe the constructed data.
Why group averages lose information
A neighborhood percentage compresses many individual observations into a summary. It tells us how common bus use or lateness is in that neighborhood, but not which commuters have both characteristics. Two neighborhoods can have the same bus-use and lateness percentages while assigning those characteristics to different people. Without information about their overlap, the individual relationship is unknown.
Differences between neighborhoods also matter. In the synthetic commute example, North has less lateness than South among bus riders and among drivers. A comparison of neighborhood averages mixes that broader difference with differences in travel-mode composition. The chart cannot separate them. This is why a convincing-looking pattern between group summaries may change or disappear when the question is examined at the level of people.
A scatter plot can make the group relationship easy to see while leaving this limitation intact. Each dot would represent a neighborhood, not a commuter. NIST explains that a scatter plot displays the relationship between paired variables; interpretation still depends on what each plotted pair represents. A line fitted through neighborhood dots likewise describes those dots. As OpenStax’s treatment of regression makes clear, a fitted equation relates the variables supplied to it. It does not turn neighborhood records into individual records.
Where this mistake appears
The same reasoning applies beyond commuting. Suppose regions with higher library membership also have higher exam results. That observation does not tell us whether the students who hold library cards scored higher. The membership figure might cover all residents, while the exam results cover only students. Even if both measures covered the same students, regional totals would not reveal which students belonged to the library.
Likewise, a company might find that offices with more remote-work days report higher job satisfaction. That does not establish that employees who work remotely are more satisfied. Offices can differ in management, job roles, staffing, and many other respects. The office-level finding may be worth investigating, but an employee-level claim requires evidence about employees.
The mistake is not simply that an average fails to describe every person. Most readers already know that a neighborhood with high average income includes people with different incomes. The sharper problem is claiming an association between two individual characteristics from an association between group summaries. Asking who or what each data point represents often exposes the jump.
How to make a defensible claim
Start by stating the question at the level you care about. If you want to know whether bus riders are more or less likely to be late than drivers, you need observations that connect travel mode with lateness for individual commuters. If you want to know which neighborhoods face high overall lateness, neighborhood summaries may be appropriate. Neither question is inherently better; they require different evidence.
When individual-level data are available, compare the relevant people directly and examine meaningful group differences. In the commute example, that means checking the relationship within neighborhoods as well as across all commuters. Such comparisons can reveal whether a pooled result conceals contrasting local patterns. They still do not automatically prove a causal effect: schedules, routes, work hours, and other factors might influence both travel mode and lateness.
Sometimes only group-level data are available, perhaps because individual records are private. In that case, report the result as a group-level result and keep its limits visible. You can say that neighborhoods with greater bus use had lower lateness in the observed data. You cannot responsibly replace that with a claim that bus riders were less likely to be late. If the distinction matters for a decision, seek appropriate individual-level evidence before making it.
A checklist before you share the chart
A group-level chart can be useful when its caption and conclusion stay aligned with its data. Before turning it into a statement about people, check the following:
- What does each row or dot represent: a person, a household, an office, or an area?
- Does the proposed conclusion refer to that same unit?
- Do the data show which individuals have both characteristics?
- Could differences between groups account for the visible pattern?
- If the claim concerns individuals, can you examine individual records and relevant within-group comparisons?
If the answer to the individual-data question is no, keep the claim at the group level. That small wording choice preserves what the evidence actually shows.
Keep these distinctions
- The ecological fallacy occurs when a relationship measured across groups is treated as evidence about individuals within those groups.
- Group summaries can be accurate and useful without supporting claims about any particular group member.
- To investigate an individual-level claim, examine individual-level data and relevant differences between groups.
Sources checked
These sources support the statistical definitions and boundaries. The scenario, prose, calculations, and figure on this page are original to Count & Chance.
- 01Data, Sampling, and Variation in Data and SamplingOpenStax / checked 2026-09-18
- 02The Regression EquationOpenStax / checked 2026-09-18
- 03Scatter PlotNIST / checked 2026-09-18