G
Guest
Hi,
Is there a method to calculate a Wilcoxon Rank Sum Test in Excel?
Is there a method to calculate a Wilcoxon Rank Sum Test in Excel?
Is there a method to calculate a Wilcoxon Rank Sum Test in
Excel?
[RLL wrote...
Is there a method to calculate a Wilcoxon Rank Sum Test in
Excel?
No, but you can use an array formula to calculate the test statistic.
If you have your two samples in ranged named SampleA and SampleB with
SampleA the smaller of the two, try the array formula
=SUM(LOOKUP(SampleA,SMALL((SampleA,SampleB),
ROW(INDIRECT("1:"&COUNT((SampleA,SampleB))))),
(RANK(SMALL((SampleA,SampleB),ROW(INDIRECT("1:"
&COUNT((SampleA,SampleB))))),(SampleA,SampleB),1)
+COUNT((SampleA,SampleB),1)-RANK(SMALL((SampleA,SampleB),
ROW(INDIRECT("1:"&COUNT((SampleA,SampleB))))),
(SampleA,SampleB),0))/2))
...Assumes that there are no ties in the data. Excel's RANK()
function assigns the lowest of the tied ranks to all tied values,
whereas nonparametric statistical procedures use the median of
the tied ranks.