Conditional Probability
in Models
Find \( P(A \mid B) \) as the fraction of B's outcomes that also belong to A, and interpret it in context.
What Is Conditional Probability?
A conditional probability measures the chance that event \( A \) happens given that event \( B \) has already happened. We write it as \( P(A \mid B) \), read as "the probability of A given B."
The Condition Shrinks the World
Why Does This Matter?
The Formula
$$ P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)} $$
In a two-way table or count model, this becomes a simple fraction of counts:
$$ P(A \mid B) = \frac{\text{number in both } A \text{ and } B}{\text{number in } B} $$
Reading a Two-Way Table
| Likes Sports | No Sports | Total | |
|---|---|---|---|
| Boys | 30 | 10 | 40 |
| Girls | 20 | 40 | 60 |
| Total | 50 | 50 | 100 |
\( P(A \mid B) \) vs \( P(B \mid A) \)
These two are not the same! The order matters because the denominator changes.
\( = \frac{30}{40} = 0.75 \)
\( = \frac{30}{50} = 0.60 \)
How to Apply It
Example 1: Survey Table
| Online | In-Person | Total | |
|---|---|---|---|
| Seniors | 18 | 12 | 30 |
| Juniors | 10 | 40 | 50 |
| Total | 28 | 52 | 80 |
Example 2: Venn Diagram
Example 3: Interpreting the Model
| Defective | Good | Total | |
|---|---|---|---|
| Machine X | 6 | 94 | 100 |
| Machine Y | 2 | 148 | 150 |
| Total | 8 | 242 | 250 |
Common Mistakes
Quick Summary
| Step | What to Do | Example |
|---|---|---|
| Condition | Identify event \( B \) | "Senior" |
| Denominator | Total count of \( B \) | 30 |
| Numerator | Overlap of \( A \) and \( B \) | 18 |
| Result | \( \frac{\text{count in } A \text{ and } B}{\text{count in } B} \) | \( \frac{18}{30} = 0.6 \) |
| Interpret | State in context | "60% of seniors..." |
Question 1 of 5
In a class, 40 students are Boys and of those 30 like sports. What is \( P(\text{Sports} \mid \text{Boy}) \)?
Question 2 of 5
Which fraction correctly defines \( P(A \mid B) \) in a count model?
Question 3 of 5
Of 45 art students, 15 also take music. What is \( P(\text{Music} \mid \text{Art}) \)?
Question 4 of 5
A test gives 8 defective parts total; 6 came from Machine X. Given a part is defective, what is \( P(\text{Machine X}) \)?
Question 5 of 5
Why is \( P(A \mid B) \) usually different from \( P(B \mid A) \)?
Key Takeaways
You've Got Conditional Probability!
Find the condition, count \( B \), count the overlap, divide, and interpret in context. That's all there is to \( P(A \mid B) \).