Question

In: Math

Suppose that M&M claims that each bag of Peanut M&Ms should be 18 grams and Plain...

Suppose that M&M claims that each bag of Peanut M&Ms should be 18 grams and Plain M&Ms should be 13.5 grams.

a. Test the claim that M&M is shorting its customers in bags of Plain M&Ms.

b. Test the claim that M&M is overfilling Peanut bag bags of M&Ms.

c. 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?

Total Plain M&Ms: 665

Total Peanut M&Ms: 356

Sum Total Weight of All the Bags of Peanut M&Ms: 921 grams

(18g, 21g, 19g, 17g, 18g, 21g, 18g, 18g, 21g, 17g, 19g, 16g, 20g, 20g, 17g, 17g, 18g, 16g, 20g, 18g, 19g, 20g, 20g, 18g, 21g, 19g, 17g, 18g, 17g, 19g, 16g, 19g, 19g, 19g, 17g, 20g, 18g, 18g, 17g, 19g, 19g, 18g, 18g, 18g, 17g, 17g, 19g, 20g, 18g, 18g)

Sum Total Weight of All the Bags of Plain M&Ms: 601 grams

(13g, 13g, 12g, 14g, 14g, 14g, 13g, 13g, 12g, 12g, 13g, 13g, 13g, 14g, 13g, 14g, 12g, 11g, 12g, 12g, 13g, 10g, 15g, 14g, 16g, 14g, 15g, 13g, 12g, 13g, 14g, 13g, 13g, 13g, 11g, 12g, 12g, 14g, 13g, 13g, 14g, 14g, 12g, 13g, 13g, 15g)

Solutions

Expert Solution

a. Test the claim that M&M is shorting its customers in bags of Plain M&Ms.

> Plain=c(13,        13,     12,     14,     14,     14,     13,     13,     12,     12,     13,     13,     13,     14,     13,     14,     12,     11,     12,     12,     13,     10,     15,     14,     16,     14,     15,     13,     12,     13,     14,     13,     13,     13,     11,     12,     12,     14,     13,     13,     14,     14,     12,     13,     13,     15)
> t.test(Plain,alternative="less",mu=13.5,conf.level = 0.95)

        One Sample t-test

data:  Plain
t = -2.5796, df = 45, p-value = 0.006614
alternative hypothesis: true mean is less than 13.5
95 percent confidence interval:
     -Inf 13.34828
sample estimates:
mean of x 
 13.06522 

The one-sided 95% confidence interval tells that M&M is shorting its customers in bags of Plain M&Ms.

b. Test the claim that M&M is overfilling Peanut bag bags of M&Ms.

> Peanut=c(18,       21,     19,     17,     18,     21,     18,     18,     21,     17,     19,     16,     20,     20,     17,     17,     18,     16,     20,     18,     19,     20,     20,     18,     21,     19,     17,     18,     17,     19,     16,     19,     19,     19,     17,     20,     18,     18,     17,     19,     19,     18,     18,     18,     17,     17,     19,     20,     18,     18)
> t.test(Peanut,alternative="greater",mu=18,conf.level = 0.95)

        One Sample t-test

data:  Peanut
t = 2.2138, df = 49, p-value = 0.01576
alternative hypothesis: true mean is greater than 18
95 percent confidence interval:
 18.10193      Inf
sample estimates:
mean of x 
    18.42 

The one-sided 95% confidence interval tells that M&M is overfilling Peanut bag bags of M&Ms of 18g.

c. Discuss your choice of ?.

i) level of significance choice is 5%. Reducing the alpha level from 0.05 to 0.01 reduces the chance of a false positive (called a Type I error) but it also makes it harder to detect differences with a t-test. in this case us ?.=0.05.

ii)

> Plain=c(13,        13,     12,     14,     14,     14,     13,     13,     12,     12,     13,     13,     13,     14,     13,     14,     12,     11,     12,     12,     13,     10,     15,     14,     16,     14,     15,     13,     12,     13,     14,     13,     13,     13,     11,     12,     12,     14,     13,     13,     14,     14,     12,     13,     13,     15)
> t.test(Plain,alternative="less",mu=13.5,conf.level = 0.99)

        One Sample t-test

data:  Plain
t = -2.5796, df = 45, p-value = 0.006614
alternative hypothesis: true mean is less than 13.5
99 percent confidence interval:
     -Inf 13.47177
sample estimates:
mean of x 
 13.06522 

> Peanut=c(18,       21,     19,     17,     18,     21,     18,     18,     21,     17,     19,     16,     20,     20,     17,     17,     18,     16,     20,     18,     19,     20,     20,     18,     21,     19,     17,     18,     17,     19,     16,     19,     19,     19,     17,     20,     18,     18,     17,     19,     19,     18,     18,     18,     17,     17,     19,     20,     18,     18)
> t.test(Peanut,alternative="greater",mu=18,conf.level = 0.99)

        One Sample t-test

data:  Peanut
t = 2.2138, df = 49, p-value = 0.01576
alternative hypothesis: true mean is greater than 18
99 percent confidence interval:
 17.96376      Inf
sample estimates:
mean of x 
    18.42 

If we choose different ? at 1% then the conclusion should be same.


Related Solutions

According to the manufacturer of M&Ms, 13% of the plain M&Ms in a bag should be...
According to the manufacturer of M&Ms, 13% of the plain M&Ms in a bag should be brown, 14% should be yellow, 13% should be red, 24% should be blue, 20% should be orange, and 16% should be green. A student randomly selected a bag of plain M&Ms. he counted the number of M&Ms that were each color and obtained the results shown in the table. Test whether plain M&Ms follow the distribution stated by M&M at the level of significance=0.05....
**Assume that both Plain and Peanut M&M candies are normally distributed. 1. Suppose that M&M claims...
**Assume that both Plain and Peanut M&M candies are normally distributed. 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. Test the claim that the proportion of red M&Ms is less than the proportion of brown M&Ms. Total number of M&M's: 665 Total number of red M&M's: 76 Total number of brown M&M's:...
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?
The company that makes M&Ms claims that the 6 colors are evenly distributed in each bag....
The company that makes M&Ms claims that the 6 colors are evenly distributed in each bag. Conduct a goodness of fit test to determine whether this claim is true or not. Choose two alpha values (level of significance.) Colors of M&Ms: Blue, Green, Yellow, Brown, Red, Orange . Total=6 Observed Frequency: Blue=7, Green=7, Yellow=3, Brown=2, Red=4, Orange=2 Total=25 A) State the null hypothesis B) what is expected frequency what is (O-E)^2/E C)Using the x^2 distribution table, find the critical value...
The company that makes M&Ms claims that the 6 colors are evenly distributed in each bag....
The company that makes M&Ms claims that the 6 colors are evenly distributed in each bag. Conduct a goodness of fit test to determine whether this claim is true or not. Choose two alpha values (level of significance.) Colors of M&Ms: Blue, Green, Yellow, Brown, Red, Orange . Total=6 Observed Frequency: Blue=7, Green=7, Yellow=3, Brown=2, Red=4, Orange=2 Total=25 A) State the null hypothesis B) what is expected frequency what is (O-E)^2/E C)Using the x^2 distribution table, find the critical value...
Suppose you have a bag of M&Ms with 19 M&Ms. Suppose 4 of them are red,...
Suppose you have a bag of M&Ms with 19 M&Ms. Suppose 4 of them are red, 3 are green, and 12 are yellow. (a) If one M&M is chosen at random from the bag, find the probability that it is yellow. (b) If one M&M is chosen at random from the bag, and eaten, and then a second M&M is chosen at random from the bag, find the probability that they are both red.
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...
Q.N. 7) According to the manufacturer of M& Ms, 12% of the peanut M&Ms in a...
Q.N. 7) According to the manufacturer of M& Ms, 12% of the peanut M&Ms in a bag should be brown, 15% yellow, 12% red, 23% blue, 23% orange, and 15% green. A student randomly selected a bag of peanut M&Ms. He counted the number of M&Ms that were each color and obtained the results shown in the table below. Test whether peanut M&Ms follow the distribution stated by M&M/Mars at the α = 0.05 level of significance. Color Frequency Brown...
Plain M&M: 15,14,15,15,14,16,15,14,15,16,16,14,15,14,15,15,14,17,17,15,15,17,14,16,14,16,17,13,16,16, 15, 17,6,14,16,15,13,15,17,15,17,14,15,14,16,14 Peanut Butter: 8,6,8,7,8,8,8,7,3,7,10,7,7,6,8,7,8,7,7,7,8,8,8,7,9,7,8,8,7,8,8,8,6,7,8,8,8,7,6,7,7,8,8
Plain M&M: 15,14,15,15,14,16,15,14,15,16,16,14,15,14,15,15,14,17,17,15,15,17,14,16,14,16,17,13,16,16, 15, 17,6,14,16,15,13,15,17,15,17,14,15,14,16,14 Peanut Butter: 8,6,8,7,8,8,8,7,3,7,10,7,7,6,8,7,8,7,7,7,8,8,8,7,9,7,8,8,7,8,8,8,6,7,8,8,8,7,6,7,7,8,8,8,14,8,8,7,6 Skittles: 15,14,15,14,14,15,15,14,15,15,14,15,15,15,14,15,20,15,15,15,14,14,15,15,15,16,12,15,15,14, 14,15,14,15,14,14,14,13,16 **Assume that both Plain and Peanut M&M candies, and Skittles are normally distributed. 2. Suppose that M&M claims that each bag of Peanut M&Ms should be 18 grams and Plain M&Ms should be 13.5 grams. Suppose that Skittles claims that each bag contains 16 grams. a. Test the claim that M&M is shorting its customers in servings of Peanut M&Ms. b. Test the claim that M&M is overfilling Plain...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT