To find the conditional probability, we will use the contingency table that we used in the lesson about marginal probability. The table shows test results for 200 students who took a GED test.
From the list of 200 students, we select a student randomly. However, suppose that you already know the student selected if a male.
The fact that you know the student is a male means that the event has already occurred.
Knowing that the student is a male, you can calculate the probability that this student has passed or failed.
This kind of probability is called conditional probability and here is the notation to find the probability that 'a student has passed if the student is male' along with some explanations.
You could compute any of the following 8 conditional probabilities.
P(A student has passed / male)
P(A student has passed / female)
P(A student has failed / male)
P(A student has failed / female)
P(A student is male / passed)
P(A student is male / failed)
P(A student is female / passed)
P(A student is female / failed)
Let us compute the P(a student has passed / male).
If the student is male, then the student will be picked from the list of 102 males.
From this list only 46 students have passed.
What about P(A student is male / passed) ?
The number of students who passed is equal to 114.
From this list, only 46 students are males.
As you can see from the results P(A student has passed / male) is not equal to P(A student is male / passed) because there is a difference.
P(A student has passed / male): This probability just shows the success rate of males only.
P(A student is male / passed) : This probability compares the success rate of males to females.