math-lab

information · rates

Bayes' theorem

A test says this person is ill. How often is that person really ill?

A test says this person is ill. Of the people it calls ill, how many are really ill?

Of the people who are ill, this is the share the test catches.
Of the people the test calls ill, this is the share who are really ill. Coral is people who are well.

Of the people the test calls ill, what share are really ill?
10 of 100People who are ill before any test
—Of the people the test calls ill, the share who are really ill
—Ill people plus well people the test calls ill

The mix-up. Two questions sound alike. Of the people who are ill, how many does the test catch? And of the people the test calls ill, how many are really ill?

A rare note. Shannon information is how much that news surprises you. Most days are sunny, so a note that says sun tells you what you already thought. Rain is the unusual day, and that message carries the surprise. A sure message carries none.

A red shoe. Hempel's ravens, also called the confirmation paradox, asks what should count. "All ravens are black" can be read as "a thing that is not black is not a raven." A red shoe fits that reading. It is a very small piece of evidence about birds.

Green so far. Grue is a second word that fits the same emeralds. Green means green at any time. Grue means green before a future date, and blue after that date. Every emerald seen so far fits both words. They disagree about the next one.