L3 Notes
L3 Notes
Binomial but with the exception that the trials will be repeated until a fixed number of
successes occur.
we are now interested in the probability that the kth success occurs on the xth trial.
The drug will be considered a success if it is effective in bringing some degree of relief to the patient.
We are interested in finding the probability that the fifth patient to experience relief is the seventh patient to
Designating a success by S and a failure by F, a possible order of achieving the desired result is
(0.6)(0.4)(0.6)(0.6)(0.6)(0.4)(0.6) = (0.6)5(0.4)2.
Negative Binomial Distributions
We could list all possible orders by rearranging the F’s and S’s except for the last outcome, which must be the
fifth success.
The total number of possible orders is equal to the number of partitions of the first six trials into two groups
with 2 failures assigned to the one group and 4 successes assigned to the other group.
6
( ) = 15 mutually exclusive ways.
4
Hence, if X represents the outcome on which the fifth success occurs, then
6
P(X = 7) = ( ) (0.6)5(0.4)2 = 0.1866
4
Negative Binomial Distributions
If repeated independent trials can result in a success with probability p and a failure with probability q = 1 − p,
then the probability distribution of the random variable X, the number of the trial on which the kth success
occurs, is
x-1
b*(x;k,p)= ( k-1 ) (p)k(q)x-k x = k, k+1, k+2,…..
Negative Binomial Distributions
In an NBA (National Basketball Association) championship series, the team that wins four games out of seven is the winner.
Suppose that teams A and B face each other in the championship games and that team A has probability 0.55 of winning
a game over team B.
(a) What is the probability that team A will win the series in 6 games?
(b) What is the probability that team A will win the series?
5
b*(6; 4, 0.55) = ( ) 0.5544 (1 − 0.55)6−4 = 0.1853
3
If we consider the special case of the negative binomial distribution where k = 1, we have a
probability distribution for the number of trials required for a single success Then
x-1
b*(x;k,p)=( ) (p)k(q)x-k x = k, k+1, k+2,…..
k-1
If repeated independent trials can result in a success with probability p and a failure with
probability q = 1 − p,
then the probability distribution of the random variable X, the number of the trial on which the
first success occurs, is called the Geometric Distribution and denoted its value by g(x;p)
g(x; p) = pqx−1, x= 1, 2, 3, . . . .
Geometric Distributions
For a certain manufacturing process, it is known that, on the average, 1 in every 100 items is
defective. What is the probability that the fifth item inspected is the first defective item found?
b(x;n,p)= ( nx ) (p)x(q)n-x
E[X] = np
Var(X) = np(1 − p)
9
Review
For a Hypergeometric random variable (trials are not independent ) with parameters n, N, p
E[X] = np
N - n np (1-p)
Var (X) =
N-1
10
Review
For a Poisson random variable with parameter λ if for some positive value λ its
probabilities are given by
P{X = i} = e- λ λi/i!, i = 0, 1, . . .
11
Review
x-1
b*(x;k,p) = ( ) (p)k(q)x-k x = k, k+1, k+2,…..
k-1
Geometric Distributions: The number of the trial on which the first success occurs
g(x; p) = pqx−1, x= 1, 2, 3, . . . .
12
A large chain retailer purchases a certain kind of electronic device from a manufacturer. The manufacturer indicates that the
defective rate of the device is 3%.
(a) The inspector randomly picks 20 items from a shipment. What is the probability that there will be at least one defective item
among these 20?
(b) Suppose that the retailer receives 10 shipments in a month and the inspector randomly tests 20 devices per shipment. What
is the probability that there will be exactly 3 shipments each containing at least one defective device among the 20 that are
selected and tested from the shipment?
Denote by X the number of defective devices among the 20. Then X follows a b(x; 20, 0.03) distribution. Hence,
b) In this case, each shipment can either contain at least one defective item or not. Hence, testing of each shipment can be
viewed as a trial with p = 0.4562 from part (a). Assuming independence from shipment to shipment and denoting by Y the
number of shipments containing at least one defective item, Y follows another binomial distribution b(y; 10, 0.4562). Therefore,
It is conjectured that an impurity exists in 30% of all drinking wells in a certain rural community. In order
to gain some insight into the true extent of the problem, it is determined that some testing is necessary. It
is too expensive to test all of the wells in the area, so 10 are randomly selected for testing.
(a) Using the binomial distribution, what is the probability that exactly 3 wells have the impurity, assuming
that the conjecture is correct?
(b) What is the probability that more than 3 wells are impure?
(b) We require 1-[b(0; 10, 0.3) + b(1; 10, 0.3) + b(2; 10, 0.3) + b(3; 10, 0.3)] = 0.3504
Twelve people are given two identical speakers, which they are asked to listen to for differences,
if any. Suppose that these people answer simply by guessing. Find the probability that three
people claim to have heard a difference between the two speakers.
The 2-engine plane has a slightly higher probability for a successful flight when p = 0.6.