Under the null hypothesis the three preference probabilities for girls are each . Conditional on their total of sixty, the counts have a multinomial distribution, giving expected counts . The Pearson chi-squared goodness-of-fit test statistic is
No probabilities have been fitted, so the asymptotic null distribution is chi-squared distribution with degrees of freedom. All expected counts are comfortably large for this approximation. For two degrees of freedom its upper-tail probability is , so
At the conventional five-percent or one-percent significance level, reject equal attractiveness: there is substantial evidence against the null distribution. No level was specified, so reporting the p-value makes the decision rule explicit. The test assumes independent responses and a sampling interpretation appropriate to the children surveyed.
Use the Pearson chi-squared test of homogeneity for two multinomial samples. Under equal preference distributions, estimate the common probabilities from pooled counts, giving . With row totals forty and sixty, the expected table is
The Pearson chi-squared statistic for contingency tables is
There are degrees of freedom, after fitting the common category probabilities. All expected counts exceed five. Thus
At five percent, do not reject the common preference distribution. These data are consistent with that hypothesis; failure to reject does not prove equality. This conclusion differs from part a because a common nonuniform distribution, especially an overall preference for chocolate, is allowed here.

Articles by others on the same topic (0)

There are currently no matching articles.