HSCI 230 — Lesson 6

Ecological and Group-Level Studies

Evaluating Epidemiological Research

Kiffer G. Card, PhD, Faculty of Health Sciences, Simon Fraser University

Learning objectives for this lesson:

  • List the 3 major categories of variable used in ecologic models and describe their attributes
  • Describe the constructs of a linear model at the individual and group levels and constraints on estimating incidence rate ratios at the group level
  • Describe how within-group misclassification, group-level confounding, and group-level interaction can affect causal inferences
  • Describe the basis of the ecologic and atomistic fallacies
  • Identify scenarios where ecologic studies are less likely to produce cross-level inferential errors
  • Describe how to integrate individual-level studies with ecologic studies to prevent cross-level inferential errors

Dohoo, I. R., Martin, S. W., & Stryhn, H. (2012). Methods in Epidemiologic Research. VER Inc.

Reference

Glossary — Key Terms, People & Concepts

📚 Reference page — available throughout the lesson

This glossary collects the key concepts, people, and ideas you will meet in this lesson. Use it as a reference while you work through the material, or as a review before assessments. Type in the search box to filter entries.

Key Concepts & Ideas
Ecological (Group-Level) Study An observational study in which the unit of analysis is a group — country, province, school, neighborhood — rather than an individual. Exposure and outcome are measured as group-level summaries.
Unit of Analysis The entity for which data are aggregated and analyzed. In ecological studies the unit is a group; in cohort and case-control studies it is the individual.
Aggregate Variable A group-level variable derived from individual data — e.g., mean income, percent vaccinated. Summarizes individuals into a single number for the group.
Environmental Variable A group-level variable that has no individual-level analogue — e.g., air pollution, latitude, water hardness. A property of the place itself.
Global (Contextual) Variable A group-level attribute that characterizes the group as a whole, not its members — e.g., presence of a smoking ban, type of healthcare system. Cannot be derived from individuals.
Ecological Fallacy The error of inferring individual-level relationships from group-level data — named by Robinson (1950) and later refined by Selvin (1958) and Schwartz (1994). A correlation between average income and average health across countries does not mean richer individuals are healthier within a country.
Atomistic (Individualistic) Fallacy The reverse error: inferring group-level relationships from individual-level data alone, ignoring contextual effects. Articulated by Schwartz (1994) and Diez Roux (1998). Smoking causes lung cancer in individuals, but country-level smoking rates do not by themselves explain country-level cancer rates.
Cross-Level Inference An inference that crosses levels of analysis — from group to individual, or from individual to group. The central methodological challenge of multilevel epidemiology.
Within-Group Misclassification Bias arising because group-level summaries treat all members as if exposed (or unexposed) to the same degree. The greater the within-group variability, the more misclassification distorts ecological associations.
Group-Level Confounding Confounding by a variable that operates at the group level — e.g., wealth, climate, healthcare system. Even if individual-level confounders are controlled, group-level confounding remains.
Group-Level Interaction (Effect Modification) When the effect of an exposure differs across groups because of group-level conditions. Treating these effects as if uniform produces misleading pooled estimates.
Multilevel (Hierarchical) Model A statistical model that simultaneously incorporates individual- and group-level variables, with random effects representing group-level variation. The modern toolkit for sidestepping the ecological/atomistic fallacies (Diez Roux, 1998).
Contextual Effect An effect on individuals that depends on properties of their group, beyond their own individual exposure — e.g., the effect on health of living in a low-income neighborhood independent of one's own income.
Compositional Effect A group-level pattern that arises simply because of who is in the group. If a city has poor average health because more poor people live there, the effect is compositional — not contextual.
Rate-Based Ecological Comparison Comparing incidence or mortality rates across groups (regions, time periods). Often the simplest ecological design.
Risk-Based Ecological Comparison Comparing risks (proportions) across groups, typically when the population is closed and follow-up is uniform.
Time-Trend (Time-Series) Study An ecological design that follows a single group over time, comparing exposures and outcomes across time periods. Often used to evaluate policy interventions.
Multi-Group Comparison An ecological design that compares many groups at one point in time — e.g., disease rates across countries.
Mixed (Multi-Group/Time) Design An ecological design that varies both place and time — e.g., country×year panels — to leverage both kinds of variation while making confounding harder to ignore.
Hybrid (Multilevel) Study A design that combines individual- and group-level data to triangulate inferences and avoid pure ecological or atomistic interpretations.
Key People
William S. Robinson (1913–1949) American sociologist whose 1950 paper “Ecological Correlations and the Behavior of Individuals” named the ecological fallacy and demonstrated it dramatically with US Census data on literacy and race; the paper was reissued in the International Journal of Epidemiology in 2009.
Hal Morgenstern American epidemiologist whose work in the 1980s and 1990s — notably Morgenstern (1995) — formalized the typology of ecological designs and clarified when ecological inferences are (and are not) defensible.
Ana Diez Roux Argentine-American epidemiologist whose work on neighborhood effects — especially Diez Roux (1998) — helped bring multilevel modeling into mainstream public-health practice as a remedy for ecological/atomistic confusion.
Émile Durkheim (1858–1917) French sociologist whose 1897 study Suicide compared suicide rates across European regions and religions — one of the foundational ecological analyses in social science. A classic example of using group-level data to argue for social causation; Selvin (1958) later used it to illustrate the cross-level inference problem that came to be called the ecological fallacy.
No matching entries. Try a different search term.
Section 1 of 5

Introduction & Rationale for Group-Level Studies

⏱ Estimated reading time: 45 minutes

Introduction and Overview

Lessons 3–5 worked one unit of analysis: the individual person. Cross-sectional, case-control, and cohort designs all sample people, measure exposures and outcomes on people, and make inferences about people. Lesson 6 changes the unit of analysis to the group — counties, schools, nations — and immediately introduces a problem the previous designs did not have: even when group-level associations are strong and well-measured, you cannot, in general, conclude anything about individuals. The phrase you will spend most of this lesson learning to recognise is the ecological fallacy — named by Robinson (1950) and elaborated by Selvin (1958). Across the four content sections we move from the rationale for these designs (Section 1), to the kinds of variables they use (Section 2), to the inferential traps they create (Section 3), to the analytic strategies that mitigate those traps and the related-but-distinct world of group-level studies that do not commit the fallacy at all (Section 4).

Learning Objectives

  • Define ecologic studies and distinguish exploratory, analytic, and partial-ecologic variants (Morgenstern, 1995).
  • Explain why the unit of analysis matters and how it shapes the inferences a design can support.
  • Articulate four legitimate reasons to run an ecologic study (measurement constraint, exposure homogeneity, group-level interest, simplicity) and the cost each carries.
  • Read group-level examples (arsenic in groundwater, bladder cancer across U.S. states) with the right inferential caveats from the start.

14.1 What Are Ecologic Studies?

Ecologic studies are studies where exposure, outcome, and confounders are all measured at the group level (e.g., townships, counties, nations), but the researcher wants to make inferences about individuals. The groups serve as cluster samples of the population.

Ecologic studies can be exploratory (no direct exposure measurement, looking for associations to guide future research) or analytic (exposure factor is measured and included in the analysis). Some studies are partial ecologic—combining some individual-level variables with group-level variables, which introduces unique inferential challenges.

Key Limitation

The primary limitation of ecologic studies is that we do not know the joint distribution of risk factors and disease within groups. This ignorance about within-group associations creates the potential for severe bias when inferring to the individual level.

14.1.1 Examples of Ecologic Studies

Two short examples make the design concrete before we discuss why anyone would ever use it.

Example 29.1: Arsenic in Idaho Groundwater

County-level data on cancer incidence and arsenic levels in groundwater were examined. After adjusting for confounders, no significant relationship was found between county-level arsenic exposure and cancer incidence. This illustrates how group-level analyses may fail to detect individual-level associations.

Example 29.2: Bladder Cancer Across US States

Bladder cancer mortality rates across US states were examined in relation to state-level predictors: smoking prevalence, health insurance coverage, UV index, and water supply type. The ecological analysis identified associations that may or may not reflect individual-level causal mechanisms.

14.1.2 Rationale for Ecologic Studies

Given the inferential limit just stated, why does anyone run an ecologic study at all? Four reasons recur, each unpacked in the accordion below. The first three explain when ecologic data are the only data you have; the fourth is a warning that simplicity has a real cost. Susser (1994) provides the foundational defence of ecologic analysis as both an outlook and a method in modern epidemiology.

Despite their limitations, ecologic studies are sometimes the only practical approach:

Measurement Constraints at Individual Level

Individual-level measurement of some exposures is impractical or impossible. For example, measuring historical pollution levels or dietary intake for an entire population is expensive. Group-level aggregates (e.g., county-level average pollutant concentration, regional disease prevalence) can serve as proxies.

Exposure Homogeneity Within Groups

In some situations, exposure is relatively homogeneous within groups. For instance, all residents of a region receive water from the same supply, all schoolchildren in a district receive the same curriculum-based intervention, or all patients in a clinic receive the same standard of care.

Interest in Group-Level Effects

Sometimes the research question is fundamentally about group-level phenomena: Do communities with water fluoridation have lower dental caries rates? Do nations with higher vaccination coverage have lower measles incidence? The group itself is the unit of scientific interest.

Simplicity of Analysis

Ecologic analysis is often simpler and faster than acquiring and analyzing individual-level data across many groups. However, this simplicity may hide serious methodological problems and inferential errors.

Reflection

Think of a public health issue in your community. How might you design an ecologic study to examine it? What would be your unit of analysis (e.g., neighbourhood, city, province)? What group-level variables would you measure?

Model answerA defensible example: an ecologic study of municipal cycling infrastructure (km of protected lanes per 100,000 residents) and bicycle-related serious injury rates across BC cities, using ICBC injury claims as the outcome. Unit of analysis: city / health-region. Variables: (a) aggregate — population density, average commute distance; (b) environmental — km of protected lanes, presence of vision-zero policy; (c) global — provincial law (mandatory helmet, e-bike rules) since policy varies by jurisdiction. This design is feasible because the exposure exists only at the city level and individual exposure ("did you ride past a protected lane this morning?") is not the relevant scale of inference. Limitation to name: ecologic findings here speak to group-level policy questions, not individual behaviour-change recommendations.

Minimum 20 characters required.

✓ Reflection saved
Knowledge Check — Section 1

1. What distinguishes an ecologic study from other observational study designs?

In ecologic studies, the unit of analysis is the group (e.g., county, nation), not the individual. Measurements are aggregated or summarized at the group level.

2. What is a "partial ecologic study"?

Partial ecologic studies mix individual- and group-level measurements, which introduces unique inferential challenges.

3. Which of the following is NOT a rationale for conducting ecologic studies?

Ecologic studies cannot establish individual-level causal mechanisms because the data are aggregated. They are useful when individual-level measurement is impractical or when group-level effects are of interest.
Section 2 of 5

Types of Ecologic Variables & The Linear Model

⏱ Estimated reading time: 45 minutes

Introduction and Overview

Section 1 motivated the design and named its central liability. To use it carefully, we need a vocabulary for the variables it operates on, a model that connects them, and a clear sense of what that model can and cannot say. This section provides all three.

Learning Objectives

  • Distinguish aggregate, environmental, and global ecologic variables and explain why the distinction matters for cross-level inference.
  • Read and interpret the ecologic linear model Yj = β0 + β1X1j + εj and the group-level incidence rate ratio it implies.
  • Explain why estimating IRG requires extrapolation beyond observed exposure ranges and what that means for inference.
  • Identify modelling pitfalls: correlation vs regression, standardised outcomes, and cross-level interaction differences.

14.2 Categories of Ecologic Variables

Three major categories of variables can be used in ecologic models, each with different attributes and interpretations. The three flip cards below define each in turn; click each one and notice that they differ in whether the variable has any individual-level analogue at all — a distinction that becomes important when we reach the ecologic fallacy in Section 3.

📈
Aggregate Variables
Click to explore
🌍
Environmental Variables
Click to explore
🌐
Global Variables
Click to explore

With the variable types in hand, the standard analytic move is a linear regression at the group level. The model below is the workhorse; the equations that follow it describe what the regression coefficients mean and where their interpretation gets uncomfortable.

14.2.1 The Linear Model in Ecologic Studies

Ecologic studies often use linear regression to model the relationship between group-level exposure and group-level outcome:

Ecologic Linear Model
Yj = β0 + β1X1j + β2X2j + εj

Where Y is the outcome rate for group j, X1 is the exposure proportion, X2 is a confounder, and ε is the error term. The group-level incidence rate ratio (IRG) is estimated as:

Group-Level Incidence Rate Ratio (Eq. 29.1)
IRG = (β0 + β1) / β0 = 1 + β10

A major limitation of this approach is that IRG requires extrapolation to groups with 0% and 100% exposure, which may extend far beyond the range of observed data. Additionally, different group sizes may require weighted regression for valid inference.

14.2.2 Modelling Issues

Several issues arise when modelling ecologic data:

  • Correlation vs. regression: About 33% of ecologic studies use correlation coefficients instead of regression coefficients. Regression coefficients estimate the incidence rate difference, which correlation does not provide directly.
  • Standardized outcomes: Some studies use standardized mortality ratios (SMRs) rather than crude rates, which may introduce additional complexity.
  • Interaction terms: The form of interaction at the group level may differ from the individual level when using linear models at group level and logit models at individual level.

Reflection

Consider the three types of ecologic variables. For a study on the relationship between income inequality and mental health outcomes across Canadian provinces, classify each: (a) provincial median income, (b) provincial mental health policy score, (c) average winter temperature.

Model answer(a) Provincial median income — aggregate variable (summary of individual incomes). (b) Provincial mental health policy score — global / contextual variable (exists only at the group level; no individual analogue). (c) Average winter temperature — environmental / contextual variable (a feature of the place itself). The distinction matters because aggregate variables can in principle be related back to individuals (with strong assumptions), while global and environmental variables cannot — their effects on health are inherently contextual and require multilevel models if you want individual-level inference.

Minimum 20 characters required.

✓ Reflection saved
Knowledge Check — Section 2

1. Which type of ecologic variable has NO analogue at the individual level?

Global variables (e.g., population density, laws, organizational policies) are characteristics of the group that cannot be meaningfully measured for an individual.

2. In an ecologic linear regression model Yj = β0 + β1X1j + εj, what does the group-level incidence rate ratio IRG estimate?

IRG = 1 + β10, representing the ratio of the predicted rate in a fully exposed group to the rate in a fully unexposed group. This requires extrapolation beyond observed data ranges.

3. Why is using correlation coefficients rather than regression coefficients problematic in ecologic studies?

Regression coefficients provide an estimate of the incidence rate difference (IDG), which can be used to estimate the incidence rate ratio. Correlation coefficients do not provide this directly and are considered less informative.
Section 3 of 5

Inferential Errors & Sources of Ecologic Bias

⏱ Estimated reading time: 45 minutes

Introduction and Overview

Sections 1 and 2 set up the design and the model. This section is about the trap. It introduces two complementary errors — the ecologic fallacy and the atomistic fallacy — then catalogues the three structural reasons ecologic estimates can mislead. Two interactive simulators let you build the failure modes yourself rather than just reading about them.

Learning Objectives

  • Define the ecologic fallacy (Robinson, 1950) and explain how a strong group-level association can mislead about individual-level effects.
  • Define the atomistic fallacy and identify population-level emergent properties (e.g., herd immunity) that have no individual analogue.
  • Identify the three structural sources of ecologic bias: within-group exposure misclassification, group-level confounding, and effect modification by group.
  • Predict the direction and magnitude of bias under each source and use that prediction to read published ecologic studies critically.

14.3 The Ecologic Fallacy

The ecologic fallacy is the error of assuming that a group-level association applies to individuals. A finding at the group level (e.g., exposure associated with 3x increased disease risk) does not necessarily mean this is true for individuals. This concept was formally named by Robinson (1950).

▸ INTERACTIVE STORY — THE ECOLOGICAL FALLACY Open full screen ↗

Watch a country-level pattern flip when you zoom into individuals. Next ▶ advances scenes.

A 6-scene visualization of Simpson's paradox: wine consumption and life expectancy across countries shows a strong positive trend; zoom into France and the individual-level pattern reverses. Aggregate data answers aggregate questions.

The group-level bias typically exaggerates the association away from the null, but can occasionally reverse the direction of association.

14.3.1 The Atomistic Fallacy

The atomistic fallacy is the opposite error: assuming individual-level findings apply at the group level (Schwartz, 1994; Diez Roux, 1998). Populations have emergent properties not found in individuals. A classic example is herd immunity—a population-level phenomenon with no individual-level counterpart.

Key Distinction

The ecologic fallacy occurs when group-level findings are incorrectly applied to individuals. The atomistic fallacy occurs when individual-level findings are incorrectly applied to groups.

Hands-on: Ecological Fallacy Explorer

What you'll do: use the simulator below to set a within-group slope (how X relates to Y for individuals inside the same group) and a between-group slope (how group means relate), then watch the ecological regression line that an analyst would actually report. What to take away: when the within-group and between-group slopes have opposite signs, the ecological regression points the wrong way for individuals — and you have built the canonical failure mode by hand. Try the “Robinson 1950” preset first; it reproduces the original demonstration that gave the fallacy its name.

📊 Interactive: Ecological Fallacy Explorer

Each colored dot is a person, nested inside a group (e.g., a country or neighborhood). Adjust the within-group slope (how X & Y relate inside a group) and the between-group slope (how group means relate). When the two slopes have opposite signs, the ecological regression lies about the individual reality.

Individual-level data

Each dot = a person, colored by group. Black line = individual-level regression slope.

Group-level (ecological) data

Each large dot = a group's mean. Red line = ecological regression — what an ecological study reports.

How X relates to Y for individuals inside the same group.
How group means of X relate to group means of Y.
How many group clusters to draw.
How many individuals per group.
How tightly individuals cluster inside their group.
Individual slope
Ecological slope
Sign reversal?
Presets:
Try this: set within-group to +1.0 and between-group to −1.0. Individuals show a clear positive relationship — but the ecological regression line points the wrong way. That is the ecological fallacy.

The simulator shows that the fallacy is real and structural — the same dataset can support opposite conclusions at the two levels. The next subsection names the three specific mechanisms by which the structural problem becomes a quantitative bias in real ecologic estimates.

14.4 Three Sources of Ecologic Bias

Each mechanism below corresponds to a different way the within-group slope and the between-group slope can come apart. The first is about exposure measurement, the second is about confounders that look different at the two levels, and the third is about the mathematical mismatch between linear and logit models. The canonical treatment of these mechanisms is Greenland & Robins (1994) and Morgenstern (1995).

14.4.1 Within-Group Misclassification (Bias)

Non-differential misclassification at the individual level biases group-level estimates AWAY from the null (opposite direction from individual-level studies). This is given by:

Effect of Misclassification on IRG (Eq. 29.3)
IRG = 1 + (IR – 1) / (Se + Sp*IR – IR)

Where IR is the true individual-level incidence rate ratio, Se is sensitivity, and Sp is specificity. The example of a school CRD study (Example 29.4) demonstrated how misclassification at the individual level inflates group-level estimates.

14.4.2 Group-Level Confounding

Group-level confounding arises from differential distribution of individual-level risk factors across groups. Critically, even factors that are NOT confounders at the individual level can cause confounding at the group level.

Controlling for extraneous risk factors in ecologic analysis generally only removes part of the bias. Example 29.5 showed confounding that produces biased IRG even when there is no confounding at the individual level.

14.4.3 Effect Modification (Interaction) by Group

When the rate difference at the individual level varies across groups, non-linearity is introduced: the linear model at group level assumes additivity, but the logit model at individual level is inherently non-linear.

Example 29.6 is striking: effect modification by group completely reversed the direction of association. The true individual-level IR was 5.0, but the ecologic IRG was 0.67, making a harmful exposure appear protective at the group level.

14.4.4 When Cross-Level Bias Is Less Likely

Conditions Minimizing Ecologic Bias

Cross-level (ecologic) bias will NOT occur if:

  • The incidence rate difference within groups is uniform across groups, AND
  • There is no correlation between group-level exposure and the rate of the outcome in the unexposed

Ecologic bias is LESS likely when:

  • There is a large observed range of exposure across groups
  • There is small within-group variance of exposure (homogeneous groups)
  • Exposure is a strong risk factor varying in prevalence across groups
  • Distribution of extraneous risk factors is similar among groups (little group-level confounding)
  • Include positive and negative health controls to strengthen ecologic evidence

Hands-on: MAUP Sandbox

What you'll do: the second simulator below holds the underlying individual-level data fixed and changes only how zone boundaries are drawn around the same people. What to take away: the area-level correlation can change dramatically — even flip sign — without anything about the people changing. This is the modifiable areal unit problem (Fotheringham & Wong, 1991), and it is the reason ecologic results are sensitive to choices that look administrative rather than scientific. Try each zoning preset; same individuals, different ecological “findings.”

🧭 Interactive: MAUP Sandbox — Same People, Different Zones

A 12×12 grid of people, each with an exposure value (X) and outcome (Y). The individual correlation is fixed — but the area-level correlation depends entirely on how you draw the boundaries. Try each zoning scheme: same people, very different ecological "findings." That is the modifiable areal unit problem (Fotheringham & Wong, 1991).

Individual data (with zoning overlay)

Each tile = a person, shaded by their X value. Black borders show the chosen zones.

Zone-level (ecological) scatter

Each dot = one zone's mean X vs. mean Y. Red line = ecological regression.

Zoning scheme:
Individual correlation
Zone-level correlation
Number of zones
Same 144 people. Now click through each zoning scheme and watch the ecological correlation jump around — sometimes flipping sign — while the individual correlation stays put. That's MAUP.
R Build the ecological fallacy from scratch

What you'll do: simulate three groups whose means rise together but whose individuals within each group are uncorrelated. Compute the within-group correlations, the pooled (overall) correlation, and the group-level (ecologic) correlation, then visualise all three on one scatterplot.

What to take away: a strong group-level correlation can coexist with near-zero individual-level association — that gap is the ecological fallacy in numbers.

set.seed(230)

# Three groups; means line up positively, individuals are flat within group.
group <- rep(c("A", "B", "C"), each = 50)
x <- c(rnorm(50, 2), rnorm(50, 5), rnorm(50, 8))
y <- c(rnorm(50, 3), rnorm(50, 6), rnorm(50, 9))

# Pooled (individual-level) correlation -- dominated by group means
cor(x, y)

# Within each group (truth at the person level)
tapply(seq_along(x), group, function(i) cor(x[i], y[i]))

# Group-level (ecologic) correlation: nearly perfect by construction
gmean <- aggregate(cbind(x, y), list(group = group), mean)
cor(gmean$x, gmean$y)

# Stretch: visualise the discrepancy
plot(x, y, col = factor(group), pch = 19,
     xlab = "X", ylab = "Y",
     main = "Ecological fallacy: groups separate, individuals flat")
points(gmean$x, gmean$y, pch = 8, cex = 3, col = "black")
Console output (key lines)
[1] 0.937 # pooled cor(x, y) -- looks very strong A B C -0.069 0.014 -0.041 # within-group correlations -- near zero [1] 0.99999 # group-mean (ecologic) correlation -- nearly perfect

Reading the three numbers. The within-group correlations are essentially zero. The group-mean correlation is essentially 1. The pooled correlation lies in between but is dominated by between-group variation. Concluding from the ecologic 0.9999 that there is an individual-level relationship would be the ecological fallacy.

R Reflect on what you just ran

Use the questions below to interpret the output you produced. Look at your console and plot before answering.

1. Compare the three within-group correlations (close to 0) with the group-level correlation (~1.0). Which of these two numbers describes the relationship for an individual person, and which describes the relationship between groups?

Model answerThe within-group correlations (close to 0) describe the relationship for individual people: within each cluster, the exposure and outcome do not move together — the slope is flat. The group-level correlation of ~1.0 describes only the relationship between the group means; the three coloured clusters sit perfectly along a diagonal even though no individual contributes to that diagonal. Two units of analysis, two different answers — the structural fact that produces the ecological fallacy.

2. Look at the scatterplot. The three coloured clusters appear flat (no slope) within themselves but rise diagonally as a whole. Describe in your own words why the pooled correlation (~0.94) is so close to the ecologic correlation rather than to the within-group correlations.

Model answerThe pooled correlation mixes within-group (flat) and between-group (steep) variation. Because the between-group variance dominates the spread of the points overall — the three clusters are far apart on both axes — the pooled regression line tracks the diagonal between cluster centres rather than the within-cluster flat lines. The arithmetic of an overall correlation is dominated by whichever level of variation is largest; here the group-mean spread is so much bigger than within-cluster spread that the pooled r is essentially the ecologic r.

3. Imagine a researcher only had access to the three group-mean stars (no individual dots) — e.g., country-level averages of two variables. State the conclusion they would draw and, using the simulation, explain precisely how that conclusion would be wrong at the individual level.

Model answerLooking only at the three group-mean stars, the researcher would conclude that more exposure means more outcome — a strong positive individual-level relationship. The simulation shows that conclusion is wrong for individuals: within any of the three groups, the exposure-outcome slope is zero. The mistake is the ecological fallacy: an inference about people made from aggregated data assumes that within-group structure matches between-group structure. Whenever the unit of analysis differs from the unit of inference, this risk is built in — and the only sure remedy is individual-level data.
Saved.

Reflection

A researcher finds that countries with higher per-capita chocolate consumption have more Nobel Prize winners. They conclude that eating chocolate makes individuals smarter. Identify the inferential error being made and explain why this conclusion is problematic. What confounders might explain the group-level association?

Model answerThis is the textbook ecological fallacy: an inference about individuals ("eating chocolate makes you smarter") drawn from a correlation between group averages. The fallacy assumes that within-country variation mirrors between-country variation, which the data do not show. Plausible confounders at the group level: GDP per capita and educational investment (rich countries can afford both more chocolate and more research universities); cultural factors (European countries with strong scientific traditions also have established confectionery industries); reporting completeness (Nobel committees and chocolate-industry statistics both better in OECD countries). Any of these would generate the country-level correlation with no individual-level effect of chocolate on cognition.

Minimum 20 characters required.

✓ Reflection saved
Knowledge Check — Section 3

1. What is the ecologic fallacy?

The ecologic fallacy occurs when associations observed at the group level are incorrectly assumed to hold at the individual level. Robinson (1950) famously demonstrated this error.

2. How does non-differential exposure misclassification at the individual level affect ecologic study estimates?

Unlike individual-level studies where non-differential misclassification biases toward the null, in ecologic studies it biases the group-level IR and ID away from the null—the opposite direction.

3. In Example 29.6, effect modification by group caused the ecologic IRG to be 0.67 when the true individual-level IR was 5.0. What does this demonstrate?

This is a striking example of how ecologic bias from effect modification can not only distort the magnitude but completely reverse the direction of an association, making a harmful exposure appear protective at the group level.
Section 4 of 5

Reducing Bias & Non-Ecologic Group Studies

⏱ Estimated reading time: 45 minutes

Introduction and Overview

Section 3 catalogued the failure modes. This section is the constructive response. The first half names analytic strategies that can pull part of the individual-level signal out of group-level data; the second half makes a distinction the textbook treatment often glosses over — that some studies use group-level data without committing the ecologic fallacy at all, because their inferences also stay at the group level.

Learning Objectives

  • Describe analytic strategies for reducing ecologic bias, including multilevel modelling (Diez Roux, 1998) and the Wakefield & Haneuse two-phase design (2008).
  • Distinguish ecologic from non-ecologic group-level studies based on the level at which inferences are drawn, not the level at which data are collected.
  • Apply Rose’s distinction between “the etiology of a case” and “the etiology of incidence” to research questions you encounter.
  • Use the Dufault & Klar (2011) reporting-quality findings as a reading checklist for any ecologic study you appraise.

14.5 Minimizing Ecologic Bias

Ecologic bias is less of a problem when certain conditions are met (see Section 3 summary). Additionally, researchers can employ specific analytical strategies:

14.5.1 Analysing Ecologic Data

  • Multilevel modelling (MLM): Combines individual-level and group-level data to distinguish individual-level effects from contextual (group-level) effects (Diez Roux, 1998). Validates assumptions and investigates random effects.
  • Two-phase design (Wakefield & Haneuse, 2008): Links individual-level data with ecologic data using outcome-dependent sampling within groups, reducing the need for complete individual-level information.
  • Prior information: Importance of prior knowledge about within-area probabilities and contextual effects when making inferences.

The strategies above try to repair ecologic data so it can speak about individuals. The next subsection makes the alternative move: keep the inference at the group level and acknowledge that groups are sometimes the right unit of scientific interest in their own right.

14.6 Non-Ecologic Group-Level Studies

Not all studies using group-level data are ecologic studies. A critical distinction:

The Key Difference

When variables are measured at the group level AND inferences remain at the group level → NOT ecologic. The group as the aggregate-scale of interest studying how group-level characteristics (population density, policies, social environments) affect group-level outcomes.

Examples of non-ecologic group-level studies include:

  • Health promotion programs targeting communities, with outcomes measured at the community level
  • Vaccination campaigns evaluated by population-level coverage and population-level incidence
  • Organizational interventions in clinics or hospitals, with organization-level outcomes

14.6.1 The Question of Inference Level

Rose (2001) distinguished two key epidemiological questions:

  • "What is the etiology of a case?" This is an individual-level question, seeking to understand why a particular person became ill.
  • "What is the etiology of incidence?" This is a population-level question, seeking to understand why populations have different disease rates.

Both questions are important; the appropriate level of analysis depends on the research question. The atomistic fallacy arises when researchers reduce all phenomena to individual-level explanations, ignoring emergent group properties.

14.6.2 Quality of Current Ecologic Research

Dufault & Klar (2011) reviewed the reporting quality of ecologic studies and found concerning patterns:

  • Only 18% explicitly justified their choice of ecologic units
  • 97% of outcomes were aggregate in nature
  • 54% relied on fewer than 100 group-level observations
  • Only 42% adequately justified why an ecologic design was necessary
  • Most studies did not sufficiently inform readers about possible ecologic bias

Reflection

Consider a city that wants to evaluate whether its new bicycle-sharing program has reduced cardiovascular disease rates. Would an ecologic design or individual-level design be more appropriate? What are the trade-offs? How might you combine both approaches using multilevel modelling?

Model answerFor evaluating a city-wide bike-share programme, an ecologic (interrupted time-series or comparative interrupted time-series with control cities) design is the natural fit because the intervention exists only at the city level — you cannot randomise individuals to live in a city with bike-share. Strengths: low cost, uses routinely collected CVD outcome data, captures population-level effect of interest. Weakness: the ecological fallacy — you can't tell whether riders or non-riders changed. Combining: a multilevel design with individuals nested in neighbourhoods nested in cities lets you estimate (a) the city-level effect of bike-share access on CVD rates, (b) the individual-level effect of personal bike-share use on the same outcome, and (c) the interaction (does the city-level effect depend on individual use?). This is the design that bridges the two scales of inference.

Minimum 20 characters required.

✓ Reflection saved
Knowledge Check — Section 4

1. Which of the following conditions makes ecologic bias LESS likely?

When the distribution of extraneous risk factors is similar across groups, there is little group-level confounding, which is one of the major sources of ecologic bias.

2. What is multilevel modelling (MLM) in the context of ecologic studies?

MLM integrates data from multiple levels (individual and group), helping to distinguish individual-level effects from group-level (contextual) effects and reducing the risk of ecologic fallacy.

3. When is a group-level study NOT considered an ecologic study?

Ecologic studies involve making inferences about individuals from group-level data. If the variables are measured at the group level and the inferences are also directed at the group level, this is a non-ecologic group-level study and does not pose the same cross-level inferential problems.
Section 5 of 5

Final Assessment

⏱ Estimated reading time: 20 minutes

Bringing It All Together

This lesson moved from the rationale for ecologic designs through the variables and models they use, to the structural traps that make them treacherous, and finally to the analytic and conceptual responses to those traps. The arc was deliberate: every step was preparation for being able to read a published group-level study without overclaiming or underclaiming what its data actually support.

The single most important idea to carry forward is the one Robinson named in 1950: a finding that holds at the group level need not hold at the individual level — and the reverse (the atomistic fallacy) is equally damaging in the other direction. The three structural sources of ecologic bias (within-group misclassification, group-level confounding, effect modification by group) explain why the cross-level move can fail. Multilevel modelling and the two-phase design explain how to bring some of that signal back without abandoning the group-level data we already have. Rose’s distinction between the etiology of a case and the etiology of incidence reminds us that the right unit of analysis depends on the question being asked, not on which is more familiar from earlier lessons.

Lesson 7 takes the next step: how the constructs we measure (exposure, outcome, confounder) are defined and operationalised in the first place — the conceptualisation step that determines whether any of the cross-level inference machinery in this lesson can do the work we want it to.

R Activity — Seeing the ecological fallacy in simulated data

The companion R script r-activities/HSCI_230_Lesson_6_Ecological_and_Group_Level_Studies.R simulates three groups whose group means line up almost perfectly while individuals within each group are essentially uncorrelated. You will compute the pooled correlation, the within-group correlations, and the group-mean (ecologic) correlation, and watch the three numbers diverge — a worked demonstration of the cross-level inference trap that defines this lesson.

set.seed(230)

# Three groups; means line up positively, individuals are flat within group.
group <- rep(c("A", "B", "C"), each = 50)
x <- c(rnorm(50, 2), rnorm(50, 5), rnorm(50, 8))
y <- c(rnorm(50, 3), rnorm(50, 6), rnorm(50, 9))

# Individual-level correlation (overall - mostly driven by group means)
cor(x, y)

# Individual-level correlation WITHIN each group (truth at the person level)
tapply(seq_along(x), group, function(i) cor(x[i], y[i]))

# Group-level (ecologic) correlation: nearly perfect by construction
gmean <- aggregate(cbind(x, y), list(group = group), mean)
cor(gmean$x, gmean$y)

Reflection

Reflecting on this lesson, describe a scenario from public health or your field of interest where an ecologic study design would be the most practical and informative approach. What safeguards would you implement to minimize the risk of the ecologic fallacy?

Model answerStrong scenario: evaluating the public-health impact of a province-wide sugar-sweetened-beverage tax. The intervention is purely group-level (policy applied uniformly within province), individual purchase data are not centrally available, and outcomes (obesity prevalence, diabetes incidence) are tracked through administrative data — an ecologic / interrupted time-series design is the most informative and feasible. Safeguards against the ecologic fallacy: (a) pre-specify that conclusions are about the population-level effect, not individual choice; (b) use control jurisdictions (other provinces without the tax) for a comparative interrupted time-series; (c) supplement with cross-sectional individual-level surveys (CHMS, CCHS) where possible; (d) include sub-population analyses by SES; (e) discuss the inferential limits explicitly in the abstract.

Minimum 20 characters required.

✓ Reflection saved

Key Takeaways from Lesson 6

  • Ecologic studies measure exposure and outcome at the group level; partial ecologic studies mix individual- and group-level variables, which introduces its own inferential challenges.
  • The ecologic fallacy (Robinson, 1950) is the error of assuming a group-level association applies to individuals; the atomistic fallacy (Schwartz, 1994) is the symmetric error in the other direction.
  • Three structural sources of ecologic bias — within-group exposure misclassification, group-level confounding, and effect modification by group — explain why the cross-level move so often fails.
  • The ecologic linear model estimates a group-level rate ratio that requires extrapolation to 0% and 100% exposure, well beyond most observed data.
  • Multilevel modelling and the Wakefield–Haneuse two-phase design are the principal analytic strategies for recovering individual-level signal from group-level data.
  • Not every group-level study is ecologic: when both data and inferences stay at the group level, the cross-level fallacies do not apply — Rose’s “etiology of incidence” is a legitimate and important question in its own right.
Final Assessment — Lesson 6 (15 Questions)

1. Ecologic studies differ from other observational designs primarily because:

The defining feature of ecologic studies is that measurements of exposure, outcome, and confounders are made at the group level.

2. A "partial ecologic study" is one where:

Partial ecologic studies combine individual-level and group-level measurements.

3. Which is an example of a global variable?

Population density is a characteristic of the group that has no meaningful analogue at the individual level.

4. Aggregate variables in ecologic studies are:

Aggregate (derived) variables are formed by summarizing individual observations (e.g., proportion exposed, mean BMI, disease rate).

5. In the ecologic linear model, the group-level incidence rate ratio IRG requires:

IRG = 1 + β10 assumes groups exist with no exposure (X=0) and complete exposure (X=1), which is usually extrapolation beyond observed data.

6. The ecologic fallacy refers to:

The ecologic fallacy occurs when associations observed at the group level are assumed to apply at the individual level.

7. The atomistic fallacy is:

The atomistic fallacy is the opposite of the ecologic fallacy—it occurs when individual-level findings are incorrectly generalized to groups.

8. Non-differential exposure misclassification in ecologic studies biases estimates:

Unlike in individual-level studies, non-differential misclassification in ecologic studies biases the group-level association away from the null.

9. Group-level confounding in ecologic studies:

Even factors that are not confounders at the individual level can create confounding at the group level if their distribution varies across groups.

10. In Example 29.6 from the textbook, effect modification by group caused:

The individual-level IR was 5.0, but the ecologic IRG was 0.67—a complete reversal caused by group-level effect modification.

11. Ecologic bias is LESS likely when:

Ecologic bias is minimized when there is a large range of exposure across groups, small within-group variance, and similar distribution of confounders across groups.

12. Multilevel modelling (MLM) helps address ecologic bias by:

MLM integrates data from multiple levels, allowing researchers to separately estimate individual-level and group-level (contextual) effects.

13. A study measuring the effect of a city's water fluoridation policy on community-level dental health (with inferences remaining at the community level) is:

When variables are measured at the group level and inferences also remain at the group level, this is a non-ecologic group-level study.

14. According to Dufault and Klar (2011), what proportion of ecologic studies adequately justified the choice of ecologic design?

Only 42% of reviewed studies adequately and explicitly justified an ecologic analysis or why the design was necessary.

15. Rose (2001) distinguished between two key epidemiological questions. Which pair correctly represents them?

Rose distinguished between studying why individuals get sick (etiology of a case—individual level) and why populations have different disease rates (etiology of incidence—population level). Both questions require different levels of analysis.

Congratulations!

You have successfully completed Lesson 6: Ecological and Group-Level Studies. You now understand the principles, strengths, and limitations of ecologic studies, including the three types of variables, sources of bias, the ecologic and atomistic fallacies, and strategies for reducing inferential errors through integration of individual and group-level data.

Lessons 3–6 covered the four major observational designs. Lesson 7 — Conceptualization, Measurement, and Causal Specification — steps back from study design to the prior question every design depends on: how do we move from a vague research question to a measurable variable, and how do we specify the causal model the analysis is supposed to test? It is the bridge into the bias material that occupies Lessons 8–11.