Lecture 7: Special Probability Distributions - 2: Assist. Prof. Dr. Emel YAVUZ DUMAN
Lecture 7: Special Probability Distributions - 2: Assist. Prof. Dr. Emel YAVUZ DUMAN
Lecture 7: Special Probability Distributions - 2: Assist. Prof. Dr. Emel YAVUZ DUMAN
Outline
Outline
There are
M
x way of choosing x of the M successes, and
NM
ways of choosing n x of the N M failure, and
nx
M NM
hence x nx ways of choosing x successes and n x
failures.
Since there are Nn ways of choosing n of the N elements in
the set, and we shall assume that they are all equally likely
(which is what we mean when we say that the selection is
random),
N that the probability of x successes in n trials is
M NM then
x
nx / n .
Denition 1
A random variable X has a hypergeometric distribution and it is
referred to as a hypergeometric random variable if and only if its
probability distribution is given by
M NM
h(x; n, N, M) =
Nnx
n
for x = 0, 1, 2, , n, x M and n x N M.
Thus, for sampling without replacement, the number of successes
in n trials is a random variable having a hypergeometric
distribution with parameters n, N, and M.
Example 2
As part of an air-pollution survey, an inspector decides to examine
the exhaust of six of a companys 24 trucks. If four of the
companys trucks emit excessive amounts of pollutants, what is the
probability that none of them will be included in the inspectors
sample?
Solution. Substituting x = 0, n = 6, N = 24, and M = 4 into the
formula for the hypergeometric distribution, we get
4244
M NM
h(x; n, N, M) = h(0; 6, 24, 4) =
Nnx
n
2460
6
= 0.2880.
Example 3
Draw 6 cards from a deck without replacement. What is the
probability of getting two hearts?
Solution. Substituting x = 2, n = 6, N = 52, and M = 13 into
the formula for the hypergeometric distribution, we get
135213
M NM
h(x; n, N, M) = h(2; 6, 52, 13) =
Nnx
n
5262
6
= 0.31513.
Example 4
49 balls are numbered 1 - 49. You select six numbers between 1
and 49. The ones you write on your lotto card. What is the
probability that they contain (a) match 4? (b) match 6?
Solution. (a) Substituting x = 4, n = 6, N = 49, and M = 6 into
the formula for the hypergeometric distribution, we get
6496
M NM
h(x; n, N, M) = h(4; 6, 49, 6) =
Nnx
4964
= 2.3062105 .
nx
N
n
4966
6
= 7.1511108 .
Theorem 5
The mean and the variance of the hypergeometric distribution are
=
nM(N M)(N n)
nM
and 2 =
.
N
N 2 (N 1)
Example 6
Suppose that a researcher goes to a small college of 200 faculty, 12
of which have blood type O-negative. She obtains a simple random
sample of 20 of the faculty. Determine the mean and standard
deviation of the number of randomly selected faculty that will have
blood type O-negative.
Solution. Substituting n = 20, N = 200, and M = 12 into the
formula for the hypergeometric distributions mean and variance
we obtain
20 12
nM
=
= 1.2
=
N
200
and
nM(N M)(N n)
20 12(200 12)(200 20)
=
= 1.0101
=
2
N (N 1)
2002 (200 1)
We expect that, in a random sample of 20 faculty members, 1.2
will have blood type O-negative.
Example 7
A case of wine has 12 bottles, 3 of which contains spoiled wine. A
sample of 4 bottles is randomly selected from the case.
(a) Find the probability distribution for X , the number of spoiled
wine in the sample
(b) What are the mean and variance of X ?
Solution. For this example n = 4, N = 12, and M = 3. Then
3 9
h(x; 4, 12, 3) =
124x
.
4
h(x; 4, 12, 3) =
39
39
43
nM
=
=1
N
12
4 3(12 3)(12 4)
nM(N M)(N n)
=
= 0.5455.
N 2 (N 1)
122 (12 1)
Example 8
Among the 120 applicants for a job, only 80 are actually qualied.
If ve of the applicants are randomly selected for an in-depth
interview, nd the probability that only two of the ve will be
qualied for the job by using
(a) the formula for the hypergeometric distribution;
(b) the formula for the binomial distribution with = 80/120 as
an approximation.
1203
= 0.164.
2
b 2; 5,
3
80
120
2
3
into the
2
5
2
2 3
=
= 0.165
1
2
3
3
Example 9
Boxes contain 2000 items of which 10% are defective. Find the
probability that no more than 2 defectives will be obtained in a
sample of size 10.
Solution. For this question x is equal to 0, 1 or 2, n = 10,
N = 2000 and M = 2000 0.10 = 200. Since
n = 10 100 = 2000 0.05 = N 0.05
this means n is not exceed 5 percent of N we may use the method
of binomial approximation to the hypergeometric distribution also.
200010
10
20009
10
20008
10
Outline
Denition 10
A random variable X has a Poisson distribution and it is referred
to as Poisson random variable if and only if its probability
distribution is given by
p(x; ) =
x e
for x = 0, 1, 2
x!
Example 11
If 2 percent of books bound at a certain bindery have defective
bindings, use the Poisson approximation to the binomial
distribution to determine the probability that ve of 400 books
bound by this bindery will have defective bindings.
Solution. Substituting x = 5, = n = 400 0.02 = 8 into the
formula for Poisson distribution, we get
p(5; 8) =
85 e 8
= 0.09160.
5!
Example 12
Records show that the probability is 0.00005 that a car will have a
at tire while crossing a certain bridge. Use the Poisson
distribution to approximate the binomial probabilities that, among
10,000 cars crossing the bridge
(a) exactly two will have a at tire;
(b) at most two will have a at tire.
Solution. (a) Substituting x = 2,
= n = 10, 000 0.00005 = 0.5 into the formula for Poisson
distribution, we get
p(2; 0.5) =
0.52 e 0.5
= 0.07582.
2!
(b)
0.52 e 0.5 0.51 e 0.5 0.50 e 0.5
+
+
2!
1!
0!
= 0.07582 + 0.30327 + 0.60653 = 0.98562.
x e
, x = 0, 1, 2, .
x!
Example 15
The average number of trucks on any one day at a truck depot in
a certain city is known to be 12. What is the probability that on a
given day fewer than nine trucks will arrive at this depot?
Solution. Let X be the number of trucks arriving on a given day.
Then, using Poisson distribution with = 12, we get
P(X < 9) =
8
p(x; 12) =
x=0
8
12x e 12
x=0
121
x!
122
123 124
120
+
+
+
+
0!
1!
2!
3!
4!
5
6
7
8
12
12
12
12
+
+
+
+
5!
6!
7!
8!
= 0.1550.
= e 12
Example 16
The number of aws in a ber optic cable follows a Poisson
distribution. The average number of aws in 50m of cable is 1.2.
(a) What is the probability of exactly three aws in 150m of
cable?
(b) What is the probability of at least two aws in 100m of cable?
(c) What is the probability of exactly one aw in the rst 50m of
cable and exactly one aw in the second 50m of cable?
Solution. (a) Mean number of aws in 150m of cable is
1.2 3 = 3.6. So the probability of exactly three aws in 150m of
cable is
3.63 e 3.6
= 0.21247
p(3; 3.6) =
3!
0!
1!
= 0.69156
=1
Example 17
Births in a hospital occur randomly at an average rate of 1.8 births
per hour. What is the probability of observing 4 births in a given
hour at the hospital?
Solution. If we let X be the number of births in an hour, then X
has a Poisson distribution:
P(X = 4) = p(4; 1.8) =
1.84 e 1.8
= 0.072302.
4!
Example 18
Consider a telephone operator who, on the average, handles ve
calls every 3 minutes. (a) What is the probability that there will
be no calls in the next minute? (b) At least one call?
Solution. If we let X be the number of calls in a minute, then X
has a Poisson distribution with = 53 . So
(a) P(no calls in the next minute) = P(X = 0) = p(0; 5/3) =
(5/3)0 e 5/3
= 0.1889
0!
(b) P(At least one call) = P(X 1) = 1 P(X = 0) =
1 p(0; 5/3) = 1 0.1889 = 0.8111.
Example 19
A certain kind of sheet metal has on the average, ve defects per
10-square-feet. If we assume a Poisson distribution, what is the
probability that a 15-square-feet sheet of the metal will have at
least six defects?
Solution. Let X denote the number of defects in a 15-square-foot
sheet of the metal. Then, since the unit area is 10-square-feet, we
have
= 5 1.5 = 7.5
and
P(X 6) = 1 P(X 5) = 1 (P(X = 0) + P(X = 1) + P(X = 2)
+P(X = 3) + P(X = 4) + P(X = 5))
0
7.51
7.52 7.53
7.54
7.55
7.5
+
+
+
+
+
= 1 e 7.5
0!
1!
2!
3!
4!
5!
= 1 (0.2414)
= 0.7586.
Thank You!!!