Hello,
The calibration slope is supposed to be estimated by fitting a logistic (logit) regression model in the external data with risk score as the covariate. The binary outcome (e.g. mortality) is the dependent variable and the beta coefficient of the risk score covariate (i.e. independent variable) gives you the calibration slope. So I guess perfect calibration gives you a beta-coefficient of 1.00 on the logit scale (i.e. ln(OR)). Doing this gave me a calibration slope that was too low (0.39).
I then used linear regression with the expected risk and found that it gave a very similar estimate of the calibration slope compared to a lowess graph that I produced (below). But clearly this is not correct as no authors mention this in their publications.

I feel like I am missing something. If someone can walk me through this with codes then that would be amazing.
The calibration slope is supposed to be estimated by fitting a logistic (logit) regression model in the external data with risk score as the covariate. The binary outcome (e.g. mortality) is the dependent variable and the beta coefficient of the risk score covariate (i.e. independent variable) gives you the calibration slope. So I guess perfect calibration gives you a beta-coefficient of 1.00 on the logit scale (i.e. ln(OR)). Doing this gave me a calibration slope that was too low (0.39).
I then used linear regression with the expected risk and found that it gave a very similar estimate of the calibration slope compared to a lowess graph that I produced (below). But clearly this is not correct as no authors mention this in their publications.
I feel like I am missing something. If someone can walk me through this with codes then that would be amazing.
Comment