MATLAB: Help with mann whitney U test and p-value.

mann whitney u test

Please can someone help with how to get (code) mann whitney U test and p-value for the data below. thanks
x=[0.987,0.876,0.456,0.865,1,0.906,0.834,0.989];
y=[0.763,0.698,0.980,0.897,0.656,0.876,0.998,0.615];

Best Answer

Use ranksum [p, h, stats] = ranksum(x, y);
Related Question