Part b) demonstrates how to calculate conditional probabilities. If A is an event and B is another event, then P(B|A) is the probability of B occurring given that A has already occurred. Also, P(B|A) is not generally equal to P(A|B).
The following formula is used to compute the conditional probability of B given A:
As an example, suppose a marble is selected and it is only known that the marble is odd numbered. What is the probability the marble is Red given the marble is Odd?
| P(Red|Odd) | = | P(Red and Odd) / P(Odd) |
| = | (4/20) / (10/20) | |
| = | 4/10 |
Conditional probabilities simplify in the following situations: