Discriminative ability of the model was expressed as the area under the receiver operating characteristic ( ROC ) curve and a calibration with both a calibration plot and the Hosmer and Lemeshow goodness-of-fit test .