美文网首页
【Mann–Whitney U test】两独立样本非参检验

【Mann–Whitney U test】两独立样本非参检验

作者: 高大石头 | 来源:发表于2021-06-25 09:37 被阅读0次
    PMID: 34075200
    在学习上面这篇文献时,看到下面一段话,然后就在犯嘀咕Mann–Whitney U test是什么检验?

    Statistical analysis was performed using GraphPad Prism (Version 8.4.3) and R 4.0.3. Comparisons between the two groups were made using unpaired two side t-test and Mann–Whitney U test. P value < 0.05 was considered as statistically significant.

    搜索度娘,发现Mann–Whitney U test其实是Wilcox秩和检验的一种,


    https://zhidao.baidu.com/question/647897677678557525.html
    瞬间明白:原来Mann–Whitney U testWilcoxon rank-sum test是一个东东!

    代码实现(R)

    s1 <- c(6,1,1,1,1,1)
    s2 <- c(5,5,5,5,5,0)
    s <- c(s1,s2)
    type <- c(rep(1,6),rep(2,6))
    wd <- as.data.frame(cbind(s,type=as.factor(type)))
    wilcox.test(s~type,paired=F)
    

    体会

    个人感觉好像写Mann–Whitney U test更上档次一点!
    参考链接:

    1. 有关Wilcoxon检验和Mann-whitney检验的区别
    2. 【统计与检验-2】Mann-Whitney U test

    相关文章

      网友评论

          本文标题:【Mann–Whitney U test】两独立样本非参检验

          本文链接:https://www.haomeiwen.com/subject/jimnyltx.html