全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
15475 8
2011-01-16
对两个样本作wilcoxon非参数检验,是对中位数做的检验吗,为什么变量的中位数都为0(取了小数点后三位还是0),还有显著差异呢,z值显著。这个变量时0,1变量。谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-1-16 14:04:01
wilcoxon非参数检验是对中位数做的检验,后面的没有听明白啊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-16 18:51:14
2# 张智学
你好,我是做的两个样本的检验,两个样本的该变量中位数都为0,为什么用wilcoxon检验,还有显著差异呢,
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-20 11:15:50
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.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-1-20 11:17:34
若检验两总体的中位数是否相等,不能只看它们的样本中位数的观测值是否相等。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-27 14:27:10
sungmoo 发表于 2011-1-20 11:15
STATA中的说明:

ranksum tests the hypothesis that two independent samples (i.e., unmatched da ...
版主你好,我想问下什么时候用ranksum命令或者median命令呢?这两者的区别没看太懂。现在我想比较两组样本(将总体分成了两部分)的中位数是否存在差异要用哪个命令呢?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群