Probability-Discussion Ch1 Part2
Probability-Discussion Ch1 Part2
LOGO
Chapter 1
Getting Stared with
Probability ‘PART 2’
iugaza2010.blogspot.com
[email protected]
1.5 Conditional Probability
P[ AB ]
P[ A / B]
P[ B]
Notes :
(1) P [A / B ] P [A ]
(2) If A B= P [ A / B ] 0
P [AB ] P [B ]
(2) If B A P [ A / B ] 1
P [B ] P [B ] 3
Quiz 1.5
(a) P[Nv=2]=P[{vvd,vdv,dvv}]=0.1+0.1+0.1=0.3
(b) P[Nv>=1]=1-P[{ddd}]=1-0.2=0.8
4
P[{vvd}.Nv 2] P[vvd] 0.1 1
((c)
c) P[{vvd} / Nv 2]
P[ Nv 2] 0.3 0.3 3
P[{ddv}.Nv 2] 0
(d ) P[{ddv} / Nv 2] 0
P[ Nv 2] 0.3
P[ Nv 2.Nv 1] P[ Nv 2] 0.3 3
(e) P[ Nv 2 / Nv 1]
P[ Nv 1] P[ Nv 1] 0.8 8
P[ Nv 1.Nv 2] P[ Nv 2]
( f ) P[ Nv 1 / Nv 2] 1
P[ Nv 2] P[ Nv 2]5
Roll six-sided die once . Let
Ri denote the event that the roll is i
Gj denote the event that the roll is grater than j
E denote the event that the roll is even number
6
(b) What is the conditional probability that 6 is
rolled given that the roll is grater than 3 ?
R6 {6}
G3 {4,5,6}
1
P[ R6.G3] P[ R6] 6 1
P[ R 6 / G3]
P[G3] P[G3] 3 3
6
7
(c) Given the roll is greater than 3,what is the
conditional probability that the roll is even?
G3 {4,5,6}
E {2,4,6}
2
P[G3.E ] P[{4,6}] 6 2
P[G3 / E ]
P[ E ] P[ E ] 3 3
6
8
Shuffled deck of three cards:2,3 and 4 .
You deal out the three cards.
Ei denote the event that the card dealt is even numbered
10
1.6 Independence
P[AB]=P[A] P[B]
P[ AB] P[ A]P[ B]
P[ A / B] P[ A]
P[ B] P[ B]
11
Independent Vs disjoint
Disjoint: P[AB]=0
12
Is it possible for events A&B to be independent and
satisfy A=B?
P[A.B]=P[A.A]=P[A]=P[B] ………(1)
Satisfy iff :
P[A]=1 , A=B=S
Or
P[A]=0 , A=B=Φ
13
In an experiment A,B,C and D are events with probability:
(a)
P[A Λ B]=0
P[A υ B]=P[A]+P[B]=1/4 + 1/8 =3/8
P[A Λ Bc]=P[A]=1/4
P[A υ Bc]=1-P[B]=1- 1/8 = 7/8
14
P[A]=1/4 ,,, P[B]=1/8 ,,, P[C]=5/8 ,,, P[D]=3/8
A and B are disjoint
C and D are independent
(b) Are A and B independent
P[AB]=0 Not independent
(c)
P[C Λ D]=P[C] P[D]=(5/8)(3/8)=15/64
P[C Λ Dc]=P[C]-P[CD]=(5/8)-(15-64)=25/64
(1)=(2) Independent
16
For independent Events A and B prove that:
P[A Bc]=P[A]-P[AB]=P[A]-P[A]P[B]
=P[A] {1-P[B] } = P[A] P[Bc]
17
(c) Ac and Bc are independent.
P[AB]=P[A]P[B] …… given
(1) P[AB].P[AC].P[BC]=P[ABC]
(2) P[AB]=P[A]P[B]
(3) P[AC]=P[A]P[C]
(4) P[BC]=P[B]P[C]
Pair wise
independent 19
Use Ven diagram to illustrate 3 events A,B and C that are
pair wise independent but not independent .
(3) P[AC]=P[A]P[C]
(4) P[BC]=P[B]P[C]
20
1.7 Tree Diagram
P[ H1T 2] 3 / 16
21
A basketball team, a player goes to the line for two free throws.
The probability That the first throw is good is ½
If the first is good then the probability that the second is good is ¾ .
However if the first is miss then the second is good with prob ¼
If the player makes exactly one good throw ,the games goes into overtime.
What is the prob. that the game goes into overtime?
P[ g1m2] P[m1g 2] 1/ 8 1/ 8 1/ 4
22
23
You have two biased(not fair) coin A&B
Coin A comes head with probability ¼ .
Coin B comes head with probability ¾ .
You chose a coin randomly and you flip it.
If the flip is head you guess that the flipped coin is B , otherwise you
guess that the flipped coin is A.
P[C] P[ AT ] P[BH ] 3 / 8 3 / 8 3 / 4 24
For a general population, 1 in 5000 carries the HIV
A test for presence of HIV yields either a positive(+) or negative(-)
P[.H ]
P[ / H ] P[.H ] 0.002* 0.01 2 *106
P[ H ]
+ -
P[ H .] 0.0002 2 *106 H 1.98e-4 2e-6 0.0002
4 Hc 0.9998
1.98 *10 1
25
P[ .H c
]
P[ / H ]
c
P[ H c ]
P[.H c ] P[ / H c ] * P[ H c ] (0.01) * (0.9998) 9.998*103
P[ H . ] 1.98e 4
P[ H / ] 0.019419
P[ ] 0.010196
+ -
H 1.98e-4 2e-6 0.002
Hc 9.998e-3 0.989802 0.9998
0.010196 0.989804 1
26
You have two biased(not fair) coin A&B
Coin A comes head with probability ¼ .
Coin B comes head with probability ¾ .
You chose a coin randomly and you flip it.
What is the P[H1H2] ?
P[ H 1H 2] P[ AH 1H 2] P[ BH 1H 2]
3 / 32 3 / 32 6 / 32 27
(b) Are H1 and H2 independent
P[ H 1] P[ AH 1H 2] P[ AH 1T 2] P[ BH 1H 2] P[ BH 1T 2]
P[ H 2] ......
P[ H 1]P[ H 2] .....
P[ H 1]P[ H 2] P[ H 1H 2] dependent.
28
29
P[ H 3] P[T 1H 2 H 3] P[T 1T 2 H 3H 4] P[T 1T 2 H 3T 4]
1 / 8 1 / 16 1 / 16 1 / 4
P[ D] P[T1H 2T 3T 4] P[T1T 2H 3T 4] P[T1T 2T 3] 1/ 4
P[ H1.D] P[ ]
P[ H1 / D] 0
P[ D] P[ D]
30
P[C1] P
P[C 2] (1 P ) P
P[C 3] (1 p ) 2 P
P[Cn ] (1 p ) n 1 P
31
try to solve : 1.7.6,1.7.9
32
LOGO
iugaza2010.blogspot.com
[email protected] 33