13.9
Wilcoxon順位和検定は、Mann-Whitney U 検定とも呼ばれ、2 つの独立したサンプルの分布に有意差があるかどうかを判断するために使用されるノンパラメトリック検定です。この検定は、2 つの独立した母集団専用に設計されており、次の主要な要件があります。
ウィルコクソン順位和、またはマンホイットニーUは、中央値を比較することにより2つの母集団間の差を決定するために使用されるノンパラメトリック検定です。
これは、サンプルサイズが等しいまたは等しくない2つの独立した単純ランダムサンプルに厳密に適用されます。
2つの異なるクモ種における獲物の捕獲応答時間を考えてみましょう。
ここで、帰無仮説は、2 つの種の応答時間の中央値が同じであることを示しています。対立仮説はそうではないと述べています。
これら 2 つのサンプルの値は、データ ポイントの 1 つのプールと見なされてランク付けされます。ただし、ランク合計は独立して計算されます。
上位または下位のランクが主に 1 つのサンプルで他のサンプルよりも検出される場合、2 つのサンプルの中央値が異なる可能性があります。
検定統計量 z は、次の式を使用して計算され、仮説を検定します。
ウィルコクソンの順位和検定は両側です。したがって、検定統計量は、正および負の臨界値 (通常は 5%) と比較する必要があります。
この例では、検定統計量がこれらの重要な値の範囲を超えているため、2つのサンプルの中央値は有意に異なります。
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.