Professional Documents
Culture Documents
CHAPTER 2
SPECIAL DISCRETE DISTRIBUTION
Various Discrete Distributions
• Uniform distribution
• Bernoulli distribution
• Binomial distribution
• Geometric distribution
• Binomial negative distribution
• Multinomial distribution
• Hypergeometric distribution
• Poisson Distribution
𝑘 𝑘
1
𝜇= 𝜇1′ = 𝑥𝑖 . 𝑓 𝑥 = 𝑥𝑖 .
𝑘
𝑖=1 𝑖=1
𝑘
1
𝜎2 = 𝜇2 = 𝑥𝑖 − 𝜇 2.
𝑘
𝑖=1
1
𝑓 𝑥 = for 𝑥 = 1, 2, … , 𝑘
𝑘
Theorem 2.1:
The mean and the variance of uniform distribution of this
kind are:
2
𝑘+1 2
𝑘 −1
𝜇= , 𝜎 =
2 12
SQQS1043 Statistics and Probability 6
Uniform Distribution
(special case)
Theorem 2.2:
The moment generating function of a uniform
distribution is given by:
𝑒 𝑡 1 − 𝑒 𝑘𝑡
𝑀𝑋 𝑡 =
𝑘 1 − 𝑒𝑡
𝑓 0; 𝑝 = 1 − 𝑝 and 𝑓 1; 𝑝 = 𝑝
where 𝑝 is the parameter and 0 ≤ 𝑝 ≤ 1
Theorem 2.3:
The mean and the variance is given by
𝜇 = 𝑝 and 𝜎 2 = 𝑝 1 − 𝑝
Theorem 2.4:
The moment generating function is given by
𝑀𝑋 𝑡 = 1 − 𝑝 + 𝑝𝑒 𝑡
SQQS1043 Statistics and Probability 9
Binomial Distribution
• The number of X successes in n Bernoulli trials is called a
binomial random variable.
• With n repeated Bernoulli trials, the number of ways in which
we can select the x trials on which there is to be a success is
𝑛
given by = 𝑛𝐶𝑥
𝑥
• Thus, the desired probability for “x successes in n trials” is
𝑛 𝑥
𝑝 1 − 𝑝 𝑛−𝑥
𝑥
Theorem 2.5:
The mean and the variance of a binomial distribution
is given by
𝜇 = 𝑛𝑝 and 𝜎 2 = 𝑛𝑝 1 − 𝑝 .
SQQS1043 Statistics and Probability 12
Binomial Distribution
Theorem 2.6:
The moment generating function of a Binomial
distribution is given by
𝑀𝑋 𝑡 = 1 + 𝑝 𝑒 𝑡 − 1 𝑛
𝑃 𝑋 = 𝑃 𝑋 = 𝑥 = 𝑏 𝑥; 𝑛, 𝑝
where 𝑝 is the prob. of success, ranges from 0 to 0.5
• Thus, the following rules can be used in getting other types of
probabilities.
Rule 1: if event Y has x number of success with probability
p > 0.5, then;
𝑌~𝑏 𝑥; 𝑛, 𝑝 ≡ 𝑋~𝑏 𝑛 − 𝑥; 𝑛, 1 − 𝑝
𝑃 𝑌 = 𝑥 ≡ 𝑏 𝑛 − 𝑥; 𝑛, 1 − 𝑝
Solution:
Theorem 2.8:
The moment generating function of the negative binomial
distribution are
𝑝𝑒 𝑡 𝑘
𝑀𝑋 𝑡 = , 𝑡 < − 𝑙𝑛(1 − 𝑝)
1 − (1 − 𝑝)𝑒 𝑡 𝑘
Theorem 2.9:
Table of binomial probability can be used for determining
negative binomial probabilities by:
∗
𝑘
𝑏 𝑥; 𝑘, 𝑝 = . 𝑏 𝑘; 𝑥, 𝑝
𝑥
𝑔 𝑥; 𝑝 = 𝑝 1 − 𝑝 𝑥−1 for 𝑥 = 1, 2, 3, …
Theorem 2.11:
The moment generating function of the geometric
distribution is
𝑝𝑒 𝑡
𝑀𝑋 𝑡 =
1−𝑒 𝑡 1−𝑝
SQQS1043 Statistics and Probability 30
Example 3:
A rat must choose between five doors, one of which contains a
chocolate. If the rat chooses the wrong door, it is returned to the
starting point and chooses again, and continues until it gets the
chocolate. Let X be the trial on which the chocolate is found.
i. What is the probability of the rat getting chocolate on the
first attempt?
ii. What is the probability of the rat getting chocolate on the
2nd attempt?
iii. Find the expected value and variance of X.
𝑛 𝑥 𝑥 𝑥
𝑓 𝑥1 , 𝑥2 , … , 𝑥𝑘 : 𝑛, 𝑝1 , 𝑝2 , … , 𝑝𝑘 = 𝑥 , 𝑥 , … , 𝑥 . 𝑝1 1 . 𝑝2 2 . …. 𝑝𝑘 𝑘
1 2 𝑘
𝑘
𝑛! 𝑥
= . ෑ 𝑝𝑖 𝑖
ς𝑘𝑖=1 𝑥𝑘 !
𝑖=1
Theorem 2.12:
The mean and the variance of the multinomial distribution are
𝜇𝑖 = 𝑛𝑝𝑖 and 𝜎𝑖2 = 𝑛𝑝𝑖 1 − 𝑝𝑖
Theorem 2.13:
The moment generating function of the multinomial
distribution is
𝑛
𝑘
𝑀𝑋 𝑡 = 𝑝𝑖 𝑒 𝑡𝑖
𝑖=1
SQQS1043 Statistics and Probability 35
Example 4
In a music store, a manager found that the probabilities that a
person buys zero, one, or two or more CDs are 0.3, 0.6, and 0.1,
respectively. If six customers enter the store, find the probability
that one won’t buy any CDs, three will buy one CD, and two will
buy two or more CDs.
Solution:
36
SQQS1043 Statistics and Probability
Hypergeometric Distribution
• The hypergeometric distribution is a distribution of a variable
that has two outcomes when sampling is done without
replacement.
• When sampling is done without replacement, the binomial
distribution does not give exact probabilities, since the trials are
not independent.
• The smaller the size of the population, the less accurate the
binomial probabilities will be.
• Thus, hypergeometric distribution is used when:
• Sampling is done without replacement.
• Non-Independence, Non-constant Probability: 𝑀 Successive
trials are dependent; every trial changes the sample space
and probabilities for the subsequent trials.
• 𝑥 counts the number of successes in n fixed trials.
SQQS1043 Statistics and Probability 37
Hypergeometric Distribution
• Given a population with only two types of objects (females and males, defective
and non-defective, etc.) such that there are M items of one kind and (N-M) items
of another kind and equals the total population.
• The probability of selecting without replacement a sample of size n with x items
of type M and (n-x) items of type (N-M) is given by
𝑀 𝑁−𝑀
𝑥 𝑛−𝑥
𝑁
𝑛
Note that:
The moment generating function for Hypergeometric
distribution does not exist.
𝜆𝑥 𝑒 −𝜆
𝑝 𝑥; 𝜆 =
𝑥!
Theorem 2.15:
The mean and the variance of the Poisson distribution are
𝜇 = 𝜆 and 𝜎 2 = 𝜆
Theorem 2.16:
The moment generating function of the Poisson
distribution are
𝜆 𝑒 𝑡 −1
𝑀𝑋 𝑡 = 𝑒
SQQS1043 Statistics and Probability 45
Example 6
If there are 200 typographical errors randomly distributed in a
500-page manuscript, find the probability that a given page
contains exactly three errors.
Solution:
𝑃 𝑋 = 𝑃 𝑋 = 𝑥 = 𝑝 𝑥; 𝜆
If X is number
of blue balls, X
If if x1, x2, x3 A ball is randomly
6 balls are has binomial
is number of taken from the box
randomly taken distribution ,
blue, red and with replacement 4 balls are
from the box with n=4, p=1/3
green balls, Xi randomly
replacement. The taken from
has
number of red, the box with
Multinomial
blue and green replacement
distribution, A box contains
balls are counted.
pi=1/3 10 red balls, 10
blue balls &10
A ball is green balls 4 balls are
randomly randomly
taken from the taken from
box with the box
replacement, without
A ball is randomly If X is number of
If X is number of until 3 blue replacement
taken from the box blue balls, X has
blue balls, X has balls are with replacement, hypergeometric
negative obtained until the first blue ball distribution,
Binomial
is obtained N=30, M=10, n=4
distribution,
p=1/3, k=3
If X is number of blue
balls, X has geometric
distribution, p=1/3
SQQS1043 Statistics and Probability 49
Class Activity 2
1. Before a television set leaves the factory, it is given a quality control check.
The probability that a television contains 0, 1 or 2 defects is 0.88, 0.08 and
0.04 respectively.
a) In a random sample of 16 televisions, compute the probability that
more than 2 televisions will have 1 defect.
b) In a random sample of 16 televisions, compute the probability that 9
will have 0 defect, 4 will have 1 defect and 3 will have 2 defects.
c) Let X be the number of defects of television, compute the expected
value of X. Interpret its value.
2. Among the 16 applicants for a job, 10 have college degrees. If 5 of the
applicants are randomly chosen for interviews, what is the probability that
a) none has a college degree
b) more than 1 has a college degree
3. Find the probability of X equal to 3, if the moment generating function is
given by
4 𝑒 𝑡 −1
𝑀𝑥 𝑡 = 𝑒