返回极智社区

绘制ROC曲线、找截断值,教你SPSS软件如何操作!


发表用户:蔡雨凡     发表时间:1 年前

<div></div><p>假设某实验室人员选用一种新方法对同一批患者进行了诊断,患者的真实状态已知。actual代表真实患病状态,即以金标准(如病理诊断)判断是否患病的结果,其中1代表患病,0代表不患病;assay1代表一种新检验方法测量的结果。<br/></p><p><img src="https://files.xsmartanalysis.com/article/images/d8ca7b00259411eeb8f200163e132610.png" style="max-width:100%;" contenteditable="false"/><br/></p><h2><b>用SPSS进行ROC曲线的绘制</b></h2><p><b>1. 选择Analyze→ROC Curve…</b></p><p><b>2. 主对话框设置</b>:将已知的疾病情况actual送入State Variable框中,assay1送入Test Variable中,并在Value of State Variable框中填1(即代表患病状态),在Display中选择所有,其中Coordinate points of the ROC Curve会给出曲线上的坐标点→OK。</p><p><img src="https://files.xsmartanalysis.com/article/images/eab24988259411ee8dd000163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p><b>3. 结果</b></p><p>(1) ROC曲线</p><p><img src="https://files.xsmartanalysis.com/article/images/f2be8d62259411ee8dd000163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p>(2) ROC曲线下面积:从Area Under the Curve的结果可知,assay1的ROC曲线下面积为0.856(95%置信区间:0.825-0.886,P&lt;0.001)。<br/></p><p><img src="https://files.xsmartanalysis.com/article/images/ff5827cc259411ee8dd000163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p>(3) ROC曲线上的坐标点:如下图所示,我们可以根据Coordinates of the Curve的结果可以得到一系列灵敏度和1-特异度的值。<br/></p><p><img src="https://files.xsmartanalysis.com/article/images/07eee01a259511eeac3700163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p>要想获得截断值,就是最接近左上角(0,1.0)的点所对应的坐标点,我们可以将这两列值复制到Excel表中,根据正确指数最大选出最佳临界点。</p><p>正确指数又称约登指数(Youden’s index),表示检验方法发现真正病人与非病人的总能力,是灵敏度与特异度之和减去1,即约登指数=灵敏度+特异度-1,在Excel中,用灵敏度-(1-特异度)得到的就是约登指数,对相减的结果进行排序,可以得到正确指数的最大值,即最佳临界点。</p><p>操作:将数据复制到excel中,计算灵敏度-(1-特异度),选中D列,进行降序排列,得到约登指数的最大值约为0.5631,对应的灵敏度≈90.2%,特异度≈(1-0.338)=66.2%。</p><p><img src="https://files.xsmartanalysis.com/article/images/12534ca8259511ee8dd000163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p><img src="https://files.xsmartanalysis.com/article/images/15dd380c259511ee987500163e132610.png" style="max-width:100%;" contenteditable="false"/></p><p><img src="https://files.xsmartanalysis.com/article/images/1c0b47c8259511eeb8f200163e132610.png" style="max-width:100%;" contenteditable="false"/></p>
    
  评论区

添加新评论


请先
登录
后发表评论(・ω・)
发布于   回复

发布于 
 回复
User profile pic User profile pic User profile pic
请先
登录
后发表评论(・ω・)
发表 评论