STA416 - Topic 4 - 3
STA416 - Topic 4 - 3
SPECIAL DISCRETE
PROBABILITY DISTRIBUTIONS
(PART 3)
1
I [email protected]
2 SUBTOPICS
❑Special Discrete Probability Distributions
➢ Uniform
➢ Binomial
➢ Poisson
❑Poisson Approximation to Binomial Distribution
In this lesson, you will learn:
3
[email protected]
5
PROPERTIES of Discrete Uniform
Distribution
The discrete r. v. X assumes each of its value with an equal
probability.
Minimum value is fixed.
Maximum value is fixed.
All values in range are equally likely to occur.
The Discrete Uniform Distribution
If the r. v. X assumes the values x1, x2, …, xk with equal
probabilities, then the discrete uniform distribution is
given by:
1 1
f ( x) = , x = x1 , x2 ,..., xk or P ( X = xr ) = , r = 1, 2, ..., k
k k
NOTE: k is the parameter.
The mean and variance of discrete uniform distribution are:
E ( X ) = x. f ( x)
V ( X ) = E ( X 2 ) − [ E ( X )]2
06
Example 1
7
1
f ( x) = , x = 40, 60, 75, 100
4
x 40 60 75 100
f (x)=P(X=x) 1/4 1/4 1/4 1/4
09
Example 1 Solution
8
x 40 60 75 100 E ( X ) = x. f ( x)
f (x)=P(X=x) 1/4 1/4 1/4 1/4 V ( X ) = E ( X 2 ) − [ E ( X )]2
1
f ( x) =
4
1 1
E ( X ) = x. f ( x) = x = (40 + 60 + 75 + 100) = 68.75
4 4
1 1
E ( X 2 ) = x 2 f ( x) = x 2
= (40 2 + ... + 100 2 ) = 5206.25
4 4
Var ( X ) = E ( X 2 ) − [ E ( X )]2 = 5206.25 − (68.75) 2 = 479.69
P( X ) = P( X 68.75)
= P( X = 40) + P( X = 60)
10 = 0.25 + 0.25 = 0.5
THE BERNOULLI AND
9
BINOMIAL DISTRIBUTIONS
[email protected]
10 PROPERTIES of Bernoulli EXPERIMENT
1. Each trial has only two possible outcomes that may be labeled
as a success or
a failure.
2. For a Bernoulli trial (experiment is done only once), the
probability of success
is denoted as p and failure as q = 1 – p.
Examples:
Testing of items as they come off an assembly line where each test or trial may
indicate a defective or nondefective item.
tossing a coin (head or tail), gender (male or female), win or lose, true or false
question, yes/no, etc.
Note: Classification of “success” and “failure” does not imply that one outcome is
good and the other is bad.
11
THE Bernoulli DISTRIBUTION
The probability distribution for Bernoulli is
f ( x) = p x (1 − p )1− x = p x q1− x , x = 0 or 1
12
13
Properties of Binomial Experiment
(b) P( X 7) = P( X = 8) + P( X = 9) + P( X = 10)
=10 C8 p 8 q 2 +10C9 p 9 q1 +10C10 p10 q 0
= (45 0.68 0.4 2 ) + (10 0.69 0.41 ) + 0.610 = 0.1673
17
Example 3
Over a long period of time, it has been observed that a given
rifleman can hit a target on a single trial with probability equal to
0.8. Suppose he fires four shots at the target. What is the
probability that he will hit the target:
(a) exactly two times?
(b) at least once?
Example 3 Solution
18
(b) P( X 1) = 1 − P( X 1)
= 1 − P( X = 0)
= 1 −( 4C0 0.80 0.2 4 )
= 0.9984
Using The Cumulative Binomial Probabilities Table
19
obtaining r or more
successes in n independent
trials.
Refer Statistical Table 1
20 Example 4
The probability that a patient recovers from a rare blood disease is
0.4. If 10 people are known to have contracted this disease.
Find the probability that:
(a) At least 7 survive.
(b) More than 7 survive.
(c) From 3 to 5 survive.
(d) Exactly 5 survive.
Example 4 Solution
21
[email protected]
THE Poisson Distribution
24
Consider the discrete random variable X:
➢ The number of emergency calls received by an
ambulance in an hour
➢ The number of vehicles approaching the Ayer Keroh Toll in
a five-minute interval
➢ The number of flaws in a meter length of material
➢ The number of field mice per acre
➢ The number of bacteria in a given culture
➢ The number of typing errors per page
Assuming that each occurs randomly, above are
examples of variables that can be modeled using
Poisson distribution.
25
PROPERTIES of Poisson EXPERIMENT
Events occur at random in a given interval of time or
space
The r. v. is the number of events that occur in an
interval of a given size.
Events occur independently.
λ, the mean number of occurrences in the given
interval is known and finite.
26
The Poisson Distribution
The probability distribution of the Poisson random variable X,
representing the number of outcomes occurring in a given time
interval or specified region, is
e − ( ) x
p( x; ) = P( X = x) = , x = 0, 1, 2, ...
x!
−2.4 0
(a) P( X = 0) = e 2 . 4
= 0.0907
0!
e − 2.4 2.4 0 e − 2.4 2.41 e − 2.4 2.4 2 e − 2.4 2.4 3
(b) P( X 4) = 1 − + + + = 0.2213
0! 1! 2! 3!
X ~ Po ( new = 5 2.4 = 12)
(c)
P( X 5) = 1 − P( X 5)
e −12 12 0 e −12 121 e −12 12 4
= 1 − + + ... + = 0.0959
0! 1! 4!
Next: Use Cumulative Poisson Probabilities Table for Example 8
Using The Cumulative Poisson Probabilities Table
29
30 5
(a) new = = 2.5 (for 5 minutes)
60
X~Poi(2.5)
e −2.5 2.5 0
P( X = 0) = = 0.0821
0!
Example 6 Solution cont.
33
P( X 5) = 1 − P( X 5)
= 1 − 0.9991 = 0.0009
THE BERNOULLI AND
34
BINOMIAL DISTRIBUTIONS
[email protected]
THE BERNOULLI AND
35
BINOMIAL DISTRIBUTIONS
[email protected]
POISSON APPROXIMATION
36
TO BINOMIAL DISTRIBUTION
[email protected]
37
Using the Poisson Distribution as an
Approximation to the Binomial Distribution
When n is large (n > 50) and p is small (p < 0.1),
the binomial distribution X~Bin(n, p) can be
approximated using Poisson distribution with the same
mean, i.e. X~Poi(np).
(b) P( X 2) = 1 − (P( X = 0) + P( X = 1) )
e −3.5 3.5 0 e −3.5 3.51
= 1 − + = 0.8641
0! 1!
or you may use the table straight away and get the answer
40 SUMMARY