Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Probability paradoxes

Play Monty Hall, beat the birthday problem, spot the base-rate trap, flip a result with Simpson's paradox and learn when to stop looking.

games

How to use

  1. Monty Hall: pick a door, watch the host open goat doors, then keep or switch. Play a few rounds, then press Simulate to run thousands of games at once.
  2. Birthdays: type a group size to see the chance that two people share a birthday, worked out exactly and by simulation.
  3. Base-rate trap: type how rare something is and how good the test is. The table sorts 10,000 people by truth and test result, so you can see where the false alarms come from.
  4. Simpson's paradox: load an example or type successes and totals for two options in two groups, and see the winner flip when the groups are added together.
  5. When to stop: find the best plan for picking the top candidate from a line, then try it yourself.

Keyboard and touch

TabMove between tabs, doors, boxes and buttons
Enter or Space on a doorPick it, or keep or switch to it
Enter in a number boxWork out the current tab
Wide tablesSwipe or scroll sideways on a phone

Tips

  • Monty Hall: your first pick is right 1 time in 3, and the host's choice never changes that. All the rest of the chance, 2 in 3, moves to the one door he leaves shut. With 10 doors switching wins 9 times in 10.
  • With 23 people the birthday chance passes 50 % because there are 253 pairs, each a small chance to match. With 70 people it is over 99.9 %.
  • A test that is 99 % accurate can still be wrong most of the times it says yes, if what it looks for is rare. Always ask how common the thing is to begin with.
  • Simpson's paradox appears when the groups are very different sizes for each option. In the kidney stone study the less invasive treatment was mostly used on the easier small stones.
  • For the stopping problem the famous rule is: skip the first 37 %, then take the next one better than everything so far. It finds the very best about 37 % of the time, however long the line.

About this page

Monty Hall: the host always opens all but one of the other doors and never reveals the car; then keeping wins with chance 1/n and switching with (n − 1)/n. Birthdays: 1 − (d/d)((d − 1)/d)...((d − n + 1)/d), assuming every day is equally likely and ignoring leap days and twins. Base rates: Bayes' theorem, shown as natural frequencies out of 10,000 people; this is a general probability example, not medical advice or a guide to any real test.

Simpson's paradox examples: kidney stone treatments from Charig and others (British Medical Journal, 1986) and two batters' published hits per at-bat over two seasons. Best choice (the secretary problem): skipping the first r − 1 candidates and then taking the first one better than all before wins with chance ((r − 1)/n) × Σi=r..n 1/(i − 1) (Lindley, 1961). Simulations use your browser's random number generator; results vary slightly from run to run. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product