Use the following prompt to answer the next 6 questions. Suppose we want to test the color distribution claim on the M&M’s website that a bag of plain M&M’s is made up of 10% blue, 10% orange, 10% green, 20% red, 20% yellow, and 30% brown. We select a sample of 400 plain M&M’s and found the following: Color Blue Orange Green Red Yellow Brown Frequency 30 48 55 66 70 131 Is there evidence to doubt the color distribution claimed by the website? Use ????=0.05

Respuesta :

Answer:

The claim on the M&M’s website is not true.

Step-by-step explanation:

A Chi-square test for goodness of fit will be used in this case.

The hypothesis can be defined as:

H₀: The observed frequencies are same as the expected frequencies.

Hₐ: The observed frequencies are not same as the expected frequencies.

The test statistic is given as follows:

[tex]\chi^{2}=\sum\limits^{n}_{i=1}{\frac{(O_{i}-E_{i})^{2}}{E_{i}}}[/tex]

Here,

[tex]O_{i}[/tex] = Observed frequencies

[tex]E_{i}=N\times p_{i}[/tex] = Expected frequency.

The chi-square test statistic value is, 14.433.

The degrees of freedom is:

df = k - 1 = 6 - 1 = 5

Compute the p-value as follows:

[tex]p-value=P(\chi^{2}_{k-1} >14.433) =P(\chi^{2}_{5} >14.433) =0.013[/tex]

*Use a Chi-square table.

The significance level is, α = 0.05.

p-value = 0.013 < α = 0.05.

So, the null hypothesis will be rejected at 5% significance level.

Thus, concluding that the claim on the M&M’s website is not true.

Ver imagen warylucknow