Question

In: Statistics and Probability

A few years ago, Mars sold M&Ms inspired by candy corn. The M&Ms in those bags...

A few years ago, Mars sold M&Ms inspired by candy corn. The M&Ms in those bags came in three colors: white, yellow, and orange. The following table shows the distributions of those colors in a bag of 90 M&Ms purchased at a local store.A few years ago, Mars sold M&Ms inspired by candy corn.

Using an alpha of 0.05, carry out a goodness-of-fit test for the null hypothesis that the three colors appear equally often.

(Hint: We will not be able to reject the null hypothesis, but you need to show the formal steps and calculations that lead to that decision.)

Color of M&Ms

Count

White

32

Yellow

33

Orange

25

Part (b)            (4 points)

State one example (there are many different possible answers) for the distribution of the three colors of M&Ms that would lead us to reject the null hypothesis that the three colors appear equally often. You again need to show the formal steps and calculations that lead to that decision.

Solutions

Expert Solution

Solution:

Here, we have to use chi square test for goodness of fit.

Null hypothesis: H0: the three colors appear equally often.

Alternative hypothesis: Ha: the three colors do not appear equally often.

We are given level of significance = α = 0.05

Test statistic formula is given as below:

Chi square = ∑[(O – E)^2/E]

Where, O is observed frequencies and E is expected frequencies.

We are given

N = 3

Degrees of freedom = df = N – 1 = 3 – 1 = 2

α = 0.05

Critical value = 5.991464547

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Color

O

E

(O - E)^2/E

White

32

30

0.1333

Yellow

33

30

0.3000

Orange

25

30

0.8333

Total

90

90

1.2667

Chi square = ∑[(O – E)^2/E] = 1.2667

P-value = 0.530819452

(By using Chi square table or excel)

P-value > α = 0.05

So, we do not reject the null hypothesis

There is sufficient evidence to conclude that the three colors appear equally often.

Now, we have to show one example in which we reject the claim that the three colors appears equally often.

Required example is given as below:

Color

O

E

(O - E)^2/E

White

34

30

0.5333

Yellow

38

30

2.1333

Orange

18

30

4.8000

Total

90

90

7.4667

Chi square = ∑[(O – E)^2/E] = 7.4667

P-value = 0.023912993

P-value < α = 0.05

So, we reject the null hypothesis

There is insufficient evidence to conclude that the three colors appear equally often.


Related Solutions

Question 1 Part (a) A few years ago, Mars sold M&Ms inspired by candy corn. The...
Question 1 Part (a) A few years ago, Mars sold M&Ms inspired by candy corn. The M&Ms in those bags came in three colors: white, yellow, and orange. The following table shows the distributions of those colors in a bag of 90 M&Ms purchased at a local store. Color of M&Ms Count White 32 Yellow 33 Orange 25 Using an alpha of 0.05, carry out a goodness-of-fit test for the null hypothesis that the three colors appear equally often. (Hint:...
The Mars candy company claims that the percentage of blue M&Ms [2] candies is 24%. A...
The Mars candy company claims that the percentage of blue M&Ms [2] candies is 24%. A sample of 200 M&Ms candies was selected and 54 candies were blue. a) State the null hypothesis and the alternative hypothesis. b) Test the claim using a significance level of 0.05. c) State your conclusion. Should the Mars company take corrective action?
Q: The mars company claims that 13 percent of M&Ms plain candies distributed into bags are...
Q: The mars company claims that 13 percent of M&Ms plain candies distributed into bags are brown. Investigate this claim with an appropriate hypothesis test. Use a significance level of a= 0.05 Color Count Brown 33 Non-Brown 242 Total 275 1. The p-value for this test statistic is: _______________. 2. Null Hypothesis: 3. Alternative Hypothesis: 4. Conclusion: We REJECT/DO NOT REJECT the null hypothesis. (Circle the correct answer) State what this conclusion means in terms of the problem. 5. Would...
In 1995 the Mars Company replaced tan M&Ms with blue M&Ms. A sample of 100 plain...
In 1995 the Mars Company replaced tan M&Ms with blue M&Ms. A sample of 100 plain M&Ms before the introduction of blue M&Ms had a mean weight 0.9160g with a standard deviation of 0.0433g. A sample of 100 plain M&Ms taken after 1995 had a mean weight of 0.9147g and a standard deviation of 0.0369g. (a) Construct the 98% confidence interval for the difference in the mean weight of plain M&Ms before and after the introduction of blue M&Ms. List:...
According to Mars, Inc., 20% of all M&Ms produced are blue. One bag of 50 M&Ms...
According to Mars, Inc., 20% of all M&Ms produced are blue. One bag of 50 M&Ms represents the sample for this problem. The sample data can be used to perform a two-sided hypothesis test to test whether 20% of all M&Ms are blue. In one bag of 50 M&Ms, there are 14 blue M&Ms. Use this data to test whether 20% of all M&Ms are blue.
Problem 1 It is known that the weights of M&M milk chocolate candy bags are normally...
Problem 1 It is known that the weights of M&M milk chocolate candy bags are normally distributed with the average weight of 11.04 ounces and the standard deviation of 0.82 ounces. One bag is randomly selected. Answer the following Question 1 What is the probability that the weight of this bag is 10.65 ounces? a) 0.3156 b) 0 c) 0.6844 d) none of the above Question 2 What is the probability of the weight of this bag exceeding 11.93 ounces?...
Quite a few years ago ,a popular show called lets make a… quite a few years...
Quite a few years ago ,a popular show called lets make a… quite a few years ago ,a popular show called lets make a deal appeared on network television.contestants were selected from the audience . each contestant would bring some silly item that he or she would trade for cash prize or prize behind one of three doors. suppose you have been selected as a contestant on the show.you are given a choice of three doors. behind one door is...
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 30% Red 20% Yellow...
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 30% Red 20% Yellow 20% Orange 10% Green 10% Blue 10% A bag of M&Ms was randomly selected from the grocery store shelf, and the color counts were: Brown 23 Red 21 Yellow 20 Orange 16 Green 15 Blue 14 Find the 95% confidence interval for the proportion of blue M&Ms in that bag. a) [0.066, 0.191] b) [0.116, 0.121] c) [-0.014, 0.191] d) [0.066, -0.009] e) [-0.034,...
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 30% Red 20% Yellow...
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 30% Red 20% Yellow 20% Orange 10% Green 10% Blue 10% A bag of M&Ms was randomly selected from the grocery store shelf, and the color counts were: Brown 23 Red 21 Yellow 21 Orange 15 Green 16 Blue 14 Using the ?2 goodness of fit test to determine if the proportion of M&Ms is what is claimed, what is the test statistic?
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 20% Red 25% Yellow...
Mars Inc. claims that they produce M&Ms with the following distributions: Brown 20% Red 25% Yellow 25% Orange 5% Green 15% Blue 10% A bag of M&Ms was randomly selected from the grocery store shelf, and the color counts were: Brown 21 Red 21 Yellow 19 Orange 12 Green 17 Blue 13 Using the χ2 goodness of fit test (α = 0.05) to determine if the proportion of M&Ms is what is claimed. Select the [test statistic, p-value, Decision to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT