Inferensys

Glossary

Simpson's Paradox

A statistical phenomenon where a trend appearing in several different groups of data disappears or reverses when these groups are aggregated, often due to a hidden confounding variable.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
STATISTICAL PHENOMENON

What is Simpson's Paradox?

Simpson's Paradox is a statistical phenomenon where a trend or association observed in several distinct groups of data reverses or disappears when those groups are combined, often due to a hidden confounding variable.

Simpson's Paradox occurs when the direction of an association between two variables reverses upon aggregation of data, driven by an unseen confounding variable that influences both the grouping and the outcome. This paradox reveals that aggregated statistics can present a completely misleading picture of the underlying causal relationships within a system.

In supply chain disruption analysis, failing to account for this paradox can lead to catastrophic misdiagnosis. For example, a root cause identification engine might show that a specific supplier's on-time delivery rate improves overall when aggregated quarterly, yet a breakdown by product category reveals a severe decline in critical components masked by a high volume of non-critical, on-time deliveries.

THE AGGREGATION TRAP

Core Characteristics

The defining features of Simpson's Paradox, where a trend present in subgroups reverses or disappears when the data is combined, driven by a hidden confounding variable.

01

Trend Reversal on Aggregation

The hallmark of the paradox: a statistical association (e.g., a positive correlation) observed in multiple separate groups reverses direction (becomes negative) or disappears entirely when the groups are combined into a single aggregate dataset. This is not a mathematical error but a structural feature of the data.

02

Hidden Confounding Variable

The reversal is driven by a lurking variable that influences both the independent and dependent variables. This confounder has an unequal distribution across the aggregated groups, creating a spurious association in the combined view. In supply chains, this is often a variable like order size or supplier lead time class.

03

Unequal Group Sizes

The paradox manifests when the subgroups being aggregated have substantially different sample sizes. The larger group's internal trend is diluted, while its weight dominates the aggregate calculation, masking the true, consistent relationship found within each individual subgroup.

04

Causal vs. Statistical Inference

Simpson's Paradox starkly illustrates the danger of inferring causation from raw correlation. A naive analysis of aggregate data yields a statistically valid but causally false conclusion. Resolving it requires a causal graph (DAG) to identify the confounder and compute the true causal effect using techniques like stratification or the Backdoor Criterion.

05

Supply Chain Example: Supplier Performance

A classic operational scenario: Supplier A has a higher on-time delivery rate than Supplier B for both small and large orders individually. However, when all orders are aggregated, Supplier B appears to have the higher overall rate. The confounder is order size: Supplier A handles mostly large, complex orders, while Supplier B handles mostly small, simple ones.

06

Resolution via Stratification

The primary defense against the paradox is data stratification. By disaggregating data by the confounding variable (e.g., analyzing delivery performance separately for each order size class), the true, consistent subgroup trends are revealed. This prevents a misleading aggregate metric from driving a flawed operational decision, such as firing a superior supplier.

CAUSAL PITFALLS

Frequently Asked Questions

Clear answers to the most common questions about Simpson's Paradox and its impact on supply chain disruption analysis.

Simpson's Paradox is a statistical phenomenon where a trend or association observed in several distinct groups of data reverses or disappears entirely when those groups are aggregated into a single pool. This reversal occurs because of a hidden confounding variable—often a lurking categorical variable like a supplier tier, region, or time period—that influences both the grouping and the outcome. The paradox works by exploiting unequal group sizes and differing baseline rates. For example, a global on-time delivery rate might appear to improve quarter-over-quarter, but when disaggregated by shipping lane, every individual lane actually shows a decline. The aggregate improvement is an artifact of a shift in volume toward historically faster lanes, masking the systemic degradation. In supply chain disruption analysis, this paradox is lethal: it can make a failing logistics node look healthy in aggregate reports, leading risk managers to ignore a critical vulnerability until it cascades into a full-blown failure.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.