Sometimes probabilities need to be updated when we learn new information. Conditional probability answers this question:
βWhat is the probability of event B, given that event A has happened?β
This is written as P(B | A) and pronounced βthe probability of B given A.β
In a case where all outcomes of a random experiment are equally likely:
Then:
This means conditional probability is like the relative frequency of B among all the cases where A happened.
Total parts: 400
Flawed parts (F): 40
β Defective (D β© F): 10
β Not defective (D' β© F): 30
Non-flawed parts (Fβ²): 360
β Defective (D β© Fβ²): 18
β Not defective (D' β© Fβ²): 342
We want P(D | F):
We want P(D | Fβ²):
Interpretation: The probability of being defective is 5Γ higher if the part has a surface flaw. This is the power of conditional probability β adjusting based on known conditions.
There are 20 students in a class. 10 students submitted an assignment. Among them:
What is the probability that a student got an A, given that they submitted the assignment?
Solution:
We are asked for: P(A | Submitted)
Total who submitted = 10
Number who got A among those = 3
So,