Blog topic

Probability and chance

The rules of probability, worked out on problems everyone knows: shared birthdays, the three doors, seven shuffles, and a coin that is not quite fair. Also why a positive medical test is not a diagnosis, and what Bayes' theorem does with the base rate.

μsample 1 to 20
Unit 6 Twenty samples of ten from one population (simulated, fixed seed), each with its 95 per cent interval. One misses the true mean, about one in twenty.

Articles

A coin is not quite fair, and we know why
17 Oct 2026

A coin is not quite fair, and we know why

In 2007 Persi Diaconis and two colleagues predicted from the physics of a spinning coin that it lands the way it started about 51 per cent of the time. In 2023, 48 people flipped coins 350,757 times and got 50.8. What that means for a coin toss, and for what a probability is.

A positive test is not a diagnosis
5 Sep 2026

A positive test is not a diagnosis

A screening test that is right 90 per cent of the time can give a positive result that is wrong nine times out of ten. The reason is the prevalence of the disease, and an array of 1,000 people makes it plain in a way that Bayes' theorem on its own does not.

Monty Hall, settled by counting
30 Aug 2026

Monty Hall, settled by counting

Three doors, a car, two goats, and a host who opens a door he knows is empty. Switching wins two times in three. Here are the cases counted out, the 1990 letters that told Marilyn vos Savant she was wrong, and the version of the problem in which switching really does not help.

The birthday problem, worked out
24 Aug 2026

The birthday problem, worked out

With 23 people in a room, the chance that two of them share a birthday is just over one half. The calculation takes five lines, and the same idea explains matching PINs, shared birthdays in a football squad, and why computer security people worry about collisions.

Seven shuffles, how many riffles make a deck random
31 Jul 2026

Seven shuffles, how many riffles make a deck random

Dave Bayer and Persi Diaconis showed in 1992 that a deck of 52 cards is still far from random after five riffle shuffles and close to random after seven. Here is what the distance from random measures and why the change is so sudden.