An Algorithm that generates the unconditional exact permutation distribution of a 2 x n experiment is presented. The algorithm is able to handle ranks as well as actual observations. It makes it possible to obtain exact p-values for several statistics, especially when sample sizes are small and the application of large sample approximation is unreliable. An illustrative implementation is achieved and leads to the computation of exact p-values for the Mood test when the sample size is small.
Odiase, Justice I. and Ogbonmwan, Sunday M.
"An Algorithm For Generating Unconditional Exact Permutation Distribution For A Two-Sample Experiment,"
Journal of Modern Applied Statistical Methods:
1, Article 29.
Available at: http://digitalcommons.wayne.edu/jmasm/vol4/iss1/29