Probability Flashcards
probability
ratio P = nb of successes / total nb of outcomes impossibility P = 0 certainty P = 1 0 < P < 1 P(not A) = 1 - P(A)
mutually exclusive
cannot happen at the same time
P(A and B) = 0
If A and B are not mutually exclusive, then P(A and B) can happen together, and P(A or B) = P(A) + P(B) - P(A and B)
If A and B are mutually exclusive, then P(A or B) = P(A) + P(B)
Suppose, in Game M, the probability of outcome A is 0.6, the probability of outcome B is 0.7, and the probability of A or B is 0.9. What is the probability of A and B happening at the same time?
P(A or B) = P(A) + P(B) - P(A and B)
0.9 = 0.6 + 0.7 - P(A and B)
P(A and B) = 0.6 + 0.7 - 0.9 = 0.4
independent events
no effect on each other
the outcome of one has no influence on the outcome of the other
with replacement
choices are made from the same pool and are independent of the previous ones
P(A and B) = P(A)*P(B)
without replacement
choices are made under different condition, each choice changes the probability for all successive choices, which are not independent
What is the probability of tossing three coins and getting HHH?
1/2 * 1/2 * 1/2 = 1/8
What is the probability of rolling two six-sided dice and getting “snake eyes” (each die = 1)?
1/6 * 1/6 = 1/36
Three cards are selected from a full deck, each time with replacement. What is the probability of selecting three Spades in a row?
1/4 * 1/4 * 1/4 = 1/64
Suppose A and B are independent. If P(A) = 0.6 and P(B) = 0.8, what does P(A or B) equal?
P(A or B) = P(A) + P(B) - P(A and B)
P(A and B) = P(A)*P(B) = 0.6 * 0.8 = 0.48
P(A or B) = 1.4 - 0.48 = 0.92
conditional probability
P(A | B) : what is the probability of A, given B?
happens when A and B are not independent, so whether one happens changes the probability of whether the other happens
P(A and B) = P(B)P(A | B)
P(A and B) = P(A)P(B | A)
mostly used in pb without replacement
A box has 5 green balls and 7 red balls. Assume that all balls in the box are equally likely and that the balls are picked without replacement. What is the probability that the first two balls picked are both green?
P(1=G) = 5/12 P(2=G) = 4/11 P = 5/12 * 4/11 = 5/33
From a standard shuffled deck of 52 cards, what’s the probability of picking three hearts on the first three cards drawn, if the cards are selected without replacement?
P(1=H) = 1/4 (=13/52) P(2=H | 1=H) = 12/51 = 4/17 P(3=H | 2=H and 1=H) = 11/50 P = 13/52 * 12/51 * 11/50 = 1/4 * 4/17 * 11/50 P = 11/850
Three fair coins are flipped. What is the probability of getting exactly two heads?
HHT
HTH
THH
3(1.2 * 1.2 * 1.2) = 3(1/8) = 3/8
Ten dice, each fair with six sides, are rolled simultaneously. What is the probability of getting exactly two fives among them?
10C2 * ( (1/6)² * (5/6)^8 )