13.9
Le test de Wilcoxon Rank-Sum, également connu sous le nom de test U de Mann-Whitney, est un test non paramétrique utilisé pour déterminer s'il existe…
La somme des rangs de Wilcoxon, ou U de Mann-Whitney, est un test non paramétrique utilisé pour déterminer la différence entre deux populations en comparant leurs médianes.
Elle s’applique strictement à deux échantillons aléatoires simples indépendants de tailles d’échantillon égales ou inégales.
Considérez le temps de réponse de capture des proies chez deux espèces d’araignées différentes.
Ici, l’hypothèse nulle stipule que le temps de réponse médian des deux espèces est le même. L’hypothèse alternative dit le contraire.
Les valeurs de ces deux échantillons sont classées, en les considérant comme un seul pool de points de données. Cependant, la somme du rang est calculée indépendamment.
Lorsque les rangs élevés ou faibles se trouvent principalement dans un échantillon plutôt que dans l’autre, les deux échantillons peuvent avoir des médianes différentes.
La statistique de test z est calculée à l’aide des équations suivantes pour tester l’hypothèse.
Le test de Wilcoxon est bilatéral. Ainsi, la statistique du test doit être comparée aux valeurs critiques positives et négatives, généralement à 5 %.
Étant donné que, dans le présent exemple, la statistique de test se situe au-delà de la plage de ces valeurs critiques, les médianes des deux échantillons sont significativement différentes.
View the full transcript and gain access to JoVE Core videos
Q1: What is the Wilcoxon rank-sum test used for?
The Wilcoxon rank-sum test, also called the Mann-Whitney U test, is a nonparametric test that determines whether two independent populations have different medians. It compares the distributions of two independent samples without assuming normal distribution. This test is particularly useful when data are ordinal or when assumptions for parametric tests like the two-sample t-test are violated.
Q2: How are data ranked in the Wilcoxon rank-sum test?
Data from both samples are combined into a single ranked list, with each value assigned a rank from smallest to largest. Tied values receive the average of the ranks for those positions. The ranks are then separated back into their respective groups, and the sum of ranks is calculated for each group independently to determine the test statistic.
Q3: What does it mean if high or low ranks cluster in one sample?
When high or low ranks predominantly fall into one sample rather than being distributed evenly, this suggests the two samples may have different medians. This clustering pattern indicates a systematic difference in the underlying distributions of the two populations, which the test statistic evaluates for statistical significance.
Q4: When should you use a z-score approximation versus critical value tables?
For small sample sizes, typically when n is less than 20, critical values for U are obtained from statistical tables. For larger samples, a z-score approximation is applied, assuming a normal distribution. This approximation becomes more reliable and efficient as sample size increases, making it the preferred approach for larger datasets.
Q5: What are the key requirements for the Wilcoxon rank-sum test?
The test requires two independent samples that are randomly drawn from their populations. Data must be ordinal or capable of being converted to an ordinal scale so values can be ranked. There is no assumption that samples are normally distributed, making this test robust for non-normal data and a suitable alternative to parametric tests.
Q6: Why is the Wilcoxon rank-sum test two-tailed?
The Wilcoxon rank-sum test is two-tailed because the alternative hypothesis states that the distributions of the two populations are different, without specifying direction. The test statistic is compared against both positive and negative critical values, typically at the 5% significance level, to determine if a significant difference exists in either direction.
Q7: What limitations should you consider when using this test?
While the Wilcoxon rank-sum test is robust to outliers, it is prone to higher type-I error when data are biased, heteroscedastic (having different variance), or when sample distributions are extremely far from normal. Despite these limitations, the test remains reliable for most ordinal and non-normally distributed data in practical applications.