Q. 2.2

Question

Let’s continue our analysis of Joey’s sample of M&M’S Peanut Chocolate Candies from the previous Check Your Understanding (page 681).

23% each of blue and orange, 15% each of green and yellow, and 12% each of red and brown. Joey bought a bag of Peanut Chocolate Candies and counted the colors of the candies in his sample: 12 blue, 7 orange, 13 green, 4 yellow, 8 red, and 2 brown. 

2. Sketch a graph like Figure 11.4 that shows the P-value.

Step-by-Step Solution

Verified
Answer

The p-value can be visualized (area shaded in blue) as follows:


1Given

23% each of blue and orange, 15% each of green and yellow, and 12% each of red and brown. Joey bought a bag of Peanut Chocolate Candies and counted the colors of the candies in his sample: 12 blue, 7 orange, 13 green, 4 yellow, 8 red, and 2 brown.  

2Formulation

In order to calculate the p value we need to calculate the chi-square statistics.

The formula for chi-square statistics is:

𝓧2=iOi-Ei2Ei


Upon putting the value in above formula and simplifying we get,

𝓧2=11.1516

3The p-value

The p-value is depicted in the following figure (shaded in light blue) as follows: