Skip to content
Prev 133772 / 398498 Next

Randomization tests, grouped data

Tom Backer Johnsen <backer at psych.uib.no> [Fri, Jan 11, 2008 at 06:57:41PM CET]:
[...]
Have you considered the coin package?
I am not quite clear in my thinking anymore, but there are 2^2n 
permutations, of which (2n choose n) happen to yield the same 
effect. These cases are "part of life" and should be counted in
the permutation test just as well. You might save a little bit of
computation time by singling these group-preserving permutations
out, but this is not worth the while at all.