Qm

Simpson's paradox: the better hitter with the worse average

Two hitters are compared by batting average (hits / at-bats), split by the handedness of the pitcher they faced:

vs RHPvs LHPSeason
Player X35/100 (.350)100/400 (.250)135/500 (.270)
Player Y136/400 (.340)24/100 (.240)160/500 (.320)

X hits better against right-handers (.350 vs .340) and against left-handers (.250 vs .240), yet Y's overall average is higher (.320 vs .270).

Who is the better hitter, and explain the reversal.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Simpson's paradox: the safer hospital with worse overall survivalSimpson's paradox: the more reliable courier with the worse on-time rateSimpson's paradox: the sharper agent with the lower resolution rateSimpson's paradox with two trading regimesSimpson's paradox in broker fill ratesTwo analysts, two quarters, a reversal
All questions →