P-value using ranksum function
조회 수: 10 (최근 30일)
이전 댓글 표시
I want to use ranksum function to the following data in A1 but p value appear NAN why?
댓글 수: 0
답변 (1개)
Star Strider
2017년 7월 23일
All your values in the ‘A1.xls’ file are zero.
That will be a problem for ranksum.
D = xlsread('Matlab A1.xls');
Dmin = min(D)
Dmax = max(D)
Dinf = D(~isfinite(D))
Dmin =
0 0 0 0 0 0
Dmax =
0 0 0 0 0 0
Dinf =
0×1 empty double column vector
댓글 수: 2
Star Strider
2017년 7월 24일
Please read the documentation on the ranksum function, and consult a statistics textbook on the Wilcoxon rank sum test.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!