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.