Question

In: Statistics and Probability

Chocolates N&N come in 3 colors: blue, red and yellow. A chocolate bag should, on average,...

Chocolates N&N come in 3 colors: blue, red and yellow. A chocolate bag should, on average, be filled with 40% of blue, 40% of red and 20% of yellow. The supervisor test the machine by taking a sample of bags. He counts 85 blue, 106 red, and 43 yellow in this sample. α = 0.05

a) What are the null and alternative hypothesis? Define any necessary variables.

b) What is the test statistic?

c) What is the critical value or p-value (use whichever approach you prefer)?

d) Do you reject or fail to reject the null hypothesis? Explain your reasoning.

e) Should the supervisor report that the machine is malfunctioning?

Solutions

Expert Solution

a) As we are testing here whether the sample gives the same proportion as expected, the null and the alternative hypothesis here are given as:

H0: The distribution is same as the expected ratios given

Ha: The distribution is different from the expected ratios given

b) The expected frequency for each colour is computed here as:
Ei = pi*Total Frequency

E(blue) = 0.4*(85 + 106 + 43) = 0.4*234 = 93.6
E(red) = 0.4*234 = 93.6
E(yellow) = 0.2*234 = 46.8

Now the chi square test statistic here is computed as:

This is the required test statistic value here.

c) For n - 1 = 2 degrees of freedom, the p-value here is computed from the chi square distribution tables as:

therefore 0.25392 is the p-value here.

d) As the p-value here is 0.25392 > 0.05 which is the level of significance, therefore test is significant and we reject the null hypothesis here.

e) As there is no significant difference in the distribution of colours, therefore there is insufficient evidence here for the supervisor to report that the machine is malfunctioning


Related Solutions

Milk Chocolate M&M’s come in 6 colors; blue, orange, green, yellow, red, and brown. 1. Choose...
Milk Chocolate M&M’s come in 6 colors; blue, orange, green, yellow, red, and brown. 1. Choose your favorite color of M&M’s you will be working with for this project. State the color and give the counts below. Color of choice: Number of M&M's in your color: Total number of M&M's: Proportion of M&M's in your color: 2. Construct a 95% confidence interval for the proportion of M&M’s one can expect to find in the color of your choice. 3. Give...
Twelve chairs are to be painted. The available colors are Red, Blue, Green, and Yellow, and...
Twelve chairs are to be painted. The available colors are Red, Blue, Green, and Yellow, and every chair must be painted with one color. Assuming that all coloring schemes are equally likely, what is the probability that one color is not used and there are at least two chairs of every other color ? (The answer is 0.25) Can anyone explain to me why ?
What is the probability of drawing, in order, 2 red, 1 blue, and 2 yellow marbles if a bag contains 4 yellow, 5 red, and 6 blue marbles?
What is the probability of drawing, in order, 2 red, 1 blue, and 2 yellow marbles if a bag contains 4 yellow, 5 red, and 6 blue marbles?
5. A bag contains 8 red orbs, 3 yellow orbs and 6 blue orbs. Five orbs...
5. A bag contains 8 red orbs, 3 yellow orbs and 6 blue orbs. Five orbs are chosen at random, without replacement. (a) What is the probability of choosing 3 red orbs and 2 yellow orbs? (b) What is the probability of choosing 1 red orb, 2 yellow orbs and 2 blue orbs? (c) What is the probability of choosing all blue orbs? (d) What is the probability of choosing at least one blue orb?
A manufacturer of colored candies states that 13​%of the candies in a bag should be​ brown,14​%​yellow,13​%​red,24​%​blue,20​%...
A manufacturer of colored candies states that 13​%of the candies in a bag should be​ brown,14​%​yellow,13​%​red,24​%​blue,20​% ​orange, and16% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha equalsα=0.05 level of significance. Colored Candies in a bag Color Brown Yellow Red Blue Orange Green Frequency 61 67 57...
We have a bag that contains n red balls and n blue balls. At each of...
We have a bag that contains n red balls and n blue balls. At each of 2n rounds we remove one of the balls from the bag randomly, and place it in one of available n bins. At each round, each one of the balls that remain in the bag is equally likely to be picked, as is each of the bins, independent of the results of previous rounds. Let Nk be the number of balls in the k-th bin...
The distribution of M&M colors is 24% blue, 20% orange, 16% green, 14% yellow, 13% red,...
The distribution of M&M colors is 24% blue, 20% orange, 16% green, 14% yellow, 13% red, and 13% brown. You have a small bag of M&M's and count the colors. Your bag has 9 blue, 9 orange, 4 green, 12 yellow, 3 red, and 6 brown M&M's. Before you begin, how many M&M's do you need in your sample (minimum) to be able to do this test? Remember, your assumption for chi-square is that every expected frequency has at least...
1) Consider 3 bags of colored balls. Bag A contains a blue, a yellow and a...
1) Consider 3 bags of colored balls. Bag A contains a blue, a yellow and a green ball. Bag B contains a cyan and a magenta ball. Lastly, bag C contains a red, a black, a white and a grey ball. If you decide to grab 1 ball from bag A, 1 ball from bag B and 2 balls from bag C, how many ways can you obtain 4 colored balls? Note that none of the colors mentioned are the...
A bag contains n blue and m red marbles. You randomly pick a marble from the...
A bag contains n blue and m red marbles. You randomly pick a marble from the bag, write down its color, and then put the marble back in the bag. This process is repeated until you pick either two consecutive blue or two consecutive red marbles. Given that the process stopped because you picked two consecutive blue marbles, what is the probability that the first marble you picked was blue? Please note that the question asks you to derive the...
Bag Blue Orange Green Yellow Red Brown Total Number of Candies 1 9 13 14 10...
Bag Blue Orange Green Yellow Red Brown Total Number of Candies 1 9 13 14 10 7 7 60 2 13 10 6 9 9 8 55 3 13 12 4 10 9 6 54 4 16 13 8 6 6 8 57 5 10 10 12 5 15 4 56 6 9 18 3 6 12 12 60 7 11 13 6 15 8 6 59 8 12 18 5 9 6 5 55 9 12 10 8 15...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT