Question

In: Statistics and Probability

The color distribution of plain M&M’s varies by the factory in which they were made. The...

The color distribution of plain M&M’s varies by the factory in which they were made. The Hackettstown, New Jersey plant uses the following color distribution for plain M&M’s: 12.5% red, 25% orange, 12.5% yellow, 12.5% green, 25% blue, and 12.5% brown. Each piece of candy in a random sample of 100 plain M&M’s from the Hackettstown factory was classified according to color, and the results are listed below. Use a 0.05 significance level to test the claim that the Hackettstown factory color distribution is correct. Describe method used for calculating answer.

color red orange yellow green blue brown
number 11 28 20 9 20 12

(a) Identify the appropriate hypothesis test and explain the reasons why it is appropriate for analyzing this data.

(b) Identify the null hypothesis and the alternative hypothesis.

(c) Determine the test statistic. (Round your answer to two decimal places)

(d) Determine the p-value. (Round your answer to two decimal places)

(e) Compare p-value and significance level ?. What decision should be made regarding the null hypothesis (e.g., reject or fail to reject) and why?

(f) Is there sufficient evidence to support the claim that the Hackettstown factory color distribution is correct? Justify your answer.

Solutions

Expert Solution

The Hackettstown, New Jersey plant uses the following color distribution for plain M&M’s:

12.5% red, 25% orange, 12.5% yellow, 12.5% green, 25% blue, and 12.5% brown.

However form a simple random sample of size 100 the following was obtained :-

Colour Obs

Red 11

Orange 28

Yellow 20

Green 9

Blue 20

Brown 12

a. & b.) An appropriate hypothesis to test the color distribution intended is in accordance with theose obtained in the sample would be :

Ho: The data is consistent with the color distributiion. vs H1: The data is NOT consistent

We shall be using the Pearsonian Chi square test of goodness of fit to test our hypothesis.

The reasons we can do so are :

1.) Simple random sampling is used.

2.) The variable under study is categorical.

3.) The frequencies are atleast 5.

c.) The test statistic is given by :

  

where Ei are the expected frequencies and Oi are the observed frequencies

Our test statistic follows chi square distribution with 7-1 degrees of freedom.

The observed test statistic for our data is = 7.04

d.) The p value is the probability of obtaining a value as extreme as the test statistic.

For our data, the degrees of freedom is 7-1=6

The p-value is accordingly 0.3172

e.) We observe that the p-value is less than the given level of significance ie 0.05.

Hence we are to reject the null hypothesis and conclude that the sample proportions of the colours are not consistent with those of the expected proportions.

  


Related Solutions

The color distribution of plain M&M’s varies by the factory in which they were made. The...
The color distribution of plain M&M’s varies by the factory in which they were made. The Hackettstown, New Jersey plant uses the following color distribution for plain M&M’s: 12.5% red, 25% orange, 12.5% yellow, 12.5% green, 25% blue, and 12.5% brown. Each piece of candy in a random sample of 100 plain M&M’s from the Hackettstown factory was classified according to color, and the results are listed below. Use a 0.05 significance level to test the claim that the Hackettstown...
The Mars Company, the maker of M&M’s, recently claimed that M&M’s were so much fun because...
The Mars Company, the maker of M&M’s, recently claimed that M&M’s were so much fun because they were a perfect rainbow, that is, each bag they made contained equal numbers of each of the five colors. An enterprising student decided to test this and bought one small bag, chosen at random. The number of M&M’s found for each color was: Brown: 19 Blue: 5 Green: 5 Orange: 9 Yellow: 10 Perform a hypothesis test and state your conclusions about Mars’...
The Masterfoods Company says that yellow candies make up 20% of their plain M&M’s, red another...
The Masterfoods Company says that yellow candies make up 20% of their plain M&M’s, red another 20%, and orange, blue, and green each make up 10%. The rest are brown. a. If you randomly pick two M&M’s, what’s the probability that they are both brown? Round to TWO digits beyond the decimal. b. If you randomly pick two M&M’s, what’s the probability that exactly one of the two is yellow? Round to TWO digits beyond the decimal. c. If you...
The hypothesis being tested is: H0: Plain M&Ms follow the stated distribution Ha: Plain M&Ms does...
The hypothesis being tested is: H0: Plain M&Ms follow the stated distribution Ha: Plain M&Ms does not follow the stated distribution observed expected O - E (O - E)² / E Red 63 89.440 -26.440 7.816 Orange 155 137.600 17.400 2.200 Yellow 90 89.440 0.560 0.004 Green 101 137.600 -36.600 9.735 Blue 181 137.600 43.400 13.689 Brown 98 96.320 1.680 0.029 688 688.000 0.000 33.473 33.47 chi-square 5 df 3.03E-06 p-value The p-value is 0.0000. Since the p-value (0.0000) is...
ou have been tasked with reviewing product consistency regarding the packaging of plain M&M’s candy. Your...
ou have been tasked with reviewing product consistency regarding the packaging of plain M&M’s candy. Your job is to determine if the number of blue, green, brown, orange, and yellow M&M’s in each bag is relatively equal. Obviously, not every bag will contain the exact same number of M&M’s, divided into equal quantities. However, as part of your quality control responsibilities you want to determine if there is a significant difference in the number of colors in each bag. After...
Use the distribution below to test that Plain M&Ms follow the stated distribution. Discuss your choice...
Use the distribution below to test that Plain M&Ms follow the stated distribution. Discuss your choice of ?. Would a different ? have changed your conclusion? M&M states the following distribution for Plain M&Ms: Red = 13%, Orange = 20%, Yellow = 13%, Green = 20%, Blue = 20%, Brown = 14% Total number of plain M&M's: 665 Total number of red plain M&M's: 76 Total number of plain brown M&M's: 66 Total number of blue plain M&M's: 179 Total...
Bernice, a local entrepreneur, wants to know if the color of her hand-made coffee mugs were...
Bernice, a local entrepreneur, wants to know if the color of her hand-made coffee mugs were equally preferred by northern and southern customers. She focused on just 2 color types (red, blue) and divided customers based on living in the north or south of the United States. She then simply kept track of how many blue and red mugs were sold to southern and northern customers.     Chi-square for Goodness of Fit Chi-square for Independence Independent-measures t-test Repeated-measures t-test (paired-samples...
An entity manufactures parts at its factory which it uses at a number of distribution centers....
An entity manufactures parts at its factory which it uses at a number of distribution centers. The following costs relate to the manufacture of the parts: 1. Fixed production overheads, apportioned on a reasonable basis 2. Costs of transporting the parts from the factory to the distribution centers 3. The costs of returning the transportation vehicles from the distribution centers to the factory 4.The ongoing costs of storing the parts at the distribution centers prior to their use. Which of...
This question refers to a sweepstakes promotion in which respondents were asked to select what color...
This question refers to a sweepstakes promotion in which respondents were asked to select what color car they would like to receive if they had the winning number. For a random sample of respondents the choices were 24 blue (B), 34 green(G), 66 red(R), and 36 white(W). Test at the 0.05 level the claim that the population prefers each colour equally. The expected value of chi-square (the test statistics) is Select one: a. 7.815 b. 24.600 c. 0 d. 22.412...
If a loss of function mutation were made in the enzyme which is reponsible for linking...
If a loss of function mutation were made in the enzyme which is reponsible for linking Okazaki fragments together, how would the results of the experiment be different? Draw a graph to show what you would expect
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT