Академический Документы
Профессиональный Документы
Культура Документы
P - denotes a probability
Math 103 A, B, ... - denote specific events
Statistics and
Probability P (A) - denotes the probability
of event A occurring
P (A and B) – denotes the probability
Probability of event A and event B occuring
simultaneously
P (A or B) – denotes the probability that
event A occurs or event B occurs
(or both).
CJD
1
Classical vs Empirical Subjective Probability
CJD CJD
2
Example Complementary Events
What is the probability that a 5-card hand from a standard The complement of event A, denoted by A,
52-card deck is a flush ? consists of all outcomes in which event A does
52 not occur.
Number of ways to have a 5-card hand = 5 = 2,598,960
13
Number of ways to have a flush = 4 ⋅ = 4 ⋅1, 287 = 5,148
5
Probability of a flush = 5148/2598960 = 0.00198
P(A) P(A)
What is the probability that a 5-card hand from a standard
52-card deck is a royal flush ? Note: Sometimes, instead of A, the notation A’ is used.
Probability of a royal flush = 4/2598960 = 0.00000154
P(A) + P(A’) = 1
CJD CJD
P(selecting a man) = num of men drivers / num of drivers If P(A) = P(getting at least 1 girl), then
= 20 / 50 = 0.4
P(A) = 1 - P(A’)
(b) What is the probability of getting a woman? where P(A’) is P(getting no girls)
P(selecting a woman) = num of women drivers / num of drivers
= 30 / 50 = 0.6 P(A’) = (0.5)(0.5)(0.5) = 0.125
OR because selecting a man and selecting a woman are P(A) = 1 - 0.125 = 0.875
complementary events,
P(selecting a woman) = 1 – 0.4 = 0.6
CJD CJD
3
Odds Odds Example
Odds against event A occurring is the Example: Testing Corollas
Toyota wants to conduct a test of its new Corolla
ratio P(A’) / P(A), usually model. A pool of 50 drivers has been recruited, 20
expressed in the form of a:b or whom are men.
(or ‘a to b’), where a and b are
integers with no common factors • The odds against selecting a man is 3:2
CJD CJD
Then P(A and B) = 0 Find the probability of randomly selecting a man or a boy.
* Mutually Exclusive *
CJD CJD
4
Example (continued) Independence of Events
Men Women Boys Girls Totals • Two events are independent of each other
Survived 332 318 29 27 706 if knowing that one will occur (or has
Died 1360 104 35 18 1517 occurred) does not change the probability
Total 1692 422 64 56 2223 that the other occurs.
• Two events are dependent if knowing that
Find the probability of randomly selecting a man or one will occur (or has occurred) changes
someone who survived. the probability that the other occurs.
Every meeting, one student is chosen to lead a prayer in class. Multiplication Rule for Independent Events A and B :
5
Conditional Probability Example
P(B) = unconditional probability that event B occurs. Men Women Boys Girls Totals
Survived 332 318 29 27 706
P(B|A) = “probability of B given A” Died 1360 104 35 18 1517
= conditional probability event B occurs given Total 1692 422 64 56 2223
that we know A has occurred or will occur.
Let M : Man is chosen D : A dead one is chosen
If A and B are independent,
P(A and B)=P(A)*P(B)
What is the probability that a dead is chosen if it is known
because P(B|A) = P(B)
that the chosen one is a man ? P(D|M)
In general,
P(A and B) = P(A)*P(B|A) P(B|A) = P(A and B) / P(A) P(M) = 1692 / 2223
P(A and B) = P(B)*P(A|B) P(A|B) = P(A and B) / P(B) P(D) = 1517 / 2223
P(M and D) = 1360 / 2223
P(D|M) = P(M and D) / P(M)
= (1360 / 2223) / (1692 / 2223) = 1360 / 1692 = 0.8038
CJD CJD
When two events are independent and Any P(A)+P(B)-P(A and B) P(A)P(B|A) P(A and B)/P(B)
one occurs, the probability of the other is
unchanged.
CJD CJD
6
Exercise Total Probability
(Walpole #12/105) One bag contains 4 white balls and 3 black In the previous example,
balls, and a second bag contains 3 white balls and 5 black
balls. One ball is drawn at random from the second bag and
P(W 1) = P(W 1|W2)*P(W2) + P(W 1|B2)*P(B2)
is placed unseen in the first bag. What is the probability that a or
ball now drawn from the first bag is white? P(A)=P(A|E)*P(E)+P(A|E’)*P(E’)
when E and E’ partitions the sample space into two.
Let W 1 : selecting a white ball from the first bag after transfer.
B2 : selecting a black ball from 2nd bag to transfer to 1st bag A
W2 : selecting a white ball from 2nd bag to transfer to 1st bag E E’
Find P(W1) In general, when Ei partitions the sample space into k subspaces,
P(W 1) = P((W 1 and W2) or (W 1 and B2)) P(A)=P(A|E1)P(E1)+P(A|E2)P(E2)+ … + P(A|Ek)P(Ek)
since (W 1 and W 2) and (W 1 and B2) are mutually exclusive E3
= P(W 1 and W2) + P(W1 and B2) E1
= P(W 1|W 2)*P(W2) + P(W1|B2)*P(B2) A Ek
= (5/8)*(3/8)+(4/8)*(5/8) = 35/64 E2 …
CJD CJD
7
Bayes’ Rule Example (cont) End
(Walpole #4/105) If the person received a speeding ticket, what is
the probability that he was radared at location L2
CJD CJD