Simpson's Paradox Simulator

Edit subgroup counts and see how aggregate rates can reverse the within-group pattern.

Easy cases

Each total is capped at 5,000.

Each total is capped at 5,000.

Hard cases

Each total is capped at 5,000.

Each total is capped at 5,000.

Trials x all four subgroup totals must be at most 5,000,000.

Aggregate A rate

78.0%

Aggregate B rate

82.6%

Reversal status
Reversal detected
Group mix mechanism
A has more hard cases
Simulated reversal frequency
Not run
Subgroup rates
GroupA rateB rate

Run the simulation to fill Monte Carlo metrics and convergence.

Monte Carlo convergence
TrialA rateB rateReversal frequency
Export

subgroup rate = successes / total; aggregate rate = summed successes / summed total How?

How this is calculated

Simpson's paradox is flagged only when one arm has the higher rate in every subgroup and the other arm has the higher aggregate rate. Ties are not counted as a full reversal.

Formula: subgroup rate = successes / total; aggregate rate = summed successes / summed total

Sources

  1. Stanford Encyclopedia of Philosophy Simpson's Paradox. Stanford Encyclopedia of Philosophy. Retrieved .

Method last reviewed