Why the p value is so small in mann-whitney test?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have two matrix with diferent sizes
A(9*16)
B (3*16)
I want to check if the data from A are signifcantly diferent from the data in B using MWT (since not normal distribution)
This is my procedure:
C=[A; B];
group= [ones(size(A)); 2 * ones(size(B))];
g=group(:);
D=C (:);
[p, h, stats] = ranksum (D,g)
is there something wrong? my p value is returned very small!
p =
9.3520e-121
h =
logical
1
stats =
struct with fields:
zval: -23.3666
ranksum: 62128
Roxan
0 commentaires
Réponse acceptée
Jeff Miller
le 19 Août 2020
I think you use ranksum like this:
[p, h, stats] = ranksum (A,B)
With your command, it is testing whether the A & B scores are different from 1 & 2 (the group codes)
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Best Practices for Simulink Design Verifier Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!