I want to assess and compare the validity of two prediction models in predicting mortality with my patients. According to the other models, I have I have calculated risk of mortality (p) and logit. But I don't know how to assess calibration with a Cox model (using Hosmer-Lemeshow goodness-of-fit test) analysis using a logistic regression model to obtain two derivatives-the slope and the intercept. I asked a lot of my friends for help, but they have no idea.
just like the follow pictures
-
$\begingroup$ Can you say more about your models? Are you comparing a Cox model to a logistic regression model? $\endgroup$– gung - Reinstate MonicaAug 3, 2015 at 20:35
-
$\begingroup$ What software are you using? $\endgroup$– JakeAug 3, 2015 at 20:46
-
$\begingroup$ thank you for all of you.I just want to validation two logistic regression models.And I learned from other authors that they use a Cox model to assess the calibration. $\endgroup$– lei chenAug 3, 2015 at 20:59
-
$\begingroup$ Hosmer-Lemeshow is considered obsolete : stats.stackexchange.com/questions/145112/… $\endgroup$– kjetil b halvorsen ♦Apr 13, 2017 at 9:27