Jf. Hilton et Cr. Mehta, POWER AND SAMPLE-SIZE CALCULATIONS FOR EXACT CONDITIONAL TESTS WITH ORDERED CATEGORICAL-DATA, Biometrics, 49(2), 1993, pp. 609-616
We develop an algorithm for computing sample sizes, equal or unequal,
for categorical data. We illustrate its use in the two-sample setting
using the Wilcoxon rank-sum statistic, but the algorithm accommodates
the entire class of linear rank statistics and can be extended to incl
ude nonlinear rank statistics as well. The sample size determinations
can be based on either exact power or on a very precise Monte Carlo es
timate of it. To reduce the computations further, power can be compute
d as a function of asymptotic critical values when the number of categ
ories is not too small. For the Wilcoxon statistic we show that this a
pproximation works well if there are more than five response categorie
s.