Hi, I just uploaded the package exactDistr to the CRAN devel section (Fritz will add it tomorrow, I think). ExactDistr implements the Streitberg/Roehmel shift-algorithm for the exact distributions of permutation- and rank tests. This is done in R (just a few lines of code) and is IMO fast enough for m,n < 50. I added the usual [dpq]perm functions and an example how to track the exact distribution of the Wilcoxon-Mann-Whitney test (especially with ties). I would like to ask the experts to have a look at this algorithm, maybe we can add exact p-values etc. to the rank tests in R without adapting the network algorithm this way. The weather is beautiful here, so I will stop hacking right now. If it is raining somewhere: http://www.bioinf.uni-hannover.de/~torsten/exactDistr_0.1-2.tar.gz Torsten _______________________________________________________________________ | | | Dipl.-Stat. Torsten Hothorn | | Institut fuer Medizininformatik, Biometrie und Epidemiologie | | Waldstrasse 6, D-91054 Erlangen, Deutschland | | Tel: ++49-9131-85-22707 | | Fax: ++49-9131-85-25740 | | Email: Torsten.Hothorn@rzmail.uni-erlangen.de | |_______________________________________________________________________| -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._