Professional Documents
Culture Documents
Lecture 19:
Binomial probabilities
This week
Tossing coins
Draw a tree
P(HHT) = * * = 1/8
P(HTH) = * * = 1/8
P(THH) = * * = 1/8
P(2 heads out of 3) = 3/8
Note that there are three ways of
getting two heads in three tosses
Each way has equal probability
II
III
10 ways
P(one way) = 0.03456
P(three heads in five tosses)
= 10 * 0.03456
= 0.3456 = 34.56%
Quite a lot of work: maybe there's
a formula or something?
IV
(8*7*6*5*4*3*2*1)/(4*3*2*1*4*3*2*1)
Number of ways is
(8*7*6*5*4*3*2*1)/(4*3*2*1*4*3*2*1)
= 70
P(one way) = 0.003318
P(4 H out of 8) = 70 * .003318
= 0.2322 = 23.22%
(8*7*6*5*4*3*2*1)/(4*3*2*1*4*3*2*1)
= 70
P(k out of n)
= (no. of ways) * (prob of each way)
=
n!
k
nk
p 1 p
k ! nk !
Use formula:
1
= 10 ! 1 5
1 ! 9! 6
=
=
10987654321 1
1987654321 6
1
1
10
6
5
6
= 32.30%
5
6
10
10 ! 1
0 ! 10 ! 6
5
6
10
5
=1
6
P(no sixes) =
P(one six) =
10
5
6
1
10
6
P(two sixes) =
= 16.15%
5
6
= 32.30%
8
10 ! 1
2!8! 6
5
6
= 29.07%
VI
Is it unusual?
Is it unusual?
Is it unusual?
Is it unusual?
Is it unusual?
Recap
P(k out of n)
= (no. of ways) * (prob of each way)
=
n!
k
nk
p 1 p
k ! nk !
Tomorrow: