Documente Academic
Documente Profesional
Documente Cultură
Gianne Derks
Department of Mathematics (36AA04)
http://www.maths.surrey.ac.uk/Modules/COM2023
Autumn 2010
x
p(x) = P (X = x) = e , for x = 0, 1, 2, 3, . . .
x!
We denote this by X P o().
The number is the average rate with which the events occur.
Examples about the Poisson Distribution
Poisson distribution
So the probability of getting the average is not very high for Poisson
distributions with a large average (i.e., large). Using matlab, we can plot
the distribution for P o(50) with x between 20 and 80:
0.06 bar(20:80,poisspdf(20:80,50))
0.05
0.04
P(X=x)
0.03
0.02
0.01
0
20 30 40 50 60 70 80
x
Graphs for Poisson Distributions (2)
Poisson distribution
The Poisson distribution with a smaller average (i.e. small) looks quite
different. Using matlab, we can plot the distribution for P o(2) with x
between 0 and 10:
bar(0:10,poisspdf(0:10,2))
0.25
0.2
0.15
P(X=x)
0.1
0.05
0
0 1 2 3 4 5 6 7 8 9 10
x
Poisson distribution and R (1)
Poisson distribution
Examples
Examples
Examples
One can also make plots to get an overview. Below are an overview of the
pmf (left) and distribution (right) of X P o(6). Note the position of the
expectation and the long tail:
1.0
0.15
0.8
0.10
0.6
dpois(0:30, 6)
ppois(0:30, 6)
0.4
0.05
0.2
0.00
0.0
0 5 10 15 20 25 30 0 5 10 15 20 25 30
0:30 0:30
plot(0:30,dpois(0:30,6), plot(0:30,ppois(0:30,6),
type=h,lwd=4) type=h,lwd=4)
Poisson distribution and R (3)
Poisson distribution
Next plots of the pmf (left) and distribution (right) of X P o(18) Note the
shift and widening of the bump, what are the expectation and standard
deviation?:
1.0
0.08
0.8
0.06
0.6
dpois(0:30, 18)
ppois(0:30, 18)
0.04
0.4
0.02
0.2
0.00
0.0
0 5 10 15 20 25 30 0 5 10 15 20 25 30
0:30 0:30
plot(0:30,dpois(0:30,18), plot(0:30,ppois(0:30,18),
type=h,lwd=4) type=h,lwd=4)
= 18 and = 18 4.24.
Binomial and Poisson Distribution (1)
Poisson distribution
1
Compare the binomial distribution B(1000, 200 ) and Poisson
distribution P o(5) graphically:
bar(0:20,binopdf(0:20,1000,0.05)) bar(0:20,poisspdf(0:20,5))
0.18 0.18
0.16 0.16
0.14 0.14
0.12 0.12
0.1 0.1
P(X=x)
P(X=x)
0.08 0.08
0.06 0.06
0.04 0.04
0.02 0.02
0 0
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
x x
Binomial and Poisson distribution (3)
Poisson distribution
Example
The possibility that a person carries a rare gene is 0.002. A test is done with
1000 people. Which binomial and approximate Poisson distributions should
we use?
Binomial and Poisson distribution (3)
Poisson distribution
Example
The possibility that a person carries a rare gene is 0.002. A test is done with
1000 people. Which binomial and approximate Poisson distributions should
we use?
The binomial distribution is X B(1000, 0.002) and the approximate Poisson
distribution is X P o(2).
Binomial and Poisson distribution (3)
Poisson distribution
Example
The possibility that a person carries a rare gene is 0.002. A test is done with
1000 people. Which binomial and approximate Poisson distributions should
we use?
The binomial distribution is X B(1000, 0.002) and the approximate Poisson
distribution is X P o(2).
Using both the binomial and the approximate Poisson distributions, calculate
the following probabilities in two ways:
Example
The possibility that a person carries a rare gene is 0.002. A test is done with
1000 people. Which binomial and approximate Poisson distributions should
we use?
The binomial distribution is X B(1000, 0.002) and the approximate Poisson
distribution is X P o(2).
Using both the binomial and the approximate Poisson distributions, calculate
the following probabilities in two ways:
Example
The possibility that a person carries a rare gene is 0.002. A test is done with
1000 people. Which binomial and approximate Poisson distributions should
we use?
The binomial distribution is X B(1000, 0.002) and the approximate Poisson
distribution is X P o(2).
Using both the binomial and the approximate Poisson distributions, calculate
the following probabilities in two ways:
The expectation and variance of a Poisson random variable are both equal
to , i.e.,
E(X) = Var(X) = .
Expectation and variance
Poisson distribution
The expectation and variance of a Poisson random variable are both equal
to , i.e.,
E(X) = Var(X) = .
Example
The number of flaws in concrete specimens is a Poisson random variable X
with parameter = 3.5.
The expectation and variance of a Poisson random variable are both equal
to , i.e.,
E(X) = Var(X) = .
Example
The number of flaws in concrete specimens is a Poisson random variable X
with parameter = 3.5.
p
(i) Find the standard deviation of X: = Var(X) = 3.5 1.87;
The expectation and variance of a Poisson random variable are both equal
to , i.e.,
E(X) = Var(X) = .
Example
The number of flaws in concrete specimens is a Poisson random variable X
with parameter = 3.5.
p
(i) Find the standard deviation of X: = Var(X) = 3.5 1.87;
(3.5)4
(ii) Find P (X = 4): P (X = 4) = 4! e3.5 0.189;
The expectation and variance of a Poisson random variable are both equal
to , i.e.,
E(X) = Var(X) = .
Example
The number of flaws in concrete specimens is a Poisson random variable X
with parameter = 3.5.
p
(i) Find the standard deviation of X: = Var(X) = 3.5 1.87;
(3.5)4
(ii) Find P (X = 4): P (X = 4) = 4! e3.5 0.189;
Property
If X P o() and Y P o() and X and Y are independent, then
X + Y P o( + ).
Adding Poisson Distributions
Poisson distribution
Property
If X P o() and Y P o() and X and Y are independent, then
X + Y P o( + ).
Example
The number of lorries per hour passing a point is modelled as a Poisson
random variable X with parameter = 4. Calculate the probability that
Property
If X P o() and Y P o() and X and Y are independent, then
X + Y P o( + ).
Example
The number of lorries per hour passing a point is modelled as a Poisson
random variable X with parameter = 4. Calculate the probability that
Property
If X P o() and Y P o() and X and Y are independent, then
X + Y P o( + ).
Example
The number of lorries per hour passing a point is modelled as a Poisson
random variable X with parameter = 4. Calculate the probability that
Property
If X P o() and Y P o() and X and Y are independent, then
X + Y P o( + ).
Example
The number of lorries per hour passing a point is modelled as a Poisson
random variable X with parameter = 4. Calculate the probability that