Ranksum test U value

조회 수: 14 (최근 30일)
Sharah
Sharah 2016년 11월 4일
댓글: Star Strider 2016년 11월 4일
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?

채택된 답변

Star Strider
Star Strider 2016년 11월 4일
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.
  댓글 수: 2
Sharah
Sharah 2016년 11월 4일
편집: Sharah 2016년 11월 4일
The maximum U value should be the product of the two sample size, for 2 samples indepedent test. But MATLAB gave me a ranksum value of 150 in
[p h stats] = ranksum([a], [b])
where size(a) = 6 size(b) = 16. It doesn't make any sense
Star Strider
Star Strider 2016년 11월 4일
That is not the impression I get from reading the Wikipedia article on the Mann-Whitney U-Test. See the section on Calculations.
I only use the rank sum test (the ranksum function), not the Mann-Whitney U-test, so I have no experience with it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Test Execution에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by