It is generally believed that 29 % of all pieces of candy in a family pack of Hershey’s candy are dark chocolate. A dark chocolate lover, yours truly along with a few classmates took 64 bags as a sample at random to find out the truth, what is the probability of achieving a sample with at least 34 percent, given the same sample size?
It is generally believed that 29 % of all pieces of candy in a family pack of Hershey’s candy are dark chocolate. A dark chocolate lover, yours truly along with a few classmates took 64 bags as a sample at random to find out the truth, what is the probability of achieving a sample with at least 34 percent, given the same sample size?
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
It is generally believed that 29 % of all pieces of candy in a family pack of Hershey’s candy are dark chocolate. A dark chocolate lover, yours truly along with a few classmates took 64 bags as a sample at random to find out the truth, what is the probability of achieving a sample with at least 34 percent, given the same sample size ?
Expert Solution
Step 1
Given
The percentage of all pieces of candy in a family pack of Hershey's are dark chocolate = 29%
Let proportion of all pieces of candy in a family pack of Hershey's are dark chocolate be p= 0.29
Proportion of all pieces which are not dark chocolate = 1 - 0.29 = 0.71
Let X be number of dark chocolate bags in 64 bags.
X follow binomial distribution with p = 0.29 and n = 64
34% of total bags = 0.34*64 = 21.76
We need P(X > 21.76)
Here the value of n is large and we can assume normal approximation
Mean = n*p = 0.64*0.29 = 18.56
Standard deviation = √n*p(1-p) = √64*0.29*0.71 = 3.63
Step by step
Solved in 2 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman