In: Statistics and Probability
In the following problem, check that it is appropriate to use
the normal approximation to the binomial. Then use the normal
distribution to estimate the requested probabilities.
What's your favorite ice cream flavor? For people who buy ice
cream, the all-time favorite is still vanilla. About 20% of ice
cream sales are vanilla. Chocolate accounts for only 9% of ice
cream sales. Suppose that 185 customers go to a grocery store in
Cheyenne, Wyoming, today to buy ice cream. (Round your answers to
four decimal places.)
(a) What is the probability that 50 or more will buy
vanilla?
(b) What is the probability that 12 or more will buy
chocolate?
(c) A customer who buys ice cream is not limited to one container
or one flavor. What is the probability that someone who is buying
ice cream will buy chocolate or vanilla? Hint: Chocolate
flavor and vanilla flavor are not mutually exclusive events. Assume
that the choice to buy one flavor is independent of the choice to
buy another flavor. Then use the multiplication rule for
independent events, together with the addition rule for events that
are not mutually exclusive, to compute the requested
probability.
(d) What is the probability that between 50 and 60 customers will
buy chocolate or vanilla ice cream? Hint: Use the
probability of success computed in part (c).
SOLUTION:
From given data,
the all-time favorite is still vanilla. About 20% of ice cream sales are vanilla. Chocolate accounts for only 9% of ice cream sales. Suppose that 185 customers go to a grocery store in Cheyenne, Wyoming, today to buy ice cream.
20% of ice cream sales are vanilla
9% of ice cream sales.
185 customers go to a grocery store in Cheyenne, Wyoming, today to buy ice cream.
a ) What is the probability that 50 or more will buy vanilla?
P (vanilla) = 0.20
q = 1-p = 1-0.20 =0.8
n = 185
mean = n p = 185 * 0.20 = 37
std.deviation = sqrt ( npq) = sqrt ( 37 * 0.8) = 5.44
P (x > 50)
z = ( x - mean) / s
= ( 50 - 37) / 5.44
= 2.39
Now, we need to find p(z >2.39)
P(X >50 ) = p(z >2.39)
= 1 - p(z < 2.39)
= 1 - 0.9916
= 0.0084
b) What is the probability that 12 or more will buy chocolate?
P (vanilla) = 0.09 ,
q = 1-p = 1-0.09 = 0.91
n = 185
mean = n p = 185 * 0.09 = 16.65
std.deviation = sqrt ( npq) = sqrt ( 16.65 * 0.91) = 3.892
P (x > 12)
z = ( x - mean) / s
= ( 12 - 16.65) / 3.892
= -1.195
Now, we need to find p(z >-1.19)
P(X >12 ) = p(z > -1.19)
= 1 - 0.1170
=0.883
c) A customer who buys ice cream is not limited to one container or one flavor. What is the probability that someone who is buying ice cream will buy chocolate or vanilla?
Probability that customer buys vanilla, P(V) = 0.20
Probability that customer buys Chocolate, P(C) = 0.09
P(V and C) = P(V) * P(C) = 0.20*0.09 =0.018
Required probability P(V or C) = P(V) + P(C) - P(V and C) = 0.20 + 0.09 - 0.018
= 0.272
(d)What is the probability that between 50 and 60 customers will buy chocolate or vanilla ice cream?
p = 0.272
q = 1-p = 1-0.272 = 0.728
n = 185
mean = n p = 185 * 0.272= 50.32
std.deviation = sqrt ( npq) = sqrt ( 50.32 * 0.728 ) = 6.0525
P (50 > x > 60) = P((50-50.32)/6.0525 < z < (60-50.32)/6.0525)
= P( -0.053 < z < 1.599)
= P( Z <1.59) - P(Z < -0.05 )
= 0.9441 - 0.4801
= 0.464