In: Math
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 a=0.05 level of significance.
Color | Brown | Yellow | Red | Blue | Orange | Green |
Frequency | 59 | 66 | 54 | 61 | 90 | 65 |
Claimed Proportion | 0.13 | 0.14 | 0.13 | 0.24 | 0.2 | 0.16 |
What is the P-value of the test? (round to three decimal places as needed)