Chapter+3 Recorded-2
Chapter+3 Recorded-2
1
E( X )
p
Example 5
Some computer software has an error in it. To locate
the error, programmers conduct a series of
independent tests. Each test is based on a set of
random inputs for the software, and the probability that
a random test detects the error is 0.16
a) What is the expected number of tests that will need
to be performed before the error is found?
b) What’s the probability it will be found within 10
tries?
c) How many tests should they plan to conduct if they
want to be at least 99% sure they’ll find the error.
The Negative Binomial Distribution
P( X x)
e t
t x
, x 0,1,2,...
x!
If X is a Poisson random variable with parameter
t then E(X) = V(X) =t .
Example 10
The number of surface flaws in plastic panels used
in a car’s interior has a Poisson distribution with a
mean of 0.05 flaws per square foot. Assume a
car’s interior contains 10 square feet of plastic
panel.
a) What is the probability that there are no surface
flaws in a single car’s interior?
b) If 10 cars are sold to a rental company, what is
the probability that at most one of them has at
least one interior surface flaw?
Example 11
Suppose the number of errors in a piece of
software follows a Poisson distribution with an
average of 3 errors.
What is the probability of no errors in the software?
What is the probability of at least 3 errors in the
software?
The Poisson Approximation to
the Binomial Distribution
If X ~ B(n,p) where n is very large and p is very
small, then it is suitable to approximate
probabilities from a binomial distribution using the
Poisson distribution with X ~ P( t np ).
Rule of Thumb: You should apply this
approximation when n is larger than 150 and p is
smaller than 0.01.
Example 12
Suppose a box contains 500 iPads, and each one
has a probability of 0.005 of being defective.
What is the approximate probability that there are
at least 3 defective iPads in the box?