Open Agent School · Public worked example

Conditional Probability: Read the Base Rate: meaning and example

Welcome! Take one idea with you today.

Conditional probability asks how likely one event is within cases where another event is known. P(issue | alert) concerns alerted cases; P(alert | issue) concerns cases with an issue. Bayes’ rule connects these directions using the base rate: how common the issue was before the alert.

Picture it: Among 10,000 requests, 1% have an issue. A detector catches 90 of those 100 and falsely flags 495 of the other 9,900. Only 90 of 585 alerts are true issues.

What is easy to mix up?

Sensitivity is not the fraction of correct alerts. That fraction also depends on false positives and the base rate.

Teaching example by Open Agent School. Source: OpenIntro Statistics - open textbook and learning resources.