Updating on information
The conditional probability of A given B is P(A∣B)=P(B)P(A∩B): restrict attention to the cases where B happened and ask how often A also happened. Rearranged it is the multiplication rule, P(A∩B)=P(A∣B)P(B). Events are independent exactly when P(A∣B)=P(A).
P(B)=i∑P(B∣Ai)P(Ai),P(A∣B)=P(B)P(B∣A)P(A)(1) The law of total probability splits B over a set of exclusive, exhaustive cases Ai. Bayes' rule then reverses a conditional: from how likely the evidence is in each case, P(B∣A), it gives how likely each case is given the evidence, P(A∣B). The starting probability P(A) is the prior, and the result is the posterior. The most common mistake is to ignore the prior (the base rate).
A default screen that is mostly wrongA model flags firms likely to default. Two percent of firms default; the model flags 90% of defaulters and also flags 10% of healthy firms. Then
P(flag)=0.9⋅0.02+0.1⋅0.98=0.116 and
P(default∣flag)=0.1160.9⋅0.02≈0.155. A flagged firm defaults only about 15.5% of the time: the model is “” on defaulters, yet 84.5% of its flags are false alarms.
- Conditional: P(A∣B)=P(A∩B)/P(B), the probability inside the world where B happened.
- Total probability: add up P(B∣Ai)P(Ai) over every case.
- Bayes: posterior = likelihood × prior ÷ evidence. Do not confuse P(B∣A) with P(A∣B).
Rare events and the base rateAny screen for a rare event, whether fraud, default or a trading signal that works, produces mostly false positives unless it is extremely accurate, because the many non-events overwhelm the few real ones. Always ask “”, not only “”.
Lab · what's graded
- A conditional probability15 pts
- The chance of a flag15 pts
- The posterior20 pts
- The transposed conditional15 pts
- The steps of a Bayes update15 pts
- A 90% test that is mostly wrong20 pts