Introduction to Conditional Probability
In basic probability, we look at the chance of something happening in a general sense. But what happens if we already have some extra information? For example, the probability that it will rain today might be low, but the probability that it will rain given that the sky is already dark and cloudy is much higher!
This is called conditional probability. It is all about how the probability of one event changes based on whether another event has already happened. It is a vital tool for statisticians to make more accurate predictions in the real world.
What is Conditional Probability?
Conditional probability is the probability of an event (let's call it B) happening, given that another event (A) has already occurred.
Think of it as "narrowing your focus." Instead of looking at the whole group (the entire population), you only look at the specific group where event A is true.
The Notation: \(P(B|A)\)
In your exam, you will see a special symbol for this: a vertical line.
\(P(B|A)\) is read as "the probability of B given A."
- The letter after the line is the event we know has happened (the condition).
- The letter before the line is the event we are trying to find the probability for.
The Conditional Probability Formula
To calculate conditional probability, we use this formula:
\(P(B|A) = \frac{P(A \text{ and } B)}{P(A)}\)
Don't worry if this looks intimidating! In simple terms, it means:
\(P(B|A) = \frac{\text{The outcomes where BOTH things happen}}{\text{The outcomes where the condition (A) happens}}\)
Example: In a class of 30 students, 10 play football, 8 play rugby, and 3 play both. If we pick a student who we know plays football, what is the probability they also play rugby?
- The "condition" is that they play football (10 students). This is our new total.
- The "target" is those who do both (3 students).
- The probability \(P(\text{Rugby}|\text{Football}) = \frac{3}{10}\) or \(0.3\).
Quick Tip: Always make sure the denominator (the bottom of the fraction) is the probability or frequency of the condition (the "given that" part)!
Using Diagrams for Conditional Probability
Visual tools are the easiest way to solve these problems. You will often be asked to use Two-way Tables, Venn Diagrams, or Tree Diagrams.
1. Two-way Tables
Two-way tables are perfect for conditional probability because they literally "limit" the data for you. If a question says "Given that the person is Female...", you simply ignore the "Male" row and only use the "Female" row as your total.
2. Venn Diagrams
In a Venn diagram of events A and B, if you are asked for \(P(B|A)\):
- Look only inside the circle for A.
- Find the part of that circle that also belongs to B (the overlap).
- The answer is \(\frac{\text{Overlap}}{\text{Total of circle A}}\).
3. Tree Diagrams
On a tree diagram, the second set of branches actually represents conditional probabilities. The probability on the second branch is the chance of that event happening given that the first branch has already happened.
Conditional Probability and Independence
Sometimes, one event happening doesn't change the probability of the other at all. This is called independence.
If two events A and B are independent, then:
\(P(B|A) = P(B)\)
This means the probability of B happening is the same, whether A happened or not. For example, the probability of rolling a 6 on a die "given that" you had toast for breakfast is still just the probability of rolling a 6!
Note: For more on how to test for independence, see the chapter on "Addition and multiplication laws".
Common Mistakes to Avoid
- Mixing up the order: Remember that \(P(B|A)\) is usually different from \(P(A|B)\). Always check which event is the "given" one!
- Forgetting to change the total: The most common error is using the grand total (everyone) instead of the total for the "given" group.
- Confusing "And" with "Given": \(P(A \text{ and } B)\) is the chance of both happening out of everyone. \(P(B|A)\) is the chance of B happening out of just the A group.
Key Takeaways
1. Definition: Conditional probability is the likelihood of an event occurring given that another event has already occurred.
2. Symbol: The vertical bar \(|\) means "given that."
3. Logic: When calculating, you "shrink" your sample space to only include the outcomes that satisfy the condition.
4. Formula: Use \(P(B|A) = \frac{P(A \text{ and } B)}{P(A)}\) when working with probabilities.