Mathematical Wonders

What does the
evidence change?

Use Bayes’ rule to update a probability when evidence arrives, then see why calibration and uncertainty matter in real decisions.

When a good detector raises many false alarms

Imagine 10,000 machine parts. If 1% are defective, there are 100 defective parts. A detector catches 95% of defects and flags 5% of sound parts. It therefore flags 95 defective parts and 495 sound parts. Only 95 of its 590 alarms, about 16%, correspond to defects.

We started with a rate in the whole population and ended with a rate within the group that triggered an alarm. These are different denominators.

Change how common defects are

Keep the detection and false-alarm rates fixed. Compare the expected counts and the share of alarms that correspond to defective parts.

1% defective · 95 true alarms and 495 false alarms · 16.1% of alarms are true.

The rule behind the counts

Let D mean defective and + mean the detector flags the part. Bayes’ rule says:

P(D | +) = P(+ | D) · P(D) / P(+)

The numerator is the probability of being defective and flagged. The denominator adds all ways of getting flagged, including a false alarm. The result depends on the base rate P(D), so a detector can give different answers in two factories even with the same measured detection characteristics.

What it means to trust a probability

A well-calibrated forecast of 70% should be followed by the event around 70% of the time across many comparable forecasts. A calibrated model can still be too vague to support a decision. Practical evaluation also examines how well it distinguishes more likely events from less likely ones, how useful actions are at different thresholds, and whether the data come from the conditions where the model will be used.

Evidence also enters through hypotheses. A p-value measures the probability of an outcome at least as extreme as the observed one, using a specified test statistic under a null model. A posterior probability uses priors and a likelihood. Each answers a different question.

Read the sources · Kyle Cranmer · Practical Statistics for the LHC

When are most alarms true?

With this detector, what defect rate makes exactly half the alarms true?

Reveal the explanation

Equate true and false alarm probabilities: 0.95p = 0.05(1 − p), so p = 0.05. Above 5%, most alarms are true under the stated detector model.

Explore the archive

Search page titles and topics. Press / to open. Esc to close.