<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article
  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="3.0" xml:lang="EN">
  <front>
    <journal-meta><journal-id journal-id-type="nlm-ta">PLoS ONE</journal-id><journal-id journal-id-type="publisher-id">plos</journal-id><journal-id journal-id-type="pmc">plosone</journal-id><!--===== Grouping journal title elements =====--><journal-title-group><journal-title>PLoS ONE</journal-title></journal-title-group><issn pub-type="epub">1932-6203</issn><publisher>
        <publisher-name>Public Library of Science</publisher-name>
        <publisher-loc>San Francisco, USA</publisher-loc>
      </publisher></journal-meta>
    <article-meta><article-id pub-id-type="publisher-id">PONE-D-10-00435</article-id><article-id pub-id-type="doi">10.1371/journal.pone.0016110</article-id><article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="Discipline-v2">
          <subject>Mathematics</subject>
          <subj-group>
            <subject>Statistics</subject>
            <subj-group>
              <subject>Biostatistics</subject>
              <subject>Confidence intervals</subject>
              <subject>Statistical methods</subject>
            </subj-group>
          </subj-group>
        </subj-group>
        <subj-group subj-group-type="Discipline-v2">
          <subject>Medicine</subject>
          <subj-group>
            <subject>Diagnostic medicine</subject>
            <subj-group>
              <subject>Test evaluation</subject>
            </subj-group>
          </subj-group>
          <subj-group>
            <subject>Epidemiology</subject>
            <subj-group>
              <subject>Clinical epidemiology</subject>
            </subj-group>
          </subj-group>
        </subj-group>
        <subj-group subj-group-type="Discipline">
          <subject>Public Health and Epidemiology</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories><title-group><article-title>Calibration Belt for Quality-of-Care Assessment Based on Dichotomous
                    Outcomes</article-title><alt-title alt-title-type="running-head">Calibration Belt</alt-title></title-group><contrib-group>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Finazzi</surname>
            <given-names>Stefano</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Poole</surname>
            <given-names>Daniele</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">
            <sup>2</sup>
          </xref>
          <xref ref-type="aff" rid="aff3">
            <sup>3</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Luciani</surname>
            <given-names>Davide</given-names>
          </name>
          <xref ref-type="aff" rid="aff4">
            <sup>4</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Cogo</surname>
            <given-names>Paola E.</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">
            <sup>3</sup>
          </xref>
          <xref ref-type="aff" rid="aff5">
            <sup>5</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Bertolini</surname>
            <given-names>Guido</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">
            <sup>3</sup>
          </xref>
          <xref ref-type="aff" rid="aff6">
            <sup>6</sup>
          </xref>
        </contrib>
      </contrib-group><aff id="aff1"><label>1</label><addr-line>Astrophysics Sector, Scuola Internazionale
                    Superiore di Studi Avanzati and Instituto Nazionale di Fisica Nucleare Sezione
                    di Trieste, Trieste, Italy</addr-line>
            </aff><aff id="aff2"><label>2</label><addr-line>Intensive Care Unit, Department of Anesthesia
                    and Intensive Care, San Martino Hospital, Belluno, Italy</addr-line>
            </aff><aff id="aff3"><label>3</label><addr-line>GiViTI Steering Committee, Italy</addr-line>
            </aff><aff id="aff4"><label>4</label><addr-line>Unit of Clinical Knowledge Engineering,
                    Laboratory of Clinical Epidemiology, ‘Mario Negri’ Institute for
                    Pharmacological Research, Milano, Italy</addr-line>
            </aff><aff id="aff5"><label>5</label><addr-line>Pediatric Intensive Care Unit, Department of
                    Pediatrics, Padova University, Padova, Italy</addr-line>
            </aff><aff id="aff6"><label>6</label><addr-line>Laboratory of Clinical Epidemiology, GiViTI
                    Coordinating Center, ‘Mario Negri’ Institute for Pharmacological
                    Research, Ranica, Italy</addr-line>
            </aff><contrib-group>
        <contrib contrib-type="editor" xlink:type="simple">
          <name name-style="western">
            <surname>Gravenor</surname>
            <given-names>Mike</given-names>
          </name>
          <role>Editor</role>
          <xref ref-type="aff" rid="edit1"/>
        </contrib>
      </contrib-group><aff id="edit1">University of Swansea, United Kingdom</aff><author-notes>
        <corresp id="cor1">* E-mail: <email xlink:type="simple">finazzi@sissa.it</email></corresp>
        <fn fn-type="con">
          <p>Conceived and designed the experiments: SF DP DL PC GB. Performed the
                        experiments: SF GB. Analyzed the data: SF GB. Contributed
                        reagents/materials/analysis tools: SF DP DL PC GB. Wrote the paper: SF DP DL
                        PC GB.</p>
        </fn>
      <fn fn-type="conflict">
        <p>The authors have declared that no competing interests exist.</p>
      </fn></author-notes><pub-date pub-type="collection">
        <year>2011</year>
      </pub-date><pub-date pub-type="epub">
        <day>23</day>
        <month>2</month>
        <year>2011</year>
      </pub-date><volume>6</volume><issue>2</issue><elocation-id>e16110</elocation-id><history>
        <date date-type="received">
          <day>10</day>
          <month>8</month>
          <year>2010</year>
        </date>
        <date date-type="accepted">
          <day>13</day>
          <month>12</month>
          <year>2010</year>
        </date>
      </history><!--===== Grouping copyright info into permissions =====--><permissions><copyright-year>2011</copyright-year><copyright-holder>Finazzi et al</copyright-holder><license><license-p>This is an open-access article distributed under the
                terms of the Creative Commons Attribution License, which permits unrestricted use,
                distribution, and reproduction in any medium, provided the original author and
                source are credited.</license-p></license></permissions><abstract>
        <p>Prognostic models applied in medicine must be validated on independent samples,
                    before their use can be recommended. The assessment of calibration,
                        <italic>i.e.</italic>, the model's ability to provide reliable
                    predictions, is crucial in external validation studies. Besides having several
                    shortcomings, statistical techniques such as the computation of the standardized
                    mortality ratio (SMR) and its confidence intervals, the Hosmer–Lemeshow
                    statistics, and the Cox calibration test, are all non-informative with respect
                    to calibration across risk classes. Accordingly, calibration plots reporting
                    expected versus observed outcomes across risk subsets have been used for many
                    years. Erroneously, the points in the plot (frequently representing deciles of
                    risk) have been connected with lines, generating false calibration curves. Here
                    we propose a methodology to create a confidence band for the calibration curve
                    based on a function that relates expected to observed probabilities across
                    classes of risk. The calibration belt allows the ranges of risk to be spotted
                    where there is a significant deviation from the ideal calibration, and the
                    direction of the deviation to be indicated. This method thus offers a more
                    analytical view in the assessment of quality of care, compared to other
                    approaches.</p>
      </abstract><funding-group><funding-statement>These authors have no support or funding to report.</funding-statement></funding-group><counts>
        <page-count count="6"/>
      </counts></article-meta>
  </front>
  <body>
    <sec id="s1">
      <title>Introduction</title>
      <p>Fair, reliable evaluation of quality of care has always been a crucial but difficult
                task. According to the classical approach proposed by Donabedian <xref ref-type="bibr" rid="pone.0016110-Donabedian1">[1]</xref>, indicators
                of the structure, process, or outcome of care can be variably adopted, depending on
                the resources available, the purpose and the context of the analysis. Whichever
                indicator is adopted, quality of care is assessed by comparing the value obtained in
                the evaluated unit with a reference standard. Unfortunately, this approach is
                hampered by more or less important differences between the case-mix under scrutiny
                and the case-mix providing the reference standard, thereby precluding direct
                comparison. To solve this problem, multipurpose scoring systems have been developed
                in different fields of medicine. Their aim is to provide standards tailored on
                different case-mixes, enabling the quality of care to be measured in varying
                contexts. Most of these systems are prognostic models, designed to estimate the
                probability of an adverse event occurring (<italic>e.g.</italic>, patient death),
                basing quality of care assessment on an outcome indicator. These models are created
                on cohorts representative of the populations to which they will be applied <xref ref-type="bibr" rid="pone.0016110-Wyatt1">[2]</xref>.</p>
      <p>A simple tool to measure clinical performance is the ratio between the observed and
                score-predicted (<italic>i.e.</italic> standard) probability of the event. For
                instance, if the observed-to-expected event probability ratio is significantly lower
                than 1, performance is judged to be higher than standard, and <italic>vice
                    versa</italic>. A more sophisticated approach is to evaluate the calibration of
                the score, which represents the level of accordance between observed and predicted
                probability of the outcome. Since most prognostic models are developed through
                logistic regression, calibration is usually evaluated through the two
                Hosmer–Lemeshow goodness-of-fit statistics, <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e001" xlink:type="simple"/></inline-formula> and
                        <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e002" xlink:type="simple"/></inline-formula>
                <xref ref-type="bibr" rid="pone.0016110-Lemeshow1">[3]</xref>. The main
                limitations of this approach <xref ref-type="bibr" rid="pone.0016110-Bertolini1">[4]</xref>, <xref ref-type="bibr" rid="pone.0016110-Kramer1">[5]</xref> are overcome by Cox calibration analysis <xref ref-type="bibr" rid="pone.0016110-Cox1">[6]</xref>, <xref ref-type="bibr" rid="pone.0016110-Miller1">[7]</xref>, although this
                method is less popular. All these tests investigate only the degree of deviation
                between observed and predicted values, without providing any clue as to the region
                and the direction of this deviation. Nevertheless, the latter information is of
                paramount importance in interpreting the calibration of a model. As a result,
                expected-to-observed outcome across risk subgroups is usually reported in
                calibrations plots, without providing any formal statistical test. Calibration plots
                comprise as many points as the number of subgroups considered. Since these points
                are expected to be related by an underlying curve, they are often connected in the
                so-called ‘calibration curve’. However, one can more correctly estimates
                this curve by fitting a parametric model to the observed data. In this perspective,
                the analysis of standard calibrations plot can guide the choice of the appropriate
                model.</p>
      <p>In this paper we use two illustrative examples to show how to fit such a model, in
                order to plot a true calibration curve and estimate its confidence band.</p>
    </sec>
    <sec id="s2">
      <title>Analysis</title>
      <sec id="s2a">
        <title>Two illustrative examples</title>
        <p>Every year GiViTI (Italian Group for the Evaluation of Interventions in Intensive
                    Care Medicine) develops a prognostic model for mortality prediction based on the
                    data collected by general ICUs that join a project for the quality-of-care
                    assessment <xref ref-type="bibr" rid="pone.0016110-Rossi1">[8]</xref>.
                    In our first example, we applied the GiViTI mortality prediction model to 194
                    patients admitted in 2008 to a single ICU participating to the GiViTI
                    project.</p>
        <p>In the second example, we applied the SAPS II <xref ref-type="bibr" rid="pone.0016110-Gall1">[9]</xref> scoring system to predict
                    mortality in a cohort of 2644 critically ill patients recruited by 103 Italian
                    ICUs during 2007, to evaluate the calibration of different scoring systems in
                    predicting hospital mortality.</p>
        <p>In the two examples we evaluated the calibration of the models through both
                    traditional tools and the methodology we are proposing. The main difference
                    between the two examples is the sample size: quite small in the former, quite
                    large in the latter example. Any valuable approach designed to provide
                    quality-of-care assessment should be able to return trustworthy and reliable
                    results, irrespective of the level of application (<italic>e.g.</italic>, single
                    physician, single unit, group of units). Unfortunately, due to the decreasing
                    sample size, the closer the assessment is to the final healthcare provider
                        (<italic>i.e.</italic> the single physician), the more the judgment varies.
                    In this sense, it is crucial to understand how different approaches behave
                    according to different sample sizes.</p>
        <p>In the first example, the overall observed ICU mortality was 32% (62 out
                    of 194), compared to 33% predicted by the GiViTI model. The corresponding
                    standardized mortality ratio (SMR) was 0.96 (95% confidence interval
                    (CI): 0.79, 1.12), suggesting an on-average behavior of the observed unit.
                    However, the SMR does not provide detailed information on the calibration of the
                    model. For instance, an SMR value of 1 (perfect calibration) may be obtained
                    even in the presence of significant miscalibration across risk classes, which
                    can globally compensate for each other if they are in opposite directions.</p>
        <p>The Hosmer–Lemeshow goodness-of-fit statistics are an improvement in this
                    respect. In the two proposed tests (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e003" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e004" xlink:type="simple"/></inline-formula>), patients are in fact ordered by risk of dying and then
                    grouped in deciles (of equal-size for the <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e005" xlink:type="simple"/></inline-formula> test, of
                    equal-risk for the <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e006" xlink:type="simple"/></inline-formula> test). The
                    statistics are finally obtained by summing the relative squared distances
                    between expected and observed mortality. In this way, every decile-specific
                    miscalibration leads to an increase in the overall statistic, independently of
                    the sign of the difference between expected and observed mortality. The
                    Hosmer–Lemeshow <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e007" xlink:type="simple"/></inline-formula>-statistic in our
                    sample yielded a <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e008" xlink:type="simple"/></inline-formula>-value of 32.4 with
                    10 degrees of freedom (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e009" xlink:type="simple"/></inline-formula>), the
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e010" xlink:type="simple"/></inline-formula>-statistic a <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e011" xlink:type="simple"/></inline-formula>-value of 32.7
                            (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e012" xlink:type="simple"/></inline-formula>). These values contradict the reassuring message given
                    by the SMR and suggest a problem of miscalibration. Unfortunately, the
                    Hosmer–Lemeshow statistics only provide an overall measure of calibration.
                    Hence, any ICU interested in gaining deeper insight into its own performance
                    should explore data with different techniques. More information is usually
                    obtained by plotting the calibration curve (reported in the left panel of <xref ref-type="fig" rid="pone-0016110-g001">Fig. 1</xref>), which is the
                    graphical representation of the rough numbers at the basis of the
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e013" xlink:type="simple"/></inline-formula>-statistic. In the example, the curve shows that the
                    mortality is greater than expected across low risk deciles, lower in medium risk
                    deciles, greater in medium-high risk deciles and, again, lower in high-risk
                    deciles. Unfortunately, this plot does not provide any information about the
                    statistical significance of deviations from the bisector. In particular, the
                    wide oscillations that appear for expected mortality greater than 0.5 are very
                    difficult to interpret from a clinical perspective and may simply be due to the
                    small sample size of these deciles. Finally, it is worth remarking that
                    connecting the calibration points gives the wrong idea that an observed
                    probability corresponding to each expected probability can be read from the
                    curve even between two points. This is clearly not correct, given the procedure
                    used to build the plot.</p>
        <fig id="pone-0016110-g001" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0016110.g001</object-id>
          <label>Figure 1</label>
          <caption>
            <title>Calibration plots through representation of observed mortality versus
                            expected mortality (bisector, <italic>dashed line</italic>).</title>
            <p>Left panel: Data of 194 patients staying longer than 24 hours in a single
                            Intensive Care Unit (ICU) taking part in GiViTI (Italian Group for the
                            Evaluation of Interventions in Intensive Care Medicine) in 2008;
                            expected mortality calculated with a prediction model developed by
                            GiViTI in 2008. Right panel: Data of 2644 critically ill patients
                            admitted to 103 ICUs in Italy from January to March 2007; expected
                            mortality calculated with SAPS II.</p>
          </caption>
          <graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.g001" xlink:type="simple"/>
        </fig>
        <p>In the second example, the SMR was significantly different from 1 (0.83,
                    95% CI: 0.79, 0.88), indicating a lower than expected mortality in our
                    sample. The two Hosmer–Lemeshow goodness-of-fit statistics
                            (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e014" xlink:type="simple"/></inline-formula>-value: 226.7, <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e015" xlink:type="simple"/></inline-formula>;
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e016" xlink:type="simple"/></inline-formula>-value: 228.5, <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e017" xlink:type="simple"/></inline-formula>) confirm poor
                    overall calibration. Finally, the calibration curve (<xref ref-type="fig" rid="pone-0016110-g001">Fig. 1</xref>, right panel) tells us that the lower
                    than expected mortality is proportional to patient severity, as measured by
                    expected mortality. The first two dots are so close to the bisector that they do
                    not modify the general message, despite being above it. Since expected mortality
                    is calculated using an old model, the most natural interpretation is that, as
                    expected, ICUs performed consistently better in 2008 than in 1993, when the SAPS
                    II score was developed.</p>
        <p>In summary, the above-mentioned tools for assessing quality of care based on
                    dichotomous outcomes suffer from various drawbacks, which are only partially
                    balanced by their integrated assessment. The SMR and Hosmer–Lemeshow
                    goodness-of-fit statistics only provide information on the overall behavior,
                    which is almost invariably insufficient for good clinical understanding, for
                    which a detailed information on specific values of mortality would be necessary.
                    The calibration curve seems to provide complementary information, but at least
                    two main disadvantages undermine its interpretation: first, it is not really a
                    curve; second, it is not accompanied by any information on the statistical
                    significance of deviations from the bisector. In the following sections, we
                    propose a method to fit the calibration curve and to compute its confidence
                    band. This method is applied to both the examples.</p>
      </sec>
      <sec id="s2b">
        <title>The calibration curve</title>
        <p>We define <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e018" xlink:type="simple"/></inline-formula> the probability of the dichotomous outcome experienced
                    by a patient admitted to the studied unit and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e019" xlink:type="simple"/></inline-formula> the expected
                    probability of the same outcome, provided by an external model representing the
                    reference standard of care. The quality of care is assessed by determining the
                    relationship between <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e020" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e021" xlink:type="simple"/></inline-formula> described by a function <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e022" xlink:type="simple"/></inline-formula>. In the ICU
                    example, if a patient has a theoretical probability
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e023" xlink:type="simple"/></inline-formula> of dying, his actual probability
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e024" xlink:type="simple"/></inline-formula> differs from <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e025" xlink:type="simple"/></inline-formula> depending on the
                    level of care the admitting unit is able to provide. If he has entered a
                    well-performing unit, <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e026" xlink:type="simple"/></inline-formula> will be lower than
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e027" xlink:type="simple"/></inline-formula> and <italic>vice versa</italic>. Hence, we can
                            write<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e028" xlink:type="simple"/><label>(1)</label></disp-formula>The function
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e029" xlink:type="simple"/></inline-formula>, to be determined, represents the level of care provided
                    or, in mathematical terms, the calibration function of the reference model to
                    the given sample.</p>
        <p>We start to note that, from a clinical standpoint,
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e030" xlink:type="simple"/></inline-formula> represents an infinitely severe patient with no chance
                    of survival. The opposite happens in the case of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e031" xlink:type="simple"/></inline-formula>, an infinitely
                    healthy patient with no chance of dying. Moreover, in the vast majority of real
                    cases, the expected probability of death is provided by a logistic regression
                            model<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e032" xlink:type="simple"/><label>(2)</label></disp-formula>where <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e033" xlink:type="simple"/></inline-formula> are the
                    patient's physiological and demographic parameters and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e034" xlink:type="simple"/></inline-formula> are the logistic parameters. In this case the values
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e035" xlink:type="simple"/></inline-formula> or <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e036" xlink:type="simple"/></inline-formula> can only be
                    obtained with non-physical infinite values of the variables
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e037" xlink:type="simple"/></inline-formula>, which therefore correspond to infinite (theoretical)
                    values of physiological or demographic parameters.</p>
        <p>This feature can be made more explicit by a standard change of variables. Instead
                    of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e038" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e039" xlink:type="simple"/></inline-formula>, ranging between 0
                    and 1, we used two new variables <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e040" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e041" xlink:type="simple"/></inline-formula>, ranging over the whole real axis
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e042" xlink:type="simple"/></inline-formula>, such that <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e043" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e044" xlink:type="simple"/></inline-formula>. A traditional way of doing so is to log-linearize the
                    probabilities through a logit transformation, where the logit of
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e045" xlink:type="simple"/></inline-formula> is the natural logarithm of
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e046" xlink:type="simple"/></inline-formula>. Hence, Eq. (1) is rewritten as<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e047" xlink:type="simple"/><label>(3)</label></disp-formula></p>
        <p>In a very general way, one can approximate <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e048" xlink:type="simple"/></inline-formula> with a polynomial
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e049" xlink:type="simple"/></inline-formula> of degree <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e050" xlink:type="simple"/></inline-formula>:<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e051" xlink:type="simple"/><label>(4)</label></disp-formula></p>
        <p>Once the relation between the logits <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e052" xlink:type="simple"/></inline-formula> has been
                    determined, the function <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e053" xlink:type="simple"/></inline-formula>, as expressed in
                    Eq. (1), is approximated up to the order <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e054" xlink:type="simple"/></inline-formula>
                            by<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e055" xlink:type="simple"/><label>(5)</label></disp-formula>where <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e056" xlink:type="simple"/></inline-formula> is given in Eq.
                    (3).</p>
        <p>When <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e057" xlink:type="simple"/></inline-formula>, Eq. (5) reduces to the Cox calibration function <xref ref-type="bibr" rid="pone.0016110-Cox1">[6]</xref>. In this
                    particular case, the probability <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e058" xlink:type="simple"/></inline-formula> is a logistic
                    function of the logit of the expected probability
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e059" xlink:type="simple"/></inline-formula>. The value of the parameters
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e060" xlink:type="simple"/></inline-formula> can be estimated through the maximum likelihood method,
                    from a given set of observations <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e061" xlink:type="simple"/></inline-formula>,
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e062" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e063" xlink:type="simple"/></inline-formula> is the
                    patient's final dichotomous outcome (0 or 1). Consequently, the estimators
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e064" xlink:type="simple"/></inline-formula> are obtained by maximizing<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e065" xlink:type="simple"/><label>(6)</label></disp-formula>where <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e066" xlink:type="simple"/></inline-formula> is the likelihood
                    function and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e067" xlink:type="simple"/></inline-formula> is its natural logarithm.</p>
        <p>The optimal value of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e068" xlink:type="simple"/></inline-formula> can be determined
                    with a likelihood-ratio test. Defining <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e069" xlink:type="simple"/></inline-formula> the maximum of the
                    log-likelihood <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e070" xlink:type="simple"/></inline-formula>, for a given
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e071" xlink:type="simple"/></inline-formula>, the variable<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e072" xlink:type="simple"/><label>(7)</label></disp-formula>is
                    distributed as a <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e073" xlink:type="simple"/></inline-formula> with 1 degree of
                    freedom, under the hypothesis that the system is truly described by a polynomial
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e074" xlink:type="simple"/></inline-formula> of order <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e075" xlink:type="simple"/></inline-formula>. Starting from
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e076" xlink:type="simple"/></inline-formula>, a new parameter <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e077" xlink:type="simple"/></inline-formula> is added to the
                    model only if the improvement in the likelihood provided by this new parameter
                    is significant enough, that is when<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e078" xlink:type="simple"/><label>(8)</label></disp-formula>where <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e079" xlink:type="simple"/></inline-formula> is the inverse of
                    the <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e080" xlink:type="simple"/></inline-formula> cumulative distribution with 1 degree of freedom. In the
                    present paper we use <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e081" xlink:type="simple"/></inline-formula>. The iterative
                    procedure stops at the first value of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e082" xlink:type="simple"/></inline-formula> for which the
                    above inequality is not satisfied. That is, the final value of
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e083" xlink:type="simple"/></inline-formula> is such that for each <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e084" xlink:type="simple"/></inline-formula>,
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e085" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e086" xlink:type="simple"/></inline-formula>.</p>
        <p>The choice of a quite large value of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e087" xlink:type="simple"/></inline-formula>
                        (<italic>i.e.</italic> retaining only very significant coefficients) is
                    supported by clinical reasons. In the quality-of-care setting, the calibration
                    function should indeed avoid multiple changes in the relationship between
                    observed and expected probabilities. Whilst it is untenable to assume that the
                    performance is uniform along the whole spectrum of severity, it is even less
                    likely it changes many times. We can imagine a unit that is better (or worse) at
                    treating sicker patients than healthy ones, but it would be very odd to find a
                    unit that performs well (or poorly) in less severe, poorly (or well) in
                    medium-severe, and well (or poorly) in more severe patients. Large values of
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e088" xlink:type="simple"/></inline-formula> assure to spot only significant phenomena without
                    spurious effects related to the statistical noise of data.</p>
        <p>A measure of the quality of care can thus be derived from the coefficients
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e089" xlink:type="simple"/></inline-formula>. If <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e090" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e091" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e092" xlink:type="simple"/></inline-formula>, the considered
                    unit performs exactly as the general model (<italic>i.e.</italic>, the
                    calibration curve matches the bisector). Overall calibration can be assessed
                    through a Likelihood-ratio test or a Wald test, applied to the coefficients
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e093" xlink:type="simple"/></inline-formula>, with the null hypothesis
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e094" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e095" xlink:type="simple"/></inline-formula> for
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e096" xlink:type="simple"/></inline-formula>, which corresponds to perfect calibration. In the
                    particular case in which <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e097" xlink:type="simple"/></inline-formula>,
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e098" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e099" xlink:type="simple"/></inline-formula> can be
                    respectively identified with the Cox parameters <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e100" xlink:type="simple"/></inline-formula> and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e101" xlink:type="simple"/></inline-formula>
                    <xref ref-type="bibr" rid="pone.0016110-Cox1">[6]</xref>. Cox referred
                    to them respectively as the bias and the spread because
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e102" xlink:type="simple"/></inline-formula> represents the average behavior with respect to the
                    perfect calibration, while <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e103" xlink:type="simple"/></inline-formula> signals the
                    presence of different behaviors across risk classes.</p>
        <p>In the first example (single ICU), the iterative procedure described above stops
                    at <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e104" xlink:type="simple"/></inline-formula>, that is the linear approximation of the calibration
                    function. The Likelihood-ratio test gives a <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e105" xlink:type="simple"/></inline-formula>-value of 0.048 and
                    the Wald test gives <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e106" xlink:type="simple"/></inline-formula>. Both tests warn
                    that the model is not calibrating well in the sample. Notably, this approach
                    discloses a miscalibration which the SMR fails to detect (see section
                        <italic>Two illustrative examples</italic>), confirming the result of the
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e107" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e108" xlink:type="simple"/></inline-formula> tests. In the
                    second example (a group of ICUs), the iterative procedure described above
                    stopped at <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e109" xlink:type="simple"/></inline-formula>. The Likelihood-ratio test gives a
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e110" xlink:type="simple"/></inline-formula>-value of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e111" xlink:type="simple"/></inline-formula> and the Wald test
                    a <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e112" xlink:type="simple"/></inline-formula>-value of <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e113" xlink:type="simple"/></inline-formula>, indicating a
                    miscalibration of the model.</p>
        <p>One approach to obtain more detailed information about the range of probabilities
                    in which the model does not calibrate well, is to plot the calibration function
                    of Eq. (5), built through the estimated coefficients
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e114" xlink:type="simple"/></inline-formula>, with <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e115" xlink:type="simple"/></inline-formula>, where
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e116" xlink:type="simple"/></inline-formula> is fixed by the above described procedure. In <xref ref-type="fig" rid="pone-0016110-g002">Fig. 2</xref>, we plot such a curve
                    for our examples in the range of expected probability for which observations are
                    present, in order to avoid extrapolation. The model calibrates well when the
                    calibration curve is close to the bisector. This curve is clearly more
                    informative than the traditional calibration plot of expected against observed
                    outcomes, averaged over subgroups (<xref ref-type="fig" rid="pone-0016110-g001">Fig. 1</xref>). In fact, spurious effects related to statistical noise due
                    to low populated subgroups (in high risk deciles) are completely suppressed in
                    this new plot. However, no statistically meaningful information concerning the
                    deviation of the curve from the bisector has yet been provided.</p>
        <fig id="pone-0016110-g002" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0016110.g002</object-id>
          <label>Figure 2</label>
          <caption>
            <title>Calibration functions (<italic>solid line</italic>) compared to the
                            bisector (<italic>dashed line</italic>) for the two discussed
                            examples.</title>
            <p>The stopping criterion yielded <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e117" xlink:type="simple"/></inline-formula> for the
                            left curve and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e118" xlink:type="simple"/></inline-formula> for the
                            right one. To avoid extrapolation the curve have been plotted in the
                            range of mortality where data are present. Refer to the caption of <xref ref-type="fig" rid="pone-0016110-g001">Fig. 1</xref> for information
                            about the data sets.</p>
          </caption>
          <graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.g002" xlink:type="simple"/>
        </fig>
      </sec>
      <sec id="s2c">
        <title>The calibration belt</title>
        <p>To estimate the degree of uncertainty around the calibration curve, we have to
                    compute the curve's confidence belt. In general, given a confidence level
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e119" xlink:type="simple"/></inline-formula>, by performing lots of experiments, the whole unknown
                    true curve <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e120" xlink:type="simple"/></inline-formula> will be contained in the confidence belt in a fraction
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e121" xlink:type="simple"/></inline-formula> of experiments. The problem of drawing a confidence band
                    for a general logistic response curve (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e122" xlink:type="simple"/></inline-formula>) has been solved
                    in <xref ref-type="bibr" rid="pone.0016110-Hauck1">[10]</xref>, <xref ref-type="bibr" rid="pone.0016110-Brand1">[11]</xref>. In <xref ref-type="supplementary-material" rid="pone.0016110.s001">Appendix
                    S1</xref>, the analysis of <xref ref-type="bibr" rid="pone.0016110-Hauck1">[10]</xref> is generalized to the case in which
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e123" xlink:type="simple"/></inline-formula>. In this section we report only the result.</p>
        <p>Determining a confidence region for the curve <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e124" xlink:type="simple"/></inline-formula> is equivalent to
                    determining a confidence region in the <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e125" xlink:type="simple"/></inline-formula>-dimensional space
                    of parameters <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e126" xlink:type="simple"/></inline-formula>. This is easy once one notes that, for large
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e127" xlink:type="simple"/></inline-formula>, the estimated <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e128" xlink:type="simple"/></inline-formula>, obtained by
                    maximizing the likelihood of Eq. (6), have a multivariate normal distribution
                    with mean values <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e129" xlink:type="simple"/></inline-formula>, variances
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e130" xlink:type="simple"/></inline-formula>, and covariances <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e131" xlink:type="simple"/></inline-formula> (see Eq. (S2) in
                        <xref ref-type="supplementary-material" rid="pone.0016110.s001">Appendix
                        S1</xref>).</p>
        <p>Given a confidence level <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e132" xlink:type="simple"/></inline-formula>, it is possible to
                    show (see <xref ref-type="supplementary-material" rid="pone.0016110.s001">Appendix S1</xref>) that the confidence band for
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e133" xlink:type="simple"/></inline-formula> is<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e134" xlink:type="simple"/><label>(9)</label></disp-formula>where the confidence interval of the logit
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e135" xlink:type="simple"/></inline-formula> is<disp-formula><graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.e136" xlink:type="simple"/><label>(10)</label></disp-formula>and <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e137" xlink:type="simple"/></inline-formula> is the inverse of
                    the <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e138" xlink:type="simple"/></inline-formula> cumulative distribution with 2 degrees of freedom. The
                    above the variances denotes that the values are estimated through the maximum
                    likelihood method.</p>
        <p>It is worth noting the one-to-one correspondence between this procedure to build
                    the confidence band and the Wald test applied to the set of parameters
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e139" xlink:type="simple"/></inline-formula>. In fact, when the test <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e140" xlink:type="simple"/></inline-formula>-value is less than
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e141" xlink:type="simple"/></inline-formula>, the band at <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e142" xlink:type="simple"/></inline-formula> confidence level
                    does not include the bisector and <italic>vice versa</italic>.</p>
        <p>We are now able to plot the confidence belt to estimate the observed probability
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e143" xlink:type="simple"/></inline-formula>, as a function of the estimated probability
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e144" xlink:type="simple"/></inline-formula>, given by a reference model. Since the parameters of the
                    calibration curve and belt are estimated through a fitting procedure, in order
                    to prevent incorrect extrapolation, one must not extend them outside the range
                    of expected probability <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e145" xlink:type="simple"/></inline-formula> in which
                    observations are present. In <xref ref-type="fig" rid="pone-0016110-g003">Fig.
                        3</xref> we plot two confidence belts, for both examples, using
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e146" xlink:type="simple"/></inline-formula> (inner belt, dark gray) and
                            <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e147" xlink:type="simple"/></inline-formula> (outer belt, light gray). Statistically significant
                    information on the region where the calibration curve calibrates poorly can now
                    be derived from this plot, where the bisector is not contained in the belt.</p>
        <fig id="pone-0016110-g003" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0016110.g003</object-id>
          <label>Figure 3</label>
          <caption>
            <title>Calibration belts for the two discussed examples at two confidence
                            levels.</title>
            <p><inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e148" xlink:type="simple"/></inline-formula> (<italic>dark shaded area</italic>) and
                                    <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e149" xlink:type="simple"/></inline-formula>
                                (<italic>light shaded area</italic>);
                                    <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e150" xlink:type="simple"/></inline-formula> for the
                            first example (left panel), <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e151" xlink:type="simple"/></inline-formula> for the
                            second (right panel). bisector (<italic>dashed line</italic>). As in
                                <xref ref-type="fig" rid="pone-0016110-g002">Fig. 2</xref>, the
                            calibrations bands have been plotted in the range of mortality where
                            data are present. Refer to the caption of <xref ref-type="fig" rid="pone-0016110-g001">Fig. 1</xref> for information about the data
                            sets.</p>
          </caption>
          <graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.g003" xlink:type="simple"/>
        </fig>
        <p>In the first example (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e152" xlink:type="simple"/></inline-formula>), the confidence
                    belts do not contain the bisector for expected mortality values higher than 0.56
                    (80% confidence level) and 0.83 (95% confidence level). This
                    clarifies the result of the Hosmer–Lemeshow tests which have already
                    highlighted the poor miscalibration of the model for the particular ICU. Now it
                    is possible to claim with confidence that this miscalibration corresponds to
                    better performance of the studied ICU compared to the national average for high
                    severity patients.</p>
        <p>In the second example, given the larger sample, the number of significant
                    parameters is 3 (<inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e153" xlink:type="simple"/></inline-formula>) and the
                    information provided by the calibration belt is very precise, as proven by the
                    very narrow bands. From the calibration belt, the observed mortality is lower
                    than the expected one when this is greater than 0.25, while the model is well
                    calibrated for low-severity patients. The lower-than-expected mortality is not
                    surprising and can be attributed to improvements of the quality of care since
                    SAPS II was developed, about 15 years before data collection.</p>
      </sec>
    </sec>
    <sec id="s3">
      <title>Discussion</title>
      <p>Calibration, which is the ability to correctly relate the real probability of an
                event to its estimation from an external model, is pivotal in assessing the validity
                of predictive models based on dichotomous variables. This problem can be approached
                in two ways. First, by using statistical methods which investigate the overall
                calibration of the model with respect to an observed sample. This is the case with
                the SMR, the Hosmer–Lemeshow statistics, and the Cox calibration test. As
                shown in this paper, all these statistics have drawbacks that limit their
                application as useful tools in quality of care assessment. The aim of the second
                approach is to localize possible miscalibration as a function of expected
                probability. An easy but misleading way to achieve this target is to plot averages
                of observed and expected probability over subsets. As illustrated above, this
                procedure might lead to non-informative or even erroneous conclusions.</p>
      <p>We propose a solution to assess the dependence of calibration on the expected
                probability, by fitting the observed data with a very general calibration function,
                and plotting the corresponding curve. This method also enables confidence intervals
                to be computed for the curve, which can be plotted as a calibration belt. This
                approach allows to finely discriminate the ranges in which the model miscalibrates,
                in addition to indicating the direction of this phenomenon. This method thus offers
                a substantial improvement in the assessment of quality of care, compared to other
                available tools.</p>
    </sec>
    <sec id="s4">
      <title>Supporting Information</title>
      <supplementary-material id="pone.0016110.s001" mimetype="application/pdf" position="float" xlink:href="info:doi/10.1371/journal.pone.0016110.s001" xlink:type="simple">
        <label>Appendix S1</label>
        <caption>
          <p><bold>Computation of the confidence band.</bold> In this Appendix, we compute
                        the confidence band for the calibration curve. By generalizing the procedure
                        given in <xref ref-type="bibr" rid="pone.0016110-Hauck1">[10]</xref> to the case in which
                                <inline-formula><inline-graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0016110.e154" xlink:type="simple"/></inline-formula>, we demonstrate the results reported in Eqs. (9) and
                        (10).</p>
          <p>(PDF)</p>
        </caption>
      </supplementary-material>
    </sec>
  </body>
  <back>
    <ack>
      <p>The authors have substantially contributed to the conception and interpretation of
                data, drafting the article or critically revising it. All authors approved the final
                version of the manuscript. None of the authors has any conflict of interest in
                relation to this work. The authors acknowledge Laura Bonavera, Marco Morandotti and
                Carlotta Rossi for stimulating discussions. The authors also thank all the
                participants from the ICUs who took part in the project providing the data for the
                illustrative examples. The authors wish finally to thank an anonymous referee whose
                suggestions considerably contributed to improve and generalize our treatment.</p>
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="pone.0016110-Donabedian1">
        <label>1</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Donabedian</surname><given-names>A</given-names></name></person-group>
                    <year>1988</year>
                    <article-title>The quality of care. how can it be assessed?</article-title>
                    <source>JAMA</source>
                    <volume>260</volume>
                    <fpage>1743</fpage>
                    <lpage>1748</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Wyatt1">
        <label>2</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Wyatt</surname><given-names>J</given-names></name><name name-style="western"><surname>Altman</surname><given-names>D</given-names></name></person-group>
                    <year>1995</year>
                    <article-title>Prognostic models: clinically useful or quickly
                        forgotten?</article-title>
                    <source>Bmj</source>
                    <volume>311</volume>
                    <fpage>1539</fpage>
                    <lpage>1541</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Lemeshow1">
        <label>3</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Lemeshow</surname><given-names>S</given-names></name><name name-style="western"><surname>Hosmer</surname><given-names>D</given-names></name></person-group>
                    <year>1982</year>
                    <article-title>A review of goodness of fit statistics for use in the development
                        of logistic regression models.</article-title>
                    <source>Am J Epidemiol</source>
                    <volume>115</volume>
                    <fpage>92</fpage>
                    <lpage>106</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Bertolini1">
        <label>4</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Bertolini</surname><given-names>G</given-names></name><name name-style="western"><surname>D'Amico</surname><given-names>R</given-names></name><name name-style="western"><surname>Nardi</surname><given-names>D</given-names></name><name name-style="western"><surname>Tinazzi</surname><given-names>A</given-names></name><name name-style="western"><surname>Apolone</surname><given-names>G</given-names></name><etal/></person-group>
                    <year>2000</year>
                    <article-title>One model, several results: the paradox of the
                        hosmer–lemeshow goodness-of-fit test for the logistic regression
                        model.</article-title>
                    <source>J Epidemiol Biostat</source>
                    <volume>5</volume>
                    <fpage>251</fpage>
                    <lpage>253</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Kramer1">
        <label>5</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Kramer</surname><given-names>A</given-names></name><name name-style="western"><surname>Zimmerman</surname><given-names>J</given-names></name></person-group>
                    <year>2007</year>
                    <article-title>Assessing the calibration of mortality benchmarks in critical
                        care: The hosmer–lemeshow test revisited.</article-title>
                    <source>Crit Care Med</source>
                    <volume>35</volume>
                    <fpage>2052</fpage>
                    <lpage>2056</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Cox1">
        <label>6</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Cox</surname><given-names>D</given-names></name></person-group>
                    <year>1958</year>
                    <article-title>Two further applications of a model for a method of binary
                        regression.</article-title>
                    <source>Biometrika</source>
                    <volume>45</volume>
                    <fpage>562</fpage>
                    <lpage>565</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Miller1">
        <label>7</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Miller</surname><given-names>M</given-names></name><name name-style="western"><surname>Hui</surname><given-names>S</given-names></name><name name-style="western"><surname>Tierney</surname><given-names>W</given-names></name></person-group>
                    <year>1991</year>
                    <article-title>Validation techniques for logistic regression
                        models.</article-title>
                    <source>Stat Med</source>
                    <volume>10</volume>
                    <fpage>1213</fpage>
                    <lpage>1226</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Rossi1">
        <label>8</label>
        <element-citation publication-type="other" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Rossi</surname><given-names>C</given-names></name><name name-style="western"><surname>Pezzi</surname><given-names>A</given-names></name><name name-style="western"><surname>Bertolini</surname><given-names>G</given-names></name></person-group>
                    <year>2009</year>
                    <article-title>Progetto Margherita - Promuovere la ricerca e la valutazione in
                        Terapia Intensiva.</article-title>
                    <source>RAPPORTO 2008</source>
                    <publisher-loc>Bergamo</publisher-loc>
                    <publisher-name>Edizioni Sestante</publisher-name>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Gall1">
        <label>9</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Gall</surname><given-names>JL</given-names></name><name name-style="western"><surname>Lemeshow</surname><given-names>S</given-names></name><name name-style="western"><surname>Saulnier</surname><given-names>F</given-names></name></person-group>
                    <year>1993</year>
                    <article-title>A new simplified acute physiology score (saps ii) based on a
                        european/north american multicenter study.</article-title>
                    <source>JAMA</source>
                    <volume>270</volume>
                    <fpage>2957</fpage>
                    <lpage>2963</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Hauck1">
        <label>10</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Hauck</surname><given-names>W</given-names></name></person-group>
                    <year>1983</year>
                    <article-title>A note on confidence bands for the logistic response
                        curve.</article-title>
                    <source>The American Statistician</source>
                    <volume>37</volume>
                    <fpage>158</fpage>
                    <lpage>160</lpage>
                </element-citation>
      </ref>
      <ref id="pone.0016110-Brand1">
        <label>11</label>
        <element-citation publication-type="journal" xlink:type="simple">
                    <person-group person-group-type="author"><name name-style="western"><surname>Brand</surname><given-names>R</given-names></name><name name-style="western"><surname>Pinnock</surname><given-names>D</given-names></name><name name-style="western"><surname>Jackson</surname><given-names>K</given-names></name></person-group>
                    <year>1973</year>
                    <article-title>Large sample confidence bands for the logistic response curve and
                        its inverse.</article-title>
                    <source>The American Statistician</source>
                    <volume>27</volume>
                    <fpage>157</fpage>
                    <lpage>160</lpage>
                </element-citation>
      </ref>
    </ref-list>
    
  </back>
</article>