Under the null hypothesis the three outcome probabilities are the same in the two independent samples. The pooled row totals are , and both column totals are , out of a total of . Thus the expected counts in each column are . These exceed the usual small-count threshold for the asymptotic Pearson chi-squared test of homogeneity.
The Pearson chi-squared statistic for contingency tables is
Under the null, its asymptotic chi-squared distribution has degrees of freedom. Equivalently, the two independent three-category samples have four probability parameters unrestricted and two under the common-probability null. The upper-tail critical value is .
Since , do not reject the equal-effect hypothesis at the 1% level. For two degrees of freedom, the approximate p-value is , just above . This is a decision at the specified significance level, not evidence that the two outcome distributions have been proved identical.

Articles by others on the same topic (0)

There are currently no matching articles.