全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2025 2
2015-02-10
Recently, I am studying the non-inferiority test based on the difference of two proportions. The teacher asked us to use Chi-square test do, but I used SAS, and found it use the Wald test do this by default, and can't set the method as Chi-square, hence I want to bring this out to seek: Is Wald Test a kind of Chi-square test?
The code is as below:
data pd1;
input grp $ response count;
datalines;
grp1 1 20
grp1 0 4
plcb 1 18
plcb 0 6
;
run;
/*Do non-inferiority test by Chi-square test*/
proc freq data=pd1;
tables grp*response/chisq alpha=0.025 riskdiff(column=2 noninf correct margin=0.3);/*noninf:non-inferiority test; margin: the margin want to detect*/
weight count;/*count: then number of responders*/
run;
二维码

扫码加我 拉你入群

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

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

全部回复
2015-2-10 22:28:38
Wald statistic may be approximated by Chisq-distribution. Jingju
二维码

扫码加我 拉你入群

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

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

2015-2-10 22:37:22
jingju11 发表于 2015-2-10 22:28
Wald statistic may be approximated by Chisq-distribution. Jingju
Thank you so much Jingju. I get that.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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