STAT320 (Geometric and Other)
STAT320 (Geometric and Other)
STAT320 (Geometric and Other)
STATISTICS
Anwer Khurshid
University of Nizwa
28th April 2021
The shape of the binomial distribution
depends on 𝑛 and 𝑝
The shape of the Poisson distribution depends on 𝜆
1. Assume that 25% of fuses are defective, and the fuses in packages of
six fuses are independently selected. What is the probability that
(exactly) two fuses in a package of six are defective? What is the
probability that fewer than two are defective?
2. A life insurance salesman sells on the average 3 life insurance policies
per week. Calculate the probability that in a given week he will sell
(i) Some policies
(ii) 2 or more policies but less than 5 policies.
(iii) Assuming that there are 5 working days per week, what is the
probability that in a given day he will sell one policy?
Some Discrete Distributions other than Binomial and
Poisson: Geometric Distribution
Binomial has a FIXED number of trials before the experiment begins and
counts the number of successes obtained in that fixed number, whereas
Geometric has a fixed number of successes (ONE...the FIRST) and counts the
number of trials needed to obtain that first success. It is theoretically
possible to proceed indefinitely without ever obtaining a success.
Examples would be
i) flip a coin UNTIL you get a tail
ii) roll a die UNTIL you get a 5
iii) repeated attempts to start an engine
A random variable 𝑋 is geometric provided that the conditions for
binomial distribution are met but there is a one NEW: the variable of
interest is the number of trials required to obtain the FIRST success.
The shorthand 𝑋~𝑔𝑒𝑜𝑚𝑒𝑡𝑟𝑖𝑐 (𝑝) is used to indicate that the random
variable 𝑋 has the geometric distribution with real parameter 𝑝 .
The pmf is
𝑝 𝑥 = 𝑝(1 − 𝑝)𝑥−1 for 𝑥 = 1,2,∙∙∙ 0 < 𝑝 < 1 and 𝑝 + 𝑞 = 1
Properties
1
(i) The mean is 𝐸 𝑋 = 𝜇 =
𝑝
𝑞
(ii) The variance is 𝑉𝑎𝑟 𝑋 = 𝜎2 =
𝑝2
𝑝𝑒 𝑡
(iii) The mgf of a geometric distribution is 𝑀𝑋 𝑡 =
1−𝑞𝑒 𝑡
The probability that the seventh component is the first defect is 0.0177.
Example #2
Suppose that repeated Bernoulli trials are performed until 𝑟 successes occur. The number
of trials required 𝑋, follows the negative binomial probability distribution with following
probability mass function:
𝑥−1 𝑟
𝑃(𝑋 = 𝑥) = 𝑝 (1 − 𝑝)𝑥−𝑟 for 𝑥 = 𝑟, 𝑟 + 1, 𝑟 + 2, . . . 0 < 𝑝 < 1 and 𝑝 + 𝑞 = 1,
𝑟−1
Properties:
𝑟
(i) The mean is 𝐸(𝑋) = 𝜇 =
𝑝
𝑟𝑞
(ii) The variance is 𝑉𝑎𝑟(𝑋) = 𝜎 2 =
𝑝2
𝑟
𝑝𝑒 𝑡
(iii) The mgf of a negative binomial distribution is 𝑀𝑋 (𝑡) =
1−𝑞𝑒 𝑡
(iv) If 𝑟 = 1 then Negative binomial will become geometric.
Example #1 (Earlier we have seen this problem with
geometric distribution)
A test of weld strength involves loading welded joints until a fracture
occurs. For a certain type of weld, 80% of the fractures occur in the
weld itself, while the other 20% occur in the beam. A number of welds
are tested and the tests are independent. Let 𝑋 be the number of test
at which the first beam fracture is observed.
(i) Find the probability that the 3rd beam fracture (success) occurs on
the 6th trial.
(ii) Find 𝐸(𝑋) and 𝑉(𝑋) and the standard deviation of 𝑋.
(i) Recall, 𝑃(𝑆𝑢𝑐𝑐𝑒𝑠𝑠) = 𝑃(beam fracture) = 0.2. We want the probability
that there were 2 successes somewhere within the first 5 trials, and the 6th
trial was a success.
13 39
𝑃(𝑋 = 0) = 0 5 = 0.2215
52
0 5
5
Example #2