Binomial and Poisson Probability Distributions
Binomial and Poisson Probability Distributions
Binomial and Poisson Probability Distributions
= Np
!
(a+b)
k
=
l
k
( )
l=0
k
" a
k#l
b
l
P(m, N, p)
m=0
N
" =
m
N
( )
m=0
N
" p
m
q
N#m
= ( p+q)
N
=1
K.K. Gan L2: Binomial and Poisson 5
! Variance of binomial distribution (obtained using similar trick):
" Example: Suppose you observed m special events (success) in a sample of N events
# measured probability (efciency) for a special event to occur:
# error on the probability ("error on the efciency"):
$ sample (N) should be as large as possible to reduce uncertainty in the probability measurement
" Example: Suppose a baseball player's batting average is 0.33 (1 for 3 on average).
# Consider the case where the player either gets a hit or makes an out (forget about walks here!).
probability for a hit: p = 0.33
probability for no hit: q = 1 - p = 0.67
# On average how many hits does the player get in 100 at bats?
= Np = 1000.33 = 33 hits
# What's the standard deviation for the number of hits in 100 at bats?
! = (Npq)
1/2
= (1000.330.67)
1/2
" 4.7 hits
$ we expect " 33 5 hits per 100 at bats
!
" =
m
N
!
"
#
=
"
m
N
=
Npq
N
=
N#(1$#)
N
=
#(1$#)
N
!
"
2
=
(m#)
2
P(m, N, p)
m=0
N
$
P(m, N, p)
m=0
N
$
= Npq
K.K. Gan L2: Binomial and Poisson 6
Poisson Probability Distribution
! A widely used discrete probability distribution
! Consider the following conditions:
" p is very small and approaches 0
# example: a 100 sided dice instead of a 6 sided dice, p = 1/100 instead of 1/6
# example: a 1000 sided dice, p = 1/1000
" N is very large and approaches #
# example: throwing 100 or 1000 dice instead of 2 dice
" product Np is nite
! Example: radioactive decay
" Suppose we have 25 mg of an element
$ very large number of atoms: N " 10
20
" Suppose the lifetime of this element ! = 10
12
years " 5x10
19
seconds
$ probability of a given nucleus to decay in one second is very small: p = 1/! = 2x10
-20
/sec
$ Np = 2/sec nite!
$ number of counts in a time interval is a Poisson process
! Poisson distribution can be derived by taking the appropriate limits of the binomial distribution
!
P(m, N, p) =
N!
m!(N "m)!
p
m
q
N"m
N!
(N "m)!
=
N(N "1) # # # (N "m+1)(N "m)!
(N "m)!
= N
m
q
N"m
= (1" p)
N"m
=1" p(N "m) +
p
2
(N "m)(N "m"1)
2!
+# # # $1" pN +
( pN)
2
2!
+# # # $ e
"pN
Simon Denis Poisson
June 21, 1781-April 25, 1840
K.K. Gan L2: Binomial and Poisson 7
# m is always an integer $ 0
# does not have to be an integer
" It is easy to show that:
= Np = mean of a Poisson distribution
!
2
= Np = = variance of a Poisson distribution
! Radioactivity example with an average of 2 decays/sec:
" Whats the probability of zero decays in one second?
" Whats the probability of more than one decay in one second?
" Estimate the most probable number of decays/sec?
!
P(m, N, p) =
N
m
m!
p
m
e
"pN
Let = Np
P(m,) =
e
"
m
m!
e
"
m
m!
m=0
m=#
$ = e
"
m
m!
m=0
m=#
$ = e
"
e
=1
!
p(0,2) =
e
"2
2
0
0!
=
e
"2
#1
1
= e
"2
= 0.135 $13.5%
!
p(>1,2) =1" p(0,2) " p(1,2) =1"
e
"2
2
0
0!
"
e
"2
2
1
1!
=1"e
"2
"2e
"2
= 0.594 #59.4%
!
"
"m
P(m,)
m
*
= 0
Poisson distribution is normalized
mean and variance are the same number
K.K. Gan L2: Binomial and Poisson 8
# To solve this problem its convenient to maximize lnP(m, ) instead of P(m, ).
# In order to handle the factorial when take the derivative we use Stirling's Approximation:
$ The most probable value for m is just the average of the distribution
$ If you observed m events in an experiment, the error on m is
# This is only approximate since Stirlings Approximation is only valid for large m.
# Strictly speaking m can only take on integer values while is not restricted to be an integer.
!
ln m!" mln m#m
$
$m
ln P(m,) =
$
$m
(#+mln #ln m!)
"
$
$m
(#+mln #mln m+m)
= ln #ln m#m
1
m
+1
= 0
m
*
=
!
" = = m
!
ln P(m,) = ln
e
"
m
m!
#
$
%
&
'
(
= "+mln "ln m!
K.K. Gan L2: Binomial and Poisson 9
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
P
r
o
b
a
b
i
l
i
t
y
0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0
m
binomial
poisson =1
N=10,p=0.1
0
0.1
0.2
0.3
0.4
0.5
P
r
o
b
a
b
i
l
i
t
y
0 1 2 3 4 5
m
poisson
binomial
=1
N=3, p=1/3
Comparison of Binomial and Poisson distributions with mean = 1
Not much
difference
between them!
For large N: Binomial distribution looks like a Poisson of the same mean