P-value using ranksum function
Afficher commentaires plus anciens
I want to use ranksum function to the following data in A1 but p value appear NAN why?
Réponses (1)
Star Strider
le 23 Juil 2017
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 commentaires
Matlab
le 24 Juil 2017
Star Strider
le 24 Juil 2017
Please read the documentation on the ranksum function, and consult a statistics textbook on the Wilcoxon rank sum test.
Catégories
En savoir plus sur Multidimensional Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!