Table of Contents
Fetching ...

The Role of Confounders and Linearity in Ecological Inference: A Reassessment

Shiro Kuriwaki, Cory McCartan

TL;DR

This paper reframes ecological inference (EI) as a specific instance of causal inference and linear regression, highlighting that confounding must be addressed for credible population-level conditional means to be identified from aggregated data. It formalizes identification conditions under coarsening at random (CAR) and shows that aggregation induces a partially linear conditional expectation in the predictor, enabling regression-based estimation with covariates. The authors compare King’s 2×2 model, count-based R×C models, and semiparametric EI, showing how each can be understood within a unified linear-regression framework, and they advocate flexible, covariate-rich approaches (e.g., double/debiased machine learning) to robustly control for confounders. Empirically, using political-science datasets with ground-truth proxies, they demonstrate persistent biases in EI—such as overestimating racial polarization and nationalization—though covariates can mitigate some errors, underscoring the importance of sensitivity analyses and flexible modeling. The work provides a principled framework for diagnosing and improving EI in applied settings, with practical implications for policy-relevant inferences from aggregate data.

Abstract

Estimating conditional means using only the marginal means available from aggregate data is commonly known as the ecological inference problem (EI). We provide a reassessment of EI, including a new formalization of identification conditions and a demonstration of how these conditions fail to hold in common cases. The identification conditions reveal that, similar to causal inference, credible ecological inference requires controlling for confounders. The aggregation process itself creates additional structure to assist in estimation by restricting the conditional expectation function to be linear in the predictor variable. A linear model perspective also clarifies the differences between the EI methods commonly used in the literature, and when they lead to ecological fallacies. We provide an overview of new methodology which builds on both the identification and linearity results to flexibly control for confounders and yield improved ecological inferences. Finally, using datasets for common EI problems in which the ground truth is fortuitously observed, we show that, while covariates can help, all methods are prone to overestimating both racial polarization and nationalized partisan voting.

The Role of Confounders and Linearity in Ecological Inference: A Reassessment

TL;DR

This paper reframes ecological inference (EI) as a specific instance of causal inference and linear regression, highlighting that confounding must be addressed for credible population-level conditional means to be identified from aggregated data. It formalizes identification conditions under coarsening at random (CAR) and shows that aggregation induces a partially linear conditional expectation in the predictor, enabling regression-based estimation with covariates. The authors compare King’s 2×2 model, count-based R×C models, and semiparametric EI, showing how each can be understood within a unified linear-regression framework, and they advocate flexible, covariate-rich approaches (e.g., double/debiased machine learning) to robustly control for confounders. Empirically, using political-science datasets with ground-truth proxies, they demonstrate persistent biases in EI—such as overestimating racial polarization and nationalization—though covariates can mitigate some errors, underscoring the importance of sensitivity analyses and flexible modeling. The work provides a principled framework for diagnosing and improving EI in applied settings, with practical implications for policy-relevant inferences from aggregate data.

Abstract

Estimating conditional means using only the marginal means available from aggregate data is commonly known as the ecological inference problem (EI). We provide a reassessment of EI, including a new formalization of identification conditions and a demonstration of how these conditions fail to hold in common cases. The identification conditions reveal that, similar to causal inference, credible ecological inference requires controlling for confounders. The aggregation process itself creates additional structure to assist in estimation by restricting the conditional expectation function to be linear in the predictor variable. A linear model perspective also clarifies the differences between the EI methods commonly used in the literature, and when they lead to ecological fallacies. We provide an overview of new methodology which builds on both the identification and linearity results to flexibly control for confounders and yield improved ecological inferences. Finally, using datasets for common EI problems in which the ground truth is fortuitously observed, we show that, while covariates can help, all methods are prone to overestimating both racial polarization and nationalized partisan voting.
Paper Structure (34 sections, 2 theorems, 29 equations, 13 figures, 1 table)

This paper contains 34 sections, 2 theorems, 29 equations, 13 figures, 1 table.

Key Result

Proposition 3.1

If CCAR holds so that $\mathop{\mathrm{\mathbb{E}}}\nolimits[\mathbf{B}_g | \overline{\mathbf{X}}_g, N_g] = \boldsymbol{\beta}$ for all $g$, then $\boldsymbol{\beta}$ is identified as the (population) regression coefficients of $\overline Y$ on $\overline{\mathbf{X}}$.

Figures (13)

  • Figure 1: Examples of the Ecological Fallacy. X-axis shows the Black population as a share of the overall voting-age population (VAP). The y-axis shows the total number of votes cast for George Wallace as a share of VAP. The estimated VAP turnout in the two states was 54%, which was in turn split across Nixon (21%), Wallace (17%), and Humphrey (16%).
  • Figure 2: Intuition for EI as linear regression. A simulated example where the quantity of interest is $\beta_1=0.5$. In panel (a), $n = 20$ data points are simulated from the model of king1997solution. A simple OLS fit evaluated at $\overline X_1=1$ provides an estimate that agrees with both King's EI algorithm and the ground truth. In panel (b), an outlier with high leverage is added to the dataset, shown in the top-right part of the figure. The resulting OLS fit severely overestimates the truth, as does, to a lesser extent, King's EI. However, if the outlier differs with the other $n=20$ points on some covariate $Z$, controlling for $Z$ in the OLS reduces the bias significantly.
  • Figure 3: Ground Truth Joint Distribution
  • Figure 4: Geography of Racial Minorities
  • Figure 6: Accuracy of EI Methods in Uncovering Partisanship among Racial Groups. Ecological inference estimates for the percentage of each racial group that is registered for the Democratic Party, with 95% and 50% confidence intervals. The true values of the registrations are shown in gray vertical lines and labelled. Estimates from different methods are shown with the black line. seine includes the covariates education, median income, median age, density, and distance to a city/university. Rosen et al.'s model refers to the multinomial Dirichlet model available in eiPack. Estimates for other outcomes are shown in table form in Table \ref{['tbl-nc2-full']}.
  • ...and 8 more figures

Theorems & Definitions (4)

  • Proposition 3.1: Identification under CCAR
  • Proposition 3.2: Identification under CAR
  • proof
  • proof