A Statistical Test used to determine if there are nonrandom associations between two Categorical
Variables. Let there exist two such variables and , with and observed states,
respectively. Now form an Matrix in which the entries represent the number of observations in
which and . Calculate the row and column sums and , respectively, and the total sum
The test is most commonly applied to a Matrices, and is computationally unwieldy for large or .
For an example application of the test, let be a journal, say either Mathematics Magazine or Science, and
let be the number of articles on the topics of mathematics and biology appearing in a given issue of one of these
journals. If Mathematics Magazine has five articles on math and one on biology, and Science has none on math
and four on biology, then the relevant matrix would be
© 1996-9 Eric W. Weisstein