全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 学习笔记1.0
547 0
2023-09-07

*  例题数据;

             金标准阴性  金标准阳性

试验阳性              5                                                              15

试验阴性      18               9

;

*输入待计算数据;

data a ;

        do positive = 1 to 2;

        input weight@@;

        output;

        end;*灵敏度=真阳÷(真阳+假阴);

        cards;

        15 9

        ;

run;

*灵敏度特异度也相当于一个率,其95%CI采用FREQ计算,由于例数较少,选择精确检验的结果即可

proc freq data=a;

        weight weight;

        table positive/binomial;

run;

*特异度;

data b ;

        do specific = 1 to 2;

        input weight@@;

        output;

        end;

        cards;

        15 5

        ;

run;

proc freq data=b;

        weight weight;

        table specific/binomial;

run;

data b ;

        do specific = 1 to 2;

        input weight@@;

        output;

        end;

        cards;

        18 5

        ;

run;

proc freq data=b;

        weight weight;

        table specific/binomial;

run;


二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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