MATLAB: Ranksum test U value

ranksum

I need to report the U value of the ranksum test in my paper, but I am not sure what command for me to use to get this value in MATLAB. Can somebody explain?

Best Answer

See the section under ‘More About’ on the Wilcoxon Rank Sum Test to find out how to calculate the U-statistic from the rank sum test W-statistic. The rank sum is available by asking for the third 'stats' output from the ranksum function.