Let the result of a random experiment be classified as one of the mutually exclusive and exhaustive ways A1, A2, A3 and also one of the mutually exclusive and exhaustive ways B1, B2, B3, B4. 200 independent trials of the experiment result in the following data:
B1 B2 B3 B4
A1 10 21 15 6
A2 11 27 21 13
A3 6 19 27 24
Test at 0.05 significance level the hypothesis of independence. Null hypothesis
against the alternate hypothesis (dependence exists)
Would the test statistic be:
where Cj = the sum of column j, and Ri = sum of row i
so for
and so forth?