BackConditional Probability, Complements, and Bayes’ Theorem: Study Guide
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Conditional Probability, Complements, and Bayes’ Theorem
The Big Picture
This chapter explores three interconnected concepts in probability: conditional probability, the complement rule (especially for "at least one" problems), and Bayes’ Theorem. Mastery of these ideas is essential for understanding how to update probabilities based on new information and how to interpret test results in real-world contexts.
Conditional Probability
What Is Conditional Probability?
Conditional probability is the probability of an event occurring, given that another event has already occurred. Instead of considering the entire sample space, we focus only on the subset where the given condition is true.
Notation: is read as "the probability of B given A." The event after the bar (|) is the condition that has already happened; the event before the bar is what we are finding the probability of.
Formula:
From a table:
Visualization: In a Venn diagram, once event A has occurred, only the overlap with B (A ∩ B) matters within A.
Example: Polygraph Test
Let A = subject is telling the truth; B = polygraph indicates lying.
is the probability the polygraph indicates lying, given the subject is telling the truth (a false positive).
Conditional Probability from Tables
When using tables to find conditional probabilities:
Identify the row or column for the given condition (the event after the bar).
Use only that row/column total as the denominator.
Divide the relevant cell count by that total.
Example 1: Students and Money
Purchased Gum | Kept Money | Total | |
|---|---|---|---|
Given Four Quarters | 25 | 17 | 42 |
Given $1 Bill | 19 | 26 | 45 |
Total | 44 | 43 | 87 |
(59.5%)
(40.5%)
Example 2: $1 Bill
Purchased Gum | Kept Money | Total | |
|---|---|---|---|
Given Four Quarters | 32 | 18 | 50 |
Given $1 Bill | 11 | 26 | 37 |
Total | 43 | 44 | 87 |
(29.7%)
(70.3%)
Interpretation: The form of money affects spending behavior.
Example 3: Disease Testing (False Positives)
Had Disease | No Disease | Total | |
|---|---|---|---|
Positive Test | 122 | 5 | 127 |
Negative Test | 28 | 145 | 173 |
Total | 150 | 150 | 300 |
(3.33%)
This is the false positive rate.
Example 4: Disease Testing (False Negatives)
Had Disease | No Disease | Total | |
|---|---|---|---|
Positive Test | 329 | 3 | 332 |
Negative Test | 10 | 1138 | 1148 |
Total | 339 | 1141 | 1480 |
(2.95%)
False negatives can be more serious, as sick patients may not seek treatment.
Positive Predictive Value (PPV)
Definition: PPV is the probability that a subject actually has the condition, given a positive test result.
No (Did Not Lie) | Yes (Lied) | Total | |
|---|---|---|---|
Positive Test | 16 | 43 | 59 |
Negative Test | 33 | 12 | 45 |
Total | 49 | 55 | 104 |
(72.9%)
About 27% of positive results were false alarms.
The Complement Rule
"At Least One" Problems
Calculating the probability of "at least one" occurrence is often easier by finding the probability of none and subtracting from 1.
Example 1: Six children, probability at least one girl: (98.4%)
Example 2: Nine births, , probability at least one boy: (99.9%)
Example 3: Last four digits of a phone number, probability at least one 0: (34.4%)
Example 4: 68% of Wi-Fi users are careful, probability at least one of 4 is careful: (99.0%)
Additional info: Survey data may be biased if self-reported.
Independence
Definition and Example
Independent events do not affect each other. The outcome of one event does not change the probability of another.
Example: If the first two children are girls, the probability the third child is a girl is still 0.5.
Redundancy and Reliability
Using Redundancy to Increase Reliability
Adding independent backup systems (like hard drives) increases the probability that at least one will work.
Example: Each drive has an 8% failure rate per year.
Two drives: (99.36%)
Three drives: (99.95%)
Combined Sample Testing
Pooling Samples for Efficiency
Combining samples for a single test can save resources. If the combined test is negative, all are cleared; if positive, retest individually.
Example 1: , combined sample of 3: (27.1%)
Example 2: , two pools: (1.40%)
Bayes’ Theorem
What Is Bayes’ Theorem?
Bayes’ Theorem allows us to reverse conditional probabilities: given the result, what is the probability of a specific cause?
The denominator sums all ways the result B could occur; the numerator isolates the path through A.
Worked Example: Two Bags of Balls
Bag A: 3 red, 7 blue; Bag B: 6 red, 4 blue; pick a bag at random, draw a red ball.
Find .
Step-by-step:
(33.3%)
Interpretation: Observing a red ball makes it less likely you picked Bag A, since Bag B has more red balls.
Practice Problem: Factory Phones
Factory A: 60% of phones, 2% defective; Factory B: 40% of phones, 5% defective.
Find .
(37.5%)
Interpretation: Even though Factory A makes more phones, Factory B's higher defect rate means a defective phone is more likely from Factory B.
Summary & Quick Reference
Key Formulas
Conditional Probability:
At Least One (Complement Rule):
Independent Events (all occur):
Bayes’ Theorem:
Concept Review: False Positives and False Negatives
False Positive: Test indicates a condition is present when it is absent.
False Negative: Test indicates a condition is absent when it is present.
Which is more serious? Usually false negatives, as they may prevent needed treatment.
Common Mistakes to Avoid
Confusing with
Assuming previous outcomes affect future independent events
Using the entire table instead of focusing on the given condition
Forgetting to use the complement for "at least one" problems
Assuming samples are representative (beware of volunteer bias)
Confusing false positive with false negative
Forgetting to add all paths in the denominator when using Bayes’ Theorem
Plugging numbers into Bayes’ formula in the wrong order