ToolArchipelago.Play lab

False Alarm

How much should you trust a positive test?

Imagine 1,000 objects moving through a factory. Some are defective. A scanner catches 90% of defects, but incorrectly flags 5% of good objects.

Why it matters

A test's sensitivity is not the probability that a flagged item is defective. The latter also depends on how common defects are and on the false-positive rate. Bayes' rule combines these quantities. The factory is fictional; this is not medical or safety advice. The grid rounds expected counts to whole objects; the probability uses exact expected values.

Try Pattern Trap · Try The Survivors