suly 发表于 2011-1-16 13:20
对两个样本作wilcoxon非参数检验,是对中位数做的检验吗,为什么变量的中位数都为0(取了小数点后三位还是0),还有显著差异呢,z值显著。这个变量时0,1变量。谢谢
STATA中的说明:
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).
median performs a nonparametric K-sample test on the equality of medians. It tests the null hypothesis that the K samples were drawn from populations with the same median. For two samples, the chi-squared test statistic is computed both with and without a continuity correction.
ranksum and
median are for use with unmatched data.