Non-parametric tests - a brief summary 非参数检验小结

![](http://images2015.cnblogs.com/blog/795056/201702/795056-20170223201202351-116588051.png)

*Image from: [here](http://sphweb.bumc.bu.edu/otlt/mph-modules/bs/bs704_nonparametric/bs704_nonparametric_print.html)*

  • Good introduction to nonp-parametric tests

Wikipedia - Nonparametric statistical

Matlab Drop-in

Non-parametric tests

  • Choosing between the Mann-Whitney and Kolmogorov-Smirnov tests

Source: Graph Pad Statistics Guide

Both the Mann-Whitney and the Kolmogorov-Smirnov tests are nonparametric tests to compare two unpaired groups of data. Both compute P values that test the null hypothesis that the two groups have the same distribution. But they work very differently:

  • The Mann-Whitney test first ranks all the values from low to high, and then computes a P value that depends on the discrepancy between the mean ranks of the two groups.
  • The Kolmogorov-Smirnov test compares the cumulative distribution of the two data sets, and computes a P value that depends on the largest discrepancy between >distributions.

Here are some guidelines for choosing between the two tests:

  • The KS test is sensitive to any differences in the two distributions. Substantial differences in shape, spread or median will result in a small P value. In >contrast, the MW test is mostly sensitive to changes in the median.
  • The MW test is used more often and is recognized by more people, so choose it if you have no idea which to choose.
  • The MW test has been extended to handle tied values. The KS test does not handle ties so well. If your data are categorical, so has many ties, don't choose the >KS test.
  • Some fields of science tend to prefer the KS test over the MW test. It makes sense to follow the traditions of your field.
posted @ 2017-02-23 20:09  minks  阅读(428)  评论(0编辑  收藏  举报