Question

In: Statistics and Probability

Researchers want to determine whether all bags of M&Ms® have the same proportion of colors regardless...

Researchers want to determine whether all bags of M&Ms® have the same proportion of colors regardless of the flavor of M&Ms®. To test this, they sampled randomly king-size bags of each flavor and recorded their findings in the table.

Flavor M&M's® Color
Red Orange Yellow Green Blue Brown
Original 24 11 29 17 9 14
Peanut 15 20 30 25 15 19
Almond 22 17 21 12 28 7


Part A: What are the correct degrees of freedom for this table? (2 points)

Part B: Calculate the expected count for the number of green peanut M&Ms®. Show your work. (3 points)

Part C: Is there sufficient evidence that there is a difference in the proportion of colors for the different flavors of M&Ms®? Provide a statistical justification for your conclusion. (5 points)

Solutions

Expert Solution

The Observed and Expected value tables are as below. Each cell of the expected value = (Row Total * Column Total) / Total

Observed
Race Red Orange Yellow Green Blue Brown Total
Original 24 11 29 17 9 14 104
Peanut 15 20 30 25 15 19 124
Almond 22 17 21 12 28 7 107
Total 61 48 80 54 52 40 335
Expected
Race Red Orange Yellow Green Blue Brown Total
Original 18.937 14.901 24.836 16.764 16.143 12.418 92
Peanut 22.579 17.767 29.612 19.988 19.248 14.806 109
Almond 19.484 15.331 25.552 17.248 16.609 12.776 94
Total 61 48 80 54 52 40 335

(A) Degrees of freedom = (Row -1) * (Column - 1) = (3 - 1) * (6 - 1) = 2 * 5 = 10

(B) Expected value = 54 * 124 / 335 = 19.988

(C)

The Hypothesis:

H0: The sample has a distribution that agrees with the distribution of the populations.

Ha: The sample has a distribution that is different from the distribution of the populations.

The Test Statistic:

Observed Expected O-E (O-E)2 (O-E)2/E
1 24 18.937 5.063 25.631 1.353
2 15 22.579 -7.579 57.443 2.544
3 22 19.484 2.516 6.332 0.325
4 11 14.901 -3.901 15.222 1.021
5 20 17.767 2.233 4.986 0.281
6 17 15.331 1.669 2.784 0.182
7 29 24.836 4.164 17.340 0.698
8 30 29.612 0.388 0.151 0.005
9 21 25.552 -4.552 20.723 0.811
10 17 16.764 0.236 0.056 0.003
11 25 19.988 5.012 25.120 1.257
12 12 17.248 -5.248 27.539 1.597
13 9 16.143 -7.143 51.027 3.161
14 15 19.248 -4.248 18.043 0.937
15 28 16.609 11.391 129.756 7.812
16 14 12.418 1.582 2.503 0.202
17 19 14.806 4.194 17.590 1.188
18 7 12.78 -5.776 33.364 2.611
Total 25.989

test = 25.989

The Critical Value:   The critical value at = 0.05 (default) , df= n - 1 = 10

critical = 18.307

The p value: The p value: The p value at test = 25.989, df = 10; P value = 0.0038

The Decision Rule:

The Critical Value Method: If test is > critical, then Reject H0.

The p - value Method: If p value is < , Then Reject H0.

The Decision:  

The Critical Value Method: Since test (25.989) is > critical (18.307), We Reject H0.

The p - value Method: Since p value (0.0038) is < (0.05), We Reject H0.

The Conclusion: There is sufficient evidence at the 95% significance level to conclude that there is a difference in proportion of colors for the different flavors of M & M's.


Related Solutions

Researchers want to determine whether all bags of Skittles® have the same proportion of colors regardless...
Researchers want to determine whether all bags of Skittles® have the same proportion of colors regardless of the flavor of Skittles®. To test this, they randomly sampled king-size bags of each flavor and recorded their findings in the table. Below is a ctable Flavor Skittles® Color Red Orange Yellow Blue Green Original 15, 20, 18, 12, 16 Tropical 10, 7, 9 ,18 ,5 Wild Berry 16, 12, 13, 8, 10 Part A: What are the correct degrees of freedom for...
1. Suppose that M&M claims that their Plain M&Ms have an equal proportion of red and...
1. Suppose that M&M claims that their Plain M&Ms have an equal proportion of red and brown. a. Test the claim that the proportion of red M&Ms is greater than the proportion of brown M&Ms. b. Discuss your choice of ?. i. Why did you choose the ? you did? ii. If you had chosen a different ?, would it have affected your conclusion?
2. Use the following information for problems A-D. Researchers want to determine whether or not there...
2. Use the following information for problems A-D. Researchers want to determine whether or not there is a difference in systolic blood pressure based on how many hours a person exercises per week. They divide a sample of 72 people into 3 groups based on how many hours they exercise per week. Group 1 exercises less than 2 hours per week, Group 2 exercises between 2 and 5 hours per week, and Group 3 exercises more than 5 hours per...
I'm have trouble change JRadioButton and do not want to select all at the same time...
I'm have trouble change JRadioButton and do not want to select all at the same time just one at a time. if one of them is unselected, then set the font as plain. Set font size as 20. run the program and change the font and you see what I'm talking about also this there anyway to shorten my code import java.awt.BorderLayout; import java.awt.Color; import java.awt.Desktop; import java.awt.Font; import java.awt.event.*; import java.net.URL; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter;...
6. Researchers obtained a sample of 36 college students who all have the same history instructor...
6. Researchers obtained a sample of 36 college students who all have the same history instructor this semester. Half of the students were shown a 2-min video that claimed the purpose of education was to help students “learn how to learn” so that they can enjoy a lifetime of learning after college. The other half of students were shown a 2-min video that claimed the purpose of education was to teach facts to students. After watching the 2-min videos, the...
1. Researchers obtained a sample of 36 college students who all have the same history instructor...
1. Researchers obtained a sample of 36 college students who all have the same history instructor this semester. Half of the students were shown a 2-min video that claimed the purpose of education was to help students “learn how to learn” so that they can enjoy a lifetime of learning after college. other half of students were shown a 2-min video that claimed the purpose of education was to teach facts to students. After watching the 2-min videos, the students...
Let M 2,2 be the set of all 2x2 matrices determine whether the following subspaces. A)...
Let M 2,2 be the set of all 2x2 matrices determine whether the following subspaces. A) the set of all 2x2 diagnol matrices B) the set of all matrices with a12 entry C) the set of all 2x2 triangular matrices
Many researchers have tried to determine whether capital punishment deters murder. Suppose a new study has...
Many researchers have tried to determine whether capital punishment deters murder. Suppose a new study has been published analyzing how death-sentence rates in one year relate to murder rates the following year. The researchers who conducted this study included only the 32 states that authorize the death penalty, and excluded the remaining states. Do you think this is a justifiable approach to studying the possible deterrent effects of the death penalty? Would you trust the results of the analysis and...
Many researchers have tried to determine whether capital punishment deters murder. Suppose a new study has...
Many researchers have tried to determine whether capital punishment deters murder. Suppose a new study has been published analyzing how death-sentence rates in one year relate to murder rates the following year. The researchers who conducted this study included only the 32 states that authorize the death penalty, and excluded the remaining states. Do you think this is a justifiable approach to studying the possible deterrent effects of the death penalty? Would you trust the results of the analysis and...
10) Two coherent sources emit waves that have a wavelength of 0.44 m. Determine whether constructive...
10) Two coherent sources emit waves that have a wavelength of 0.44 m. Determine whether constructive or destructive interference occurs at a point whose distances from the two sources are as follows: (a) 1.32 and 3.08m; (b) 2.67 and 3.33m; (c) 2.20 and 3.74m; (d) 1.10 and 4.18m. The answers given are: 0.68 degrees, 1.4 degrees, 2.0 degrees If you could explain as you go through the problem that would be fantastic thank you.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT