Model the two samples as independent multinomial counts with fixed row totals and three category probabilities. The null hypothesis is for every category . Up to combinatorial factors the likelihood is . Without the null restriction its maximizers are ; under the null, maximizing subject to gives
The observed column totals are , giving fitted expected counts in each row.
To derive the null distribution, put . Under the null its mean is zero and covariance is . The multivariate central limit theorem gives, asymptotically, the standardized contrast a centered normal distribution with covariance
This is the orthogonal projection onto a two-dimensional plane. In an orthonormal basis of that plane, the two nonzero coordinates are independent standard normal variables, so tends to . The pooled estimates are consistent; substituting them for leaves this limit unchanged by Slutsky's theorem. Since and , the resulting statistic is precisely the Pearson chi-squared test of homogeneity statistic
This supplies the two degrees of freedom rather than treating all six cells as independent. Every fitted expected count is large, supporting the approximation.
For these data,
It exceeds the two-degree-of-freedom 95th percentile , but not the 99th percentile . Hence reject equal score distributions at the 5% level, but not at the 1% level. The asymptotic p-value is .

Articles by others on the same topic (0)

There are currently no matching articles.