Question

In: Statistics and Probability

**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: 66

Solutions

Expert Solution

Clearly , it is proportion test .

a.

let's assume that P1 is the proportion of red M&Ms and P2 is the proportion of brown M&Ms .

Hypothesis :

Null hypothesis :

Alternative hypothesis :

Here,

sample size = n = 665

Let ,

Sample proportion of Red M&Ms =

Where ,

  number of red M&Ms in the sample .

also

Sample proportion of Brown M&Ms =

Now we use r-software for testing the hypothesis :

Take level of Significance = 5% = 0.05

> x=c(76,66)
> n=c(665,665)
> prop.test(x,n,conf.level=0.95,alternative="greater")

   2-sample test for equality of proportions with continuity correction

data: x out of n
X-squared = 0.6386, df = 1, p-value = 0.2121
alternative hypothesis: greater
95 percent confidence interval:
-0.01431477 1.00000000
sample estimates:
prop 1 prop 2
0.11428571 0.09924812


Here ,

Decision rule :

if p-value is less than level of significance then we reject null hypothesis otherwise accept null hypothesis .

Here ,

p-value = 0.2121

level of significance = 0.05

since 0.2121>0.05

we can say that , we cannot reject

Therefore , is accepted .

Therefore , Proportion of red M&Ms and brown M&Ms is same .

b.

let's assume that P1 is the proportion of red M&Ms and P2 is the proportion of brown M&Ms .

Hypothesis :

Null hypothesis :

Alternative hypothesis :

Here,

sample size = n = 665

Let ,

Sample proportion of Red M&Ms =

Where ,

  number of red M&Ms in the sample .

also

Sample proportion of Brown M&Ms =

Now we use r-software for testing the hypothesis :

Take level of Significance = 5% = 0.05

> x=c(76,66)
> n=c(665,665)
> prop.test(x,n,conf.level=0.95,alternative="less")

   2-sample test for equality of proportions with continuity correction

data: x out of n
X-squared = 0.6386, df = 1, p-value = 0.7879
alternative hypothesis: less
95 percent confidence interval:
-1.00000000 0.04438996
sample estimates:
prop 1 prop 2
0.11428571 0.09924812

Here ,

Decision rule :

if p-value is less than level of significance then we reject null hypothesis otherwise accept null hypothesis .

Here ,

p-value = 0.7879

level of significance = 0.05

since 0.7879>0.05

we can say that , we cannot reject

Therefore , is accepted .

Therefore , Proportion of red M&Ms and brown M&Ms is same .


Related Solutions

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...
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...
Mars Inc., makers of M & M's candies, claims that they produce plain M & M's...
Mars Inc., makers of M & M's candies, claims that they produce plain M & M's with the following distribution Brown: 30% Red: 20% Yellow: 20% Orange: 10% Green: 1096 Blue: 10% A bag of plain M & M's was randomly selected trom the grocery store shelf, and the color counted were as follows Brown: 16 Red: 11Yellow: 19 Orange: 5 Green: 7 Blue: 3 How many total M & Ms were in this sample (This is your n)? What...
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 number of M&M's in a package normally distributed with a mean of 48 candies and...
The number of M&M's in a package normally distributed with a mean of 48 candies and a standard deviation of 3. Lets say that we get 40 packages of M&M's. What is the probability that the average number of candies in those 40 packages is between 46 and 49? 0.49999 0.9825 0.3781 0.96499
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...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties?...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties? A random sample of 53 plain M&M'S contained 11 red candies, and another random sample of 33peanut M&M'S contained 7 red candies. (Use p1 for the proportion of red candies in plain M&M'S and p2 for the proportion of red candies in peanut M&M'S.) (a) Construct a 95% confidence interval for the difference in the proportions of red candies for the plain and peanut...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties?...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties? A random sample of 60 plain M&M'S contained 15 red candies, and another random sample of 38 peanut M&M'S contained 9 red candies. (Use p1 for the proportion of red candies in plain M&M'S and p2 for the proportion of red candies in peanut M&M'S.) (a) Construct a 95% confidence interval for the difference in the proportions of red candies for the plain and...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties?...
Does Mars, Incorporated use the same proportion of red candies in its plain and peanut varieties? A random sample of 59 plain M&M'S contained 13 red candies, and another random sample of 31 peanut M&M'S contained 9 red candies. (Use p1 for the proportion of red candies in plain M&M'S and p2 for the proportion of red candies in peanut M&M'S.) (a) Construct a 95% confidence interval for the difference in the proportions of red candies for the plain and...
Does Mars, Incorporated use the same percentage of red candies in its plain and peanut varieties?...
Does Mars, Incorporated use the same percentage of red candies in its plain and peanut varieties? A random sample of 200 plain M & Ms contained 42 red candies and a random sample of 240 peanut M & Ms contained 68 red candies. Assume that the samples are independent. 1. Construct and interpret a 95% confidence interval for the difference between the parameters of interest. 2. Do the data indicate a difference in the percentage of red candies for plain...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT