研究生医学统计学Logisticreg.ppt
《研究生医学统计学Logisticreg.ppt》由会员分享,可在线阅读,更多相关《研究生医学统计学Logisticreg.ppt(50页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Logistic regressionLogistic回归回归Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022 第一节第一节.非条件非条件logisticlogistic回归回归第二节第二节.条件条件logisticlogistic回归回归第三节第三节.应用及其注意事项应用及其注意事项Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,D
2、ecember 14,2022202220222022 医学研究中常碰到应变量应变量的可能取值仅有两个(即二分类变量二分类变量),如发病与未发病、阳性与阴性、死亡与生存、治愈与未治愈、暴露与未暴露等,显然这类资料不满足多元(重)回归的条件 什么情况下采用什么情况下采用LogisticLogistic回归回归Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022 Brown(1980)在术前检查了53例前列腺癌患者,拟用年龄(AGE)、酸性磷酸
3、酯酶(ACID)两个连续型的变量,X射线(X_RAY)、术前探针活检病理分级(GRADE)、直肠指检肿瘤的大小与位置(STAGE)三个分类变量与手术探查结果变量NODES(1、0分别表示癌症淋巴结转移与未转移)建立淋巴结转移的预报模型。实例Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022(一)53例接受手术的前列腺癌患者情况 Wednesday,Wednesday,Wednesday,Wednesday,December 14,Dece
4、mber 14,December 14,December 14,2022202220222022(二)26例冠心病病人和28例对照进行病例对照研究 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,202220222022202226例冠心病病人和28例对照者进行病例对照研究 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220
5、222022一、logistic回归模型 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022概率预报模型概率预报模型 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022二、模型的参数估计参数估计 Logistic回归参数的估计通常采用最大似然法最大似然法(maximum likeli
6、hood,ML)。最大似然法的基本思想是先建立似然函数与对数似然函数,再通过使对数似然函数最大求解相应的参数值,所得到的估计值称为参数的最大似然估计值。Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022参数估计的公式参数估计的公式 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022三
7、、回归三、回归参数的假设检验参数的假设检验 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022优势比及其可信区间优势比及其可信区间 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022标准化回归标准化回归参数参数用于评价各自变量对模型的贡献大小用于评价各自变量对模型的贡献大小Wedne
8、sday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022SAS程序程序Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022 The LOGISTIC ProcedureAnalysis of Maximum Likelihood EstimatesWednesday,Wednesday,Wednesd
9、ay,Wednesday,December 14,December 14,December 14,December 14,2022202220222022 预报模型预报模型Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022 The LOGISTIC ProcedureAnalysis of Maximum Likelihood EstimatesWednesday,Wednesday,Wednesday,Wednesday,Decembe
10、r 14,December 14,December 14,December 14,2022202220222022 预报模型预报模型Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022四、回归四、回归参数的意义参数的意义 当只有一个自变量时,以相应的预报概率 为纵轴,自变量 为横轴,可绘制出一条S形曲线。回归参数的正负符号与绝对值大小,分别决定了S形曲线的方向与形状Wednesday,Wednesday,Wednesday,Wednesda
11、y,December 14,December 14,December 14,December 14,2022202220222022Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022优势比改变优势比改变exp(exp(b bj j)个单位个单位Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,20222022202
12、22022Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022五、整个回归模型五、整个回归模型的假设检验的假设检验 Wednesday,Wednesday,Wednesday,Wednesday,December 14,December
13、 14,December 14,December 14,2022202220222022似然比检验(似然比检验(likelihood ratio test)Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022ROC曲线模型评价曲线模型评价Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,202220222022202
14、2ROC曲线模型评价曲线模型评价图图16-2 Logistic16-2 Logistic回归预报能力的回归预报能力的ROCROC曲线曲线Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022六、六、logistic逐步回归(变量筛选)逐步回归(变量筛选)MODEL语句加入选项“SELECTION=STEPWISE SLE=0.100.10 SLS=0.100.10;”常采用似然比检验:决定自变量是否引入或剔除。Wednesday,Wednes
15、day,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022模型中有模型中有X5、X6、X8,看是否引入看是否引入X1模型含X5、X6、X8的模型的负二倍对数似然为:50.402模型含X1、X5、X6、X8的模型的负二倍对数似然为:46.224Wednesday,Wednesday,Wednesday,Wednesday,December 14,December 14,December 14,December 14,2022202220222022第二节第二节.条件条件logis
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 研究生 医学 统计学 Logisticreg
限制150内