P-value using ranksum function
显示 更早的评论
I want to use ranksum function to the following data in A1 but p value appear NAN why?
回答(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 个评论
Matlab
2017-7-24
Star Strider
2017-7-24
Please read the documentation on the ranksum function, and consult a statistics textbook on the Wilcoxon rank sum test.
类别
在 帮助中心 和 File Exchange 中查找有关 Short-Time Fourier Transform 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!