Conditional probability
A conditional probability restricts attention to outcomes where the conditioning event is known. The event after the vertical bar supplies the denominator, and the intersection supplies the numerator
- Read after the bar In Pr(A|B), event B is the known condition and the reduced sample space \(\displaystyle \Pr(A\mid B)\text{ uses }B\)
- Use the intersection The numerator contains outcomes that satisfy both the required event and the condition \(\displaystyle \Pr(A\cap B)\)
- Use the condition denominator Divide the intersection probability by Pr(B), which must be positive. With equally likely outcomes, the same quotient can be calculated from counts \(\displaystyle \Pr(A\mid B)=\frac{\Pr(A\cap B)}{\Pr(B)},\quad\Pr(B)>0\)
- Keep directions separate Reversing the events usually changes the reduced sample space and the answer \(\displaystyle \Pr(A\mid B)\ne\Pr(B\mid A)\text{ in general}\)
Worked example
A finite experiment has 30 equally likely outcomes. Event A contains 12 outcomes, event B contains 15 outcomes, and 6 outcomes are in both events. Find Pr(A|B)
- \(\displaystyle \Pr(A\mid B)\text{ has condition }B\)The event after the bar is the reduced sample space
- \(\displaystyle n(A\cap B)=6,\quad n(B)=15\)Use the intersection for the numerator and the known event B for the denominator
- \(\displaystyle \Pr(A\mid B)=\frac{6}{15}=\frac{2}{5}=0.4\)Divide the intersection count by the count in the conditioning event and reduce
Common mistakes
Difficulty levels
Questions about this topic
What does the vertical bar mean in Pr(A|B)?+
It means that B is known. The calculation is the probability of A and B divided by the probability of B. The probability of B must be positive
Why is the numerator an intersection?+
The required outcome must be in both A and B, so it belongs to their intersection
Why are Pr(A|B) and Pr(B|A) usually different?+
They divide the same intersection probability by different conditioning probabilities. Use Pr(B) for Pr(A|B) and Pr(A) for Pr(B|A), provided the respective denominator is positive
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 14: Statistical inference