tomfreeman 发表于 2011-4-25 18:06
ranksum可以做中位数检验吗?有何不同
首先,看ranksum的命令结构:ranksum,by(),它对数据结构的要求不同。
其次,看ranksum的说明:ranksum tests the hypothesis that
two independent samples (i.e., unmatched data) are from
populations with the same distribution by using the Wilcoxon rank-sum test, which is also known as the Mann-Whitney two-sample statistic (Wilcoxon 1945; Mann and Whitney 1947).