IDEAS home Printed from https://ideas.repec.org/a/sae/medema/v42y2022i4p487-499.html
   My bibliography  Save this article

Model-Based ROC Curve: Examining the Effect of Case Mix and Model Calibration on the ROC Plot

Author

Listed:
  • Mohsen Sadatsafavi

    (Faculty of Pharmaceutical Sciences, The University of British Columbia, Vancouver, BC, Canada
    Faculty of Medicine, The University of British Columbia, Vancouver, BC, Canada)

  • Paramita Saha-Chaudhuri

    (Department of Mathematics and Statistics, University of Vermont, Burlington, VT, USA)

  • John Petkau

    (Department of Statistics, The University of British Columbia, Vancouver, BC, Canada)

Abstract

Background The performance of risk prediction models is often characterized in terms of discrimination and calibration. The receiver-operating characteristic (ROC) curve is widely used for evaluating model discrimination. However, when comparing ROC curves across different samples, the effect of case mix makes the interpretation of discrepancies difficult. Further, compared with model discrimination, evaluating model calibration has not received the same level of attention. Current methods for examining model calibration require specification of smoothing or grouping factors. Methods We introduce the “model-based†ROC curve (mROC) to assess model calibration and the effect of case mix during external validation. The mROC curve is the ROC curve that should be observed if the prediction model is calibrated in the external population. We show that calibration-in-the-large and the equivalence of mROC and ROC curves are together sufficient conditions for the model to be calibrated. Based on this, we propose a novel statistical test for calibration that, unlike current methods, does not require any subjective specification of smoothing or grouping factors. Results Through a stylized example, we demonstrate how mROC separates the effect of case mix and model miscalibration when externally validating a risk prediction model. We present the results of simulation studies that confirm the properties of the new calibration test. A case study on predicting the risk of acute exacerbations of chronic obstructive pulmonary disease puts the developments in a practical context. R code for the implementation of this method is provided. Conclusion mROC can easily be constructed and used to interpret the effect of case mix and calibration on the ROC plot. Given the popularity of ROC curves among applied investigators, this framework can further promote assessment of model calibration. Highlights Compared with examining model discrimination, examining model calibration has not received the same level of attention among investigators who develop or examine risk prediction models. This article introduces the model-based ROC (mROC) curve as the basis for graphical and statistical examination of model calibration on the ROC plot. This article introduces a formal statistical test based on mROC for examining model calibration that does not require arbitrary smoothing or grouping factors. Investigators who develop or validate risk prediction models can now also use the popular ROC plot for examining model calibration, as a critical but often neglected component in predictive analytics.

Suggested Citation

  • Mohsen Sadatsafavi & Paramita Saha-Chaudhuri & John Petkau, 2022. "Model-Based ROC Curve: Examining the Effect of Case Mix and Model Calibration on the ROC Plot," Medical Decision Making, , vol. 42(4), pages 487-499, May.
  • Handle: RePEc:sae:medema:v:42:y:2022:i:4:p:487-499
    DOI: 10.1177/0272989X211050909
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0272989X211050909
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0272989X211050909?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:medema:v:42:y:2022:i:4:p:487-499. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.