Question

In: Statistics and Probability

A candy company says that the colors of its candies are 15​% ​yellow, 14​% ​red, 19​%...

A candy company says that the colors of its candies are 15​% ​yellow, 14​% ​red, 19​% ​orange, 25​% ​blue, 15​% green and 12​% brown. In a randomly selected bag of the​ candies, there were 26 ​yellow, 24 ​red, 11 ​orange, 10 ​blue, 10 ​green, 20 brown. Is this sample consistent with the​ company's advertised​ proportions? Test an appropriate hypothesis and state your conclusion. Complete parts a through g below. Fill in blanks

​a) If the​ company's candies are packaged in the advertised​ proportions, how many of each color should have been expected in the bag of​ candies?

(blank)

Yellow

(blank)

Red

(blank)

Orange

(blank)

Blue

(blank)

Green

(blank)

Brown

​(Type integers or decimals rounded to two decimal places as​ needed.)

b) To see if the bag was​ unusual, should the test be for​ goodness-of-fit, homogeneity, or​ independence?

Choose the correct answer below.

A. Goodness-of-fit

B. Homogeneity

C. Independence

c) State the hypothesis

d) Check the conditions.

Select all assumptions and conditions below that are satisfied by the data.

A. Expected cell frequency condition

B. Counted data condition

C. Independence assumption

D. Randomization condition

​e) How many degrees of freedom are​ there?

There are (blank) degrees of freedom. ​(Simplify your​ answer.)

​f) Find chi squaredχ2 and the​ P-value.

chi squaredχ2 =

​(Round to four decimal places as​ needed.)

P=

​(Round to four decimal places as​ needed.)

​g) State a conclusion. Assume that 0.05 is a reasonable significance level.

(blank) the hypothesis. There is (blank) evidence that the distribution of colors is not the distribution specified by the company.

Solutions

Expert Solution

a)since expected frequency =Np

Category Yellow red Orange Blue Green Brown
Expected 15.15 14.14 19.19 25.25 15.15 12.12

b)
A. Goodness-of-fit

c)

All are satisfied

e)

degree of freedom =categories-1= 5

f)

applying chi square goodness of fit test:
           relative observed Expected residual Chi square
Category frequency(p) Oi Ei=total*p R2i=(Oi-Ei)/√Ei R2i=(Oi-Ei)2/Ei
Yellow 0.1500 26 15.15 2.7876 7.7705
red 0.1400 24 14.14 2.6221 6.8755
Orange 0.1900 11 19.19 -1.8696 3.4954
Blue 0.2500 10 25.25 -3.0349 9.2104
Green 0.1500 10 15.15 -1.3231 1.7507
Brown 0.1200 20 12.12 2.2635 5.1233
total 1.00 101 101 34.2257
test statistic X2= 34.2257
p value = 0.0000 from excel: chidist(34.226,5)

reject the null hypothesis

There is sufficient evidence that the distribution of colors is not the distribution specified by the company.


Related Solutions

15. A candy company makes five different colors of candies. Find the sample proportion of candies...
15. A candy company makes five different colors of candies. Find the sample proportion of candies that are green. Use that result to test the claim that 15​% of the​ company's candies are green. Use the data in the table​ below, the​ P-value method, and a significance level of 0.025. What are the null and alternative​ hypotheses? A. H 0 : p ≠ 0.15 H 1 : p = 0.15 B.H 0 : p > 0.15 H 1 : p...
A candy company claims that their packages typically have 50 red candies, 40 yellow candies, 25...
A candy company claims that their packages typically have 50 red candies, 40 yellow candies, 25 blue candies, 25 brown candies, and 10 orange candies. A study looked at a package, where it was found that the average package has 48 red candies, 42 yellow candies, 20 blue candies, 26 brown candies, and 14 brown candies. Do these observations contradict the company’s claim? Use a significant level of 0.05.
For a certain​ candy, 15​% of the pieces are​ yellow, 10​% are​ red, 15​% are​ blue,...
For a certain​ candy, 15​% of the pieces are​ yellow, 10​% are​ red, 15​% are​ blue, 20​% are​ green, and the rest are brown. ​a) If you pick a piece at​ random, what is the probability that it is​ brown? it is yellow or​ blue? it is not​ green? it is​ striped? ​b) Assume you have an infinite supply of these candy pieces from which to draw. If you pick three pieces in a​ row, what is the probability that...
For a certain​ candy,15​% of the pieces are​ yellow, 15​% are​ red, 10​% are​ blue,15​% are​...
For a certain​ candy,15​% of the pieces are​ yellow, 15​% are​ red, 10​% are​ blue,15​% are​ green, and the rest are brown. ​a) If you pick a piece at​ random, what is the probability that it is​ brown? it is yellow or​ blue? it is not​ green? it is​ striped? ​b) Assume you have an infinite supply of these candy pieces from which to draw. If you pick three pieces in a​ row, what is the probability that they are...
The Masterfoods Company says that yellow candies make up 20% of their plain M&M’s, red another...
The Masterfoods Company says that yellow candies make up 20% of their plain M&M’s, red another 20%, and orange, blue, and green each make up 10%. The rest are brown. a. If you randomly pick two M&M’s, what’s the probability that they are both brown? Round to TWO digits beyond the decimal. b. If you randomly pick two M&M’s, what’s the probability that exactly one of the two is yellow? Round to TWO digits beyond the decimal. c. If you...
For a certain candy, 15% of the pieces are yellow, 20% are red, 20% are blue,...
For a certain candy, 15% of the pieces are yellow, 20% are red, 20% are blue, 5% are green, and the rest are brown. a) If you pick a piece at random, what is the probability that it is​ brown? it is yellow or​ blue? it is not​ green? it is​ striped? b) Assume you have an infinite supply of these candy pieces from which to draw. If you pick three pieces in a​ row, what is the probability that...
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...
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...
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...
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