zoukankan      html  css  js  c++  java
  • Non-parametric tests

    ![](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.
  • 相关阅读:
    前端最全资源汇集
    面试题
    前端知识
    我的工作心得
    一个类似于jq的小型库
    js 模拟css3 动画3
    js 模拟css3 动画2
    js 模拟css3 动画1
    js 模拟css3 动画
    学习node.js 第4篇 建立一个最小的web聊天系统
  • 原文地址:https://www.cnblogs.com/minks/p/6435233.html
Copyright © 2011-2022 走看看