Skip to content
Prev 385515 / 398503 Next

Can I use "mcnemar.test" for 3*3 tables (or is there a bug in the command?)

Um, that was on July 19, 2009.....
The exact test for the 2x2 case is isomorphic to a binomial test of the two off-diagonal elements (conditioning on the sum).

The natural way of constructing a test for the k x k case would be based on the Cartesian product of k(k-1)/2 binomials with p=.5, (one for each i,j-combination). This shouldn't be too hard if k is small, but of course it explodes combinatorially as k increases.

-pd