Probabilities and Expectations
- A. Rupam Mahmood
September 10, 2015
Probabilities and Expectations A. Rupam Mahmood September 10, 2015 - - PowerPoint PPT Presentation
Probabilities and Expectations A. Rupam Mahmood September 10, 2015 Probabilities Probability is a measure of uncertainty Being uncertain is much more than I dont know We can make informed guesses about uncertain events
September 10, 2015
events
success
about uncertain future events
A B A ∪ B A - B A ∩ B B - A
experiment Dice-rolling: S = {1, 2, 3, 4, 5, 6}
the event of even number appearing: {2, 4, 6}
Pr: 2
s → [0, 1]
0 ≤ Pr(A) ≤ 1
always 1 Probability distribution defines how the probability is distributed among the outcomes
e ∈ S
∑ Pr(e) = 1
number X : S → ℝ
{ ω ∈ S : X(ω) < 4 } = { 1, 2, 3 }
a prime number?
is greater than 2?
= {(1,1), (1,2), …, (1,6), (2,1), (2,2), …, (2,6), … , (6,1), (6,2), …, (6,6)}
know that another event has occurred
A S A B S
probability that it is even?
= Pr({2, 4, 6} ∩ {2, 3, 5}) / Pr({2, 3, 5}) = Pr(2) / Pr({2, 3, 5}) = (1/6)/(1/2) = 1/3
probability trees
Pr(1)
a b a b 2 3 a b 1
Pr(a|1) Pr(1,a)
c2 c3 r2 r3 c1 r3 1 r2
Pr(c1)=1/3 1/3 1/3 Pr(r2|c1)=1/2 1/2 1 1 Pr(c1,r2) =1/6 Pr(c1,r3) =1/6 Pr(c2,r3) =1/3 Pr(c3,r2) =1/3
2nd.
S1 = {c1, c2, c3} S2 = {r2, r3} S = S1 XS2 Pr(c1|r2)=Pr(c1,r2)/Pr(r2) Pr(c3|r2)=Pr(c3,r2)/Pr(r2)
c2 c3 r2 r3 c1 r3 1 r2
1/3 1/3 1/2 1 1 Pr(c1,r2) =1/6 Pr(c1,r3) =1/6 Pr(c2,r3) =1/3 Pr(c3,r2) =1/3 S1 = {c1, c2, c3} S2 = {r2, r3} S = S1 XS2
3rd.
Pr(c1)=1/3 Pr(r2|c1)=1/2 Pr(c1|r3)=Pr(c1,r3)/Pr(r3) Pr(c2|r3)=Pr(c2,r3)/Pr(r3)
Pr(B) = ∑j Pr(B ∩ Aj) = ∑j Pr(B | Aj) Pr(Aj) Ai ∩ Aj = 𝜚, i ≠ j, ∪i Ai = S
aa
A1 A2 A3 B ∩ A1 B ∩ A2 B ∩ A3
Pr(A1|B) = Pr(A1 ∩ B) Pr(B) = Pr(B|A1)Pr(A1) P
j Pr(B|Aj)Pr(Aj)
negative for a non-user 95% of the time. Suppose that 1% of the population uses drug. Then what is the probability that an individual is a drug user given that she tests positive?
Pr(user|+) = Pr(+|user)Pr(user) Pr(+|user)Pr(user) + Pr(+|nonuser)Pr(nonuser) = 0.99 × 0.01 0.99 × 0.01 + (1 − Pr(−|nonuser)) × (1 − Pr(user)) = 0.0099 0.0099 + (1 − 0.95) × (1 − 0.01) = 0.0099 0.0099 + 0.05 × 0.99 = 0.0099 0.0099 + 0.0495 ≈ 0.167.
possible outcomes, where the weights are the probabilities of those
weighted average of possible outcomes, where the weights are the conditional probabilities of those outcomes given the event
x ∈ S
E[X] = ∑x Pr(X=x)
x ∈ S
E[X | Y=y ] = ∑ x Pr(X=x | Y=y )
The ticket price is 10 dollars. What is the expected monetary gain?
= 990 * 0.0001 + (-10) * 0.9999 = 0.099 - 9.999 = -9.9.
probability trees
a b a b 2 3 a b 1
Pr(Y=1) Pr(X=a|Y=1) E[X|Y=1] E[X|Y=3]
E[X] = ∑y E[X | Y=y ] Pr(Y=y)
Pr(Y=3)
c2 c3 r2 r3 c1 r3 r2
1/3 1/3 1/3
stay switch
E[X|stay] = 1/3 1 1 1 1 1 1 1 E[X|switch] = 2/3
max
c2 c3 r2 r3 c1 r3 r2
1/3 1/3 1/3
choices
feeding them the model and automating the calculation
things out!
choices by dealing with probabilities and expectations