Professional Documents
Culture Documents
Here is a quick overview of how to calculate the probability of two independent events. However, first some definitions.
A random experiment is any procedure or situation that produces a definite outcome that may not be predictable in advance. Example - Seeing how many heads you get flipping a coin 4 times. An outcome is a single possible result of a random experiment. Example - the 2nd flip of the coin landing heads up.
Example- The probability of Erik Johnson wearing a green shirt (GS) is .34. The probability of him wearing a red hat (RH) is .12. What is the probability of Erik Johnson wearing both a green shirt and a red hat? P(GS and RH)=P(GS) x P(RH) P(GS and RH)= .34 x .12 P(GS and RH)= .0408 Note - all these example problems assume that the two events are independent from one another and not mutually exclusive
P(A) + P(B)
1 2 1
Note- the numbers above correspond to how many times that particular area of the figure is counted in the overall probability, which means unless all the numbers in the figure are 1,then it is not an OR statement. Since the P(A and B) is counted twice in the figure on the right, the P(A and B) must be subtracted once to make it the P(A or B).
Now that none of the spaces in the figure overlap, it is the P(A or B), and no longer the P(A) + P(B). This leads us to the formula...
Example: The probability of Erik Johnson wearing a green shirt (GS) is .34. The probability of him wearing a red hat (RH) is .12. What is the probability of Erik Johnson wearing either a green shirt or a red hat?
P(GS)=.34
P(RH)=.12
Now think of what happens if event A doesnt occur . The requirements for OR is not fulfilled yet. (which means event (A or B) hasnt happened yet) Now event B has a chance to occur to make the event (A or B) happen. So a 2nd way to calculate OR is P(A or B)= P(A) + (P(A not occurring) x P(B)) ( note P(A not occurring)=1-P(A) )
Now calculate the P(A or B) in the same example with the new formula. Example Problem: The probability of Erik Johnson wearing a green shirt (GS) is .34. The probability of him wearing a red hat (RH) is .12. What is the probability of Erik Johnson wearing either a green shirt or a red hat? P(GS or RH) = P(GS) + (P(not a GS) x P(RH)) P(GS or RH)= .34 + ((1-.34)x(.12))
P(GS or RH)=.4092
We have now covered how to calculate the probability of two events in a AND or OR situation. We will now move on to three events.
Question: What happens if another variable is added in? Lets find out!
This is the relationship between AND and OR we covered with two events. Now lets see what it looks like when you add in a third event.
Note- the numbers above correspond to how many times that area of the figure is counted in the overall probability, which means if all the numbers in the figure are 1,then it is an OR statement.
P(A and B)
P(B and C)
Note- the numbers above correspond to how many times that area of the figure is counted in the overall probability, which means if all the numbers in the figure are 1,then it is an OR statement.
1 1 1 1 1 1 1
Now that all the the numbers in the figure is one, it is an OR statement, and for three variables.
P(A and C)
2
P(A and B) P(B and C)
P( A or B or C)
2
.34 x .12 = .0408
.44824
Heres the same sample problem as before calculated using this method. Example Problem: The probability of Erik Johnson wearing a green shirt (GS) is .34. The probability of him wearing a blue hat (BH) is .12. The probability of him wearing a orange socks (OS) is .05. What is the probability of Erik wearing a green shirt, or a blue hat or orange socks? P(GS or BH or OS)=P(GS) +(P(GS not occurring) x P(BH)) + (P(GS not occurring) x P(BH not occurring) x P(OS))
P(GS or BH or OS)=.34 + (1-.34) x .12 + (1-.34) x (1-.12) x (.05) P(GS or BH or OS)= .44824