In this lesson, we will do the following using a table that shows test results for 200 students who took a GED test.
Let us start with the probability of independent events. Consider the following table.
Let pass be the event that a randomly selected student has passed the test
Let male be the event that a randomly selected student is male.
Compute these two probabilities: P(pass) and P(pass / male)
We notice that P(pass) = P(pass / male)
This means that the probability to pass is the same as the probability to pass if the student is male.
In other words, it does not matter if the student is male, the passing rate is still the same.
Passing does not depend on the gender.
We can then conclude that the two events " pass " and " male " are independent events. Neither event will influence the other.
In general, two events A and B are independent if the occurrence of one does not affect the probability of the occurrence of the other.
P(A) = P(A / B) or P(B) = P(B / A)
Since passing does not depend on gender, you should also get 0.60 when we compute P(pass) and P(pass / female)
What about the result shown in the table in the lesson about marginal probability?
Notice that adding the event " male ", changed the probability.
Since the event " male " changed the probability, the two events " pass " and " male " are dependent events.
By the same token, the two events " pass " and " female " are dependent events.
Notice below what P(pass / female) gives!
Since 0.69 is bigger than 0.45, females are more likely to pass the test than males.
For this result, passing here depends on the gender.
In general, two events A and B are dependent if the occurrence of one affects the probability of the occurrence of the other.
P(A) ≠ P(A / B) or P(B) ≠ P(B / A)