4. 总结 以上我们总结了使用PredictABEL对于Logistic回归模型进行外部验证的方法,包括校准度评估和区分度评估。 5. 参考文献 [1] https://cran.r-project.org/web/packages/ResourceSelection/index.html [2] https://cran.r-project.org/web/p...
PredictABEL R包文档说明书 METHODS PredictABEL:an R package for the assessment of risk prediction models Suman Kundu •Yurii S.Aulchenko • Cornelia M.van Duijn •A.Cecile J.W.Janssens Received:8February 2011/Accepted:8March 2011/Published online:24March 2011ÓThe Author(s)2011.This ...
下面我们使用ResourceSelection包中的hoslem.test()来进行Hosmer-Lemeshow拟合优度检验,通常用来评价Logistic模型的校准度。首先加载所需r包: #install.packages("ResourceSelection") library(ResourceSelection) 一、建立Logistic回归模型 我们模拟一个数据集(trai...