Skip to content

Methods · Regression · Ecological inference

Ecological Inference for 2x2 Tables (Goodman Regression, Duncan-Davis Bounds, King's EI)

Ecological inference for 2x2 tables estimates the unknown within-group rates, such as turnout among a group and among everyone else, from aggregate unit-level shares using Goodman regression, Duncan-Davis bounds and King's method.

2x2 표의 생태학적 추론은 단위별 집계 비율만으로 집단 내부 비율(예: 특정 집단과 나머지의 투표율)을 Goodman 회귀, Duncan-Davis 한계, King 방법으로 추정합니다.

I only have district-level turnout and the share of young voters; can I estimate turnout among young and older voters separately?

선거구별 투표율과 청년 유권자 비율만 있는데, 청년과 나머지 유권자의 투표율을 따로 추정할 수 있나요?

Goodman regression treats turnout as a weighted average of the two group rates and estimates them by weighted least squares, and the Duncan-Davis bounds give the range each district's rates must lie in. King's method fits a truncated bivariate normal for the district rates within those bounds and simulates district and aggregate estimates with intervals.

When to use Ecological Inference for 2x2 Tables (Goodman Regression, Duncan-Davis Bounds, King's EI)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Goodman regression estimated the rate at [value] in the group and [value] elsewhere; King's EI gave an aggregate group rate of [value] (95% interval [value]-[value]), within the Duncan-Davis bounds of [value] to [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation).

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Ecological Inference for 2x2 Tables (Goodman Regression, Duncan-Davis Bounds, King's EI) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a weight column
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q21084 · Reviewed 2026-10-25