全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
15869 5
2015-11-16
悬赏 50 个论坛币 已解决
已知两组率和 95%可信区间,如何进行统计学检验?

如: 0.77(0.71-0.82)  vs 0.86(0.82-0.90)
  

最佳答案

jingju11 查看完整内容

The key here is what kind of confidence interval for the binomial proportions is given. Say the standard Wald asymptotic confidence limits. Remember that: regardless what kind of info you have, the proportion is always defined as two parameters: n1=#of events, and N=#of all observations. The code for testing the risk difference is similar to the following program: JingJu
二维码

扫码加我 拉你入群

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

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

全部回复
2015-11-16 22:17:06
The key here is what kind of confidence interval for the binomial proportions is given. Say the standard Wald asymptotic confidence limits. Remember that: regardless what kind of info you have, the proportion is always defined as two parameters: n1=#of events, and N=#of all observations.
The code for testing the risk difference is similar to the following program:
JingJu

复制代码


二维码

扫码加我 拉你入群

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

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

2015-11-17 00:51:32
proc Power?
二维码

扫码加我 拉你入群

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

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

2015-11-17 19:42:48
此问题实质是2x2表率的比较,至少有五种检验方法:

1 率的差异
     假设两组率分别为P1和p2,两组率真实差异的Wald置信区间为(p1−p2) ± zα/2(SE),SE=SQR[p1(1−p1)/n1+p2(1-p2)/n2]。若95%置信区间包含0,则差异无统计学意义。

2 相对风险
     样本相对风险p1/p2的抽样分布极其偏态,除非样本量很大。因此,其置信区间的公式比较复杂。2楼jingju11给出了SAS–PROC FREQ程序代码。真实相对风险的95%CI包含1,则两率差异无统计学意义。

3 比数比
    也称交叉乘积比,样本OR=[p1/(1-p1)]/[p2/(1-p2)]。同样,SAS–PROC FREQ可输出真实比数比的置信区间,若95%CI包含1,则两率差异无统计学意义。

4 两变量独立性的卡方检验
    以二分类分组变量为行变量,率结局变量为列变量,进行两变量独立性的卡方检验。SAS–PROC FREQ可输出相应检验统计量和P值,据此判断检验结果。

5 简单二分类Logistic模型拟合
    以率为二分类Y变量,分组变量为二分类X变量,拟合简单二分类Logistic模型。SAS–PROC LOGISTIC可输出相应检验统计量、P值、OR值及其95%CI,据此得出相关结论。

二维码

扫码加我 拉你入群

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

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

2015-11-19 07:25:28
谢谢两位老师!
二维码

扫码加我 拉你入群

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

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

2015-11-21 09:43:42
我给的是1 率的差异。京剧

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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