I'm attempting to perform the nonparametric Kruskal-Wallis test (kruskalwallis() function) on 3 sets of data generated from 3 different testing conditions. In the past, I've successfully performed this test on large data sets from a different project (with 100+ members in each set). Currently, each of my sets only has 3 to 5 values. (I'm always comparing sets of equal size.)
The problem: despite my use of previous code that successfully performed Kruskal-Wallis analysis on larger data sets, when I try to perform the same analysis on my current, much smaller data sets, I'm receiving error messages. I'm wondering: is there a minimum set size required to perform Kruskal-Wallis analysis?
Note: Intervals can be used for testing but are not simultaneous confidence intervals. ??? Subscripted assignment dimension mismatch.
Error in ==> multcompare>makeM at 564 MM(:,2) = sqrt(diag(gcov));
Error in ==> multcompare at 475 [M,MM,hh] = makeM(gmeans, gcov, crit, gnames, mname, dodisp);
Since collecting this particular data is time-consuming, it would be good to be able to get an idea about approximately how large my data sets will need to be in order for this type of analysis to work (as it *is* possible for me to collect more, if necessary); otherwise, I should consider other forms of statistical analysis.