全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6627 1
2008-10-18
<p>请教大家:</p><p>几个独立样本的中值差异性检验在stata中用什么命令?命令格式如何?有没有直接得到两两比较的差异性检验结果的命令?谢谢了</p>
二维码

扫码加我 拉你入群

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

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

全部回复
2008-10-19 16:57:00

用 median。

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.  In the case of two samples, the test chi-squared statistic is calculated both with and without a continuity correction.

median varname [if] [in] [weight], by(groupvar) [median_options]

median_options

    * by(groupvar)         grouping variable
      exact                performs Fisher's exact test
      medianties(below)    assign values equal to the median to below group
      medianties(above)    assign values equal to the median to above group
      medianties(drop)     drop values equal to the median from the analysis
      medianties(split)    split values equal to the median equally between the two groups

二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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