- (mann-whitney-u-test xs ys #:tails)procedure
The Mann-Whitney U test (Wilcoxon rank-sum test): do the values of xs tend to be larger or smaller than those of ys? Returns two values: U, the number of pairs with x > y plus half the number of ties, and the significance p. The significance uses the normal approximation with a correction for ties and a continuity correction, reliable from about ten values per sample. #:tails is ':both (the default), ':positive (xs larger) or ':negative (xs smaller).
> (mann-whitney-u-test '(3 5 7 9) '(1 2 4 6 8)) 14 0.391267279282639