- Read a conditional probability as a restricted sample space.
- Use total probability to account for every way evidence can occur.
- Explain why a rare cause can remain unlikely after a positive signal.
Concepts
The given event becomes your world
If you know B occurred, discard outcomes outside B and renormalize the remaining weights. For , . The denominator is the event after the vertical bar. Swapping A and B usually changes the question.
Reverse a signal with Bayes
Both and describe the same intersection. Equating them gives . Think 'prior weight × compatibility with evidence, then normalize'. The denominator must include signals from every possible cause, including false positives.
Build the denominator by cases
If H and its complement exhaust the possibilities, . This is a weighted average, not an unweighted average of the two signal rates. A frequency table over an imagined population often makes the same calculation easier to audit.
Translate odds before using a probability
Odds in favor of H compare H with its complement. Odds a:b therefore mean , not a/b. For example, 2:3 odds mean a probability of 2/5. When both likelihoods are positive, Bayes also says posterior odds equal prior odds multiplied by the likelihood ratio . Keep odds and probability as different quantities when interpreting a signal.
Examples
Worked example 1
Which machine made it?
Machine A makes 60% of a factory's parts and has a 2% defect rate. Machine B makes 40% and has a 5% defect rate. A random part is defective. What is the probability it came from B?
Count an imagined batch
Among 1,000 parts, A contributes 600 and B contributes 400. Their expected defective counts are 12 and 20 respectively. These are weighted counts, not a claim about one exact batch.Restrict to defective parts
The defective pool has expected size 12+20=32. Of that pool, 20 come from B.Normalize
. B makes fewer total parts but contributes more defects.
Worked example 2
A coin chosen before a toss
A fair coin and a double-headed coin are equally likely to be selected. The chosen coin is tossed once and shows heads. What is the probability it is the double-headed coin?
Weight the evidence under each choice
Fair-and-heads has probability . Double-headed-and-heads has probability .Find the total heads probability
. Both coin types can produce the observed result.Restrict and divide
. One head is evidence, not certainty.
Explore the idea
Which positives come from H?
Change the base rate. Keep the signal quality fixed. Watch who makes up the positive group.
One tile = one expected case. Fractional tiles represent expected counts, not a simulated sample.
| Source | Positive | Negative |
|---|---|---|
| H | 8.00 | 2.00 |
| Not H | 9.00 | 81.00 |
P(H | positive)47.1%
8.00 true positives ÷ 17.00 total positives. The denominator includes 9.00 false positives.
Concept checks
Choose an answer, then check it. You can retry; your latest checked answer determines completion.
0 of 3 concept checks passed
Key results
- Read 'given' before calculating.
- Bayes reverses a conditional using prior weights.
- Include every route into the evidence.
- Use imagined counts when proportions feel abstract.
Practice problems
Solve related problems or try a timed probability drill.