You and your friend decide to spend the whole weekend doing a Brilliant marathon. The winner is whoever has answered the most number of questions right out of a massive set of 1500 problems at the end of the 2 day weekend.
On the first day, you answer 1200 questions, out of which about 62.2% were right. Your friend answers 700 questions, out of which about 63.6% were correct. Your friend teases you over the phone about how he has got a higher percentage of questions correct than you at the end of the first day.
On the second day, you answer 300 questions, out of which about 58.3% were correct. Your friend answers 800 questions, out of which he answers about 58.8% were correct. Once again, your friend teases you because the percentage of the number of questions he has got correct is greater than yours.
Who won this marathon?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Though it seems like your friend has beaten you, you actually have won. This counter-intuitiveness is called the Simpson's Paradox .
During the first day, you answered 6 2 . 2 % × 1 2 0 0 ≈ 7 4 6 questions right whereas your friend answered 6 3 . 6 % × 7 0 0 ≈ 4 4 5 questions right.
During the second day, you answered 5 8 . 3 % × 3 0 0 ≈ 1 7 5 questions right whereas your friend answered 5 8 . 8 % × 8 0 0 ≈ 4 7 0 questions right.
Furthermore, both you and your friend answered all 1500 of the questions. We will represent the above information in a table.
Day 1 Day 2 Total You 7 4 6 1 7 5 9 2 1 Your friend 4 4 5 4 7 0 9 1 5
Clearly, you answered more questions correct that your friend. Therefore, you are the winner.