A manufacturer of colored candies states that 13 % of the candies in a bag should be
Question:
A manufacturer of colored candies states that 13 % of the candies in a bag should be brown, 14 % yellow, 13 % red, 24 % blue, 20 % orange, and 16 % green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha equals 0.05 level of significance.
Color | Frequency | Claimed Proportion |
Brown | 59 | 0.13 |
Yellow | 67 | 0.14 |
Red | 55 | 0.13 |
Blue | 59 | 0.24 |
Orange | 99 | 0.2 |
Green | 67 | 0.16 |
Determine the null and alternative hypotheses. Choose the correct answer below.
A.H0:The distribution of colors is not the same as stated by the manufacturer.
H1:The distribution of colors is the same as stated by the manufacturer.
B.H0:The distribution of colors is the same as stated by the manufacturer.
H1:The distribution of colors is not the same as stated by the manufacturer.
C.None of these.
Compute the expected counts for each color.
Color | Frequency | Expected Count | |
Brown | 59 ? | | |
| | | |
Yellow | 67 ? | | |
| | | |
Red | 55 ? | | |
| | | |
Blue | 59 ? | | |
| | | |
Orange | 99 ? | | |
| | | |
Green | 67 ? | | |
What is the test statistic?
chi Subscript 0 Superscript 2=? |
What is the P-value of the test?
P-value=?
Based on the results, do the colors follow the same distribution as stated in the problem?
A.Do not reject Upper H 0. There is not sufficient evidence that the distribution of colors is not the same as stated by the manufacturer.
B.Do not reject Upper H 0. There is sufficient evidence that the distribution of colors is not the same as stated by the manufacturer.
C.Reject Upper H 0. There is not sufficient evidence that the distribution of colors is not the same as stated by the manufacturer.
D.Reject Upper H 0. There is sufficient evidence that the distribution of colors is not the same as stated by the manufacturer.
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman