Wilcoxon rank sum test
Wilcoxon rank sum test, also known as the Mann-Whitney U test, is a non-parametric statistical hypothesis test used when comparing two independent samples to assess whether their population mean ranks differ. It is an alternative to the t-test when the data cannot be assumed to be normally distributed. The test is named after Frank Wilcoxon, who introduced it in 1945, and Henry B. Mann and Donald R. Whitney, who extended the theory in 1947.
Overview[edit | edit source]
The Wilcoxon rank sum test is based on the ranks of the data rather than their numerical values. This approach makes it more robust to outliers and non-normal distributions, providing a useful tool for analyzing ordinal data or continuous data that does not meet the assumptions required for the t-test. The test is applicable for two independent samples of sizes n1 and n2, and it evaluates whether one sample tends to have higher or lower values than the other.
Procedure[edit | edit source]
To perform the Wilcoxon rank sum test, the following steps are taken:
- Combine all observations from both groups into a single dataset.
- Rank all observations from the smallest to the largest, assigning average ranks in case of ties.
- Calculate the sum of ranks for each of the two groups.
- Use the smaller of the two rank sums as the test statistic (W).
- Determine the significance of the observed W by comparing it to the distribution of W under the null hypothesis, which can be approximated using normal approximation for large samples.
Assumptions[edit | edit source]
The Wilcoxon rank sum test makes several assumptions:
- The samples are independent.
- The data are ordinal, interval, or ratio.
- The distributions of both groups are similar in shape.
Applications[edit | edit source]
The Wilcoxon rank sum test is widely used in various fields such as psychology, medicine, and ecology, where the assumptions of parametric tests are not met. It is particularly useful for small sample sizes or for data with outliers that could influence the results of parametric tests.
Comparison with Other Tests[edit | edit source]
The Wilcoxon rank sum test is often compared to the t-test for independent samples. While the t-test is more powerful for data that meet its assumptions (normal distribution of the differences, homogeneity of variances), the Wilcoxon test provides a non-parametric alternative that is less sensitive to outliers and does not require the data to be normally distributed.
Limitations[edit | edit source]
While the Wilcoxon rank sum test is versatile, it has limitations:
- It is less powerful than the t-test when the assumptions of the t-test are met.
- The interpretation of significant results can be less straightforward, as it relates to medians rather than means.
- It requires at least 5 observations in each sample to provide reliable results.
See Also[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD