A company says its premium mixture of nuts contains 13​% Brazil​ nuts, 19​% ​cashews, 17​% ​almonds, and 8​% ​hazelnuts, and the rest are peanuts. You buy a large can and separate the various kinds of nuts. Upon weighing​ them, you find there are 111 grams of Brazil​ nuts, 183 grams of​ cashews, 209 grams of​ almonds, 79 grams of​ hazelnuts, and 437 grams of peanuts. You wonder whether your mix is significantly different from what the company advertises.
a) Explain why the chi-square goodness-of-fit test is not an appropriate way to find out.
b) What might you do instead of weighing the nuts in order to use a
X2
test?