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

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】两独立样本非参检验)