Tutorials › Model-Informed Drug Development (MIDD) › Detecting Calibration Drift After Approval

Labeling and Post-Marketing Updates · Tutorial 517 of 596

Detecting Calibration Drift After Approval

Use complementary diagnostics to identify where a previously adequate model no longer predicts postapproval outcomes reliably.

Advanced 11 min read

What You'll Learn

  • Define calibration drift in relation to a frozen model and a specified postapproval population.
  • Calculate and interpret observed-to-predicted ratios for suitable outcomes.
  • Read calibration intercepts and slopes against their ideal values.
  • Use predictive intervals and residual trends to look for systematic miscalibration.
  • Distinguish a drift signal from sampling variability, data problems, and limitations of a diagnostic.
  • Choose complementary diagnostics and explain why a single summary can be misleading.

What Calibration Drift Means

A model can continue to produce predictions after approval yet become less reliable for the population or care setting in which it is used. Changes in patient characteristics, prescribing, measurement, or clinical practice may alter the relationship between predictors and outcomes. Calibration drift is a change in the agreement between the model’s predictions and outcomes observed in a specified postapproval population. It is not simply a change in the distribution of predictions, nor does it by itself identify the cause of that change.

The question here is narrower than whether to update a population model: it is whether a defined version of the model remains calibrated for a defined outcome, prediction horizon, and population. The earlier material on updating population models provides the broader context for model changes. For drift detection, first preserve the model version and prediction process being assessed. Generate predictions without using the outcomes being evaluated, and record the target population, endpoint definition, time horizon, and prediction time. Otherwise, apparent agreement may partly reflect information from the same outcomes used to assess performance.

Definition: A model is calibrated for a specified population and prediction target when, across cases assigned a given prediction (or group of predictions), the corresponding observed outcomes agree with the model’s predicted outcomes in the relevant sense. Calibration drift is evidence that this agreement has changed or no longer holds in the postapproval setting. Calibration is target-specific: a model may be calibrated for one outcome, subgroup, or horizon and miscalibrated for another.

For a continuous outcome, calibration concerns agreement between predicted and observed values. For a binary outcome, it concerns whether predicted event probabilities agree with event frequencies across comparable cases. For a count outcome, observed and predicted counts can be compared, but their variability and exposure time must be handled appropriately. A diagnostic must match the outcome scale and the model’s predictive distribution.

Set Up a Fair Assessment

Before plotting or calculating a summary, verify that the predictions and outcomes refer to the same estimand and conditions. In particular, confirm that units, assay or measurement conventions, endpoint definitions, observation windows, and handling of missing data are consistent. A mismatch can create apparent drift even if the underlying relationship has not changed. Check also that each prediction was available at the intended decision time; using information recorded after that time can make performance look artificially good.

Use the model version and prediction procedure that are relevant to the question, and keep each individual’s prediction fixed for the assessment. If predictions are generated using estimates from a fitted model, parameter uncertainty and residual variability should be represented in predictive checks when relevant. Patients may contribute repeated observations or share sites, clinicians, or calendar periods; those dependencies reduce the amount of independent information. A nominal patient count should not be treated as an effective sample size without considering such clustering.

Calibration diagnostics are evidence, not automatic decision rules. Specify in advance which summaries matter clinically and what degree of discrepancy would be consequential. A small numerical departure from an ideal value can be unimportant when outcomes are noisy, while a modest average discrepancy may matter greatly near a dose or safety decision boundary. Examine uncertainty and clinical context together rather than declaring drift from a single threshold.

Observed-to-Predicted Comparisons

For a positive outcome summarized on its original scale, a simple diagnostic is the ratio of the observed mean to the predicted mean. The means must summarize the same individuals or comparable groups, using the same weights and time window. A ratio above 1 indicates that the observed mean exceeds the predicted mean; a ratio below 1 indicates that it is lower. For a binary endpoint, the analogous comparison is an observed event proportion divided by the mean predicted probability, provided the population and follow-up definitions align.

$$ \text{O/P}=\frac{\text{observed mean}}{\text{predicted mean}} $$

An O/P ratio close to 1 is consistent with agreement in the aggregate, but it does not establish calibration throughout the prediction range or across subgroups. Overprediction in one stratum and underprediction in another can cancel in the overall average. Ratios are also inappropriate when the predicted mean is zero and can be unstable when it is close to zero. For outcomes that can be zero or negative, calibration plots and residuals on a meaningful scale are usually more suitable.

Worked Example: Aggregate O/P and Predictive-Interval Coverage

Suppose a frozen model predicts a positive biomarker outcome for 20 hypothetical postapproval patients. The mean prediction is 40 mg/L, and the observed mean is 46 mg/L. The model’s individual 90% predictive intervals contain 17 of the 20 observed outcomes. Assess these summaries.

O/P calculation. Using the same 20 patients for both means, \( \text{O/P}=46/40=1.15 \). The observed mean is 1.15 times the predicted mean, or 15% higher. This suggests aggregate underprediction in this sample; it does not show that every patient’s outcome was underpredicted.

Coverage calculation. The empirical coverage is \(17/20=0.85\), or 85%. If the predictive intervals are correctly constructed for comparable independent cases and the model is calibrated, their long-run coverage should be close to 90%. An observed 85% in only 20 cases is not, by itself, strong evidence of drift: coverage varies from sample to sample, and dependence between patients would further affect its interpretation. Inspect which outcomes fell outside the intervals and whether the misses cluster in a subgroup or direction.

Calibration Plots and Regression Summaries

A calibration plot compares observed outcomes with predictions. For a continuous outcome, plot observed values against predicted values and include the identity line \(y=x\), which represents perfect agreement. A smooth trend or grouped averages can make systematic departures visible. Grouping reduces visual noise but can hide variation within groups, so show the underlying data or uncertainty where practical. For binary outcomes, group predicted probabilities and compare each group’s observed event proportion with its mean predicted probability; the vertical scale is a probability, not an event count.

A descriptive calibration regression for a continuous outcome writes the observed outcome \(Y_i\) as a function of the fixed prediction \(\hat{Y}_i\):

$$ Y_i=a+b\hat{Y}_i+\epsilon_i $$

Here \(a\) is the calibration intercept, \(b\) is the calibration slope, and \(\epsilon_i\) represents deviations not explained by the linear calibration relation. Ideal values are \(a=0\) and \(b=1\). A positive intercept can indicate that outcomes tend to exceed predictions near the low end; a slope below 1 can indicate that predictions vary more than observed outcomes, with low predictions tending to be too low and high predictions too high. These interpretations describe the fitted relationship, not a causal mechanism.

The regression is a diagnostic summary, not a substitute for plotting. It assumes the chosen linear summary is useful over the prediction range and can be distorted by outliers, uneven prediction density, dependence, or a nonlinear calibration pattern. A small postapproval sample can yield unstable estimates. Any uncertainty interval should account for the study design and clustering; treating repeated observations as independent can make uncertainty look too small.

Worked Example: Interpreting a Calibration Regression

In a hypothetical assessment of biomarker concentration, five predicted means in mg/L are 5, 8, 10, 12, and 15. The corresponding observed means are 6, 8, 11, 11, and 14 mg/L. Calculate the ordinary least-squares calibration line from these five points and interpret it descriptively.

The predicted-value mean is \(\bar{x}=(5+8+10+12+15)/5=10\) mg/L. The observed-value mean is \(\bar{y}=(6+8+11+11+14)/5=10\) mg/L. Thus the fitted intercept can be calculated after finding the slope. The sum of cross-products is \( \sum(x_i-\bar{x})(y_i-\bar{y})=20+4+0+2+20=46 \), and the sum of squared prediction deviations is \( \sum(x_i-\bar{x})^2=25+4+0+4+25=58 \).

$$ b=\frac{46}{58}=0.7931,\qquad a=\bar{y}-b\bar{x}=10-(0.7931)(10)=2.069 $$

The fitted line is approximately \(Y=2.069+0.7931\hat{Y}\), with concentrations in mg/L. The positive intercept and slope below 1 summarize a pattern in which low predictions tend to be below observed values and high predictions tend to be above them. For example, at a prediction of 5 mg/L the fitted observed value is about 6.03 mg/L; at a prediction of 15 mg/L it is about 13.97 mg/L. With only five points, this is a descriptive signal, not a precise estimate of population-wide drift. The plot and uncertainty are essential before drawing a stronger conclusion.

Residual Trends and Predictive Checks

Residuals preserve information that a single O/P ratio can conceal. For a continuous outcome, define the raw residual as \(e_i=Y_i-\hat{Y}_i\); positive residuals mean the observed outcome exceeded its prediction. If outcomes have different predictive variability, a standardized residual can be more comparable: divide the residual by an appropriate predictive standard deviation. The standardization must match the model’s prediction target and account for relevant sources of predictive variability. A pattern of residuals against calendar time, dose, predicted value, or a clinically relevant subgroup can reveal where calibration is failing.

Predictive checks compare observed data with what the model would predict before seeing those outcomes. For example, compare observed interval coverage, subgroup summaries, or the distribution of residuals with the corresponding predictive distributions. A useful check asks whether the observed statistic is unusual under the model, not merely whether it differs from its expected value. Predictive intervals should be evaluated on the same scale and for the same horizon as the outcome. Repeated monitoring requires caution: examining many outcomes, subgroups, and time windows increases the chance of finding an apparently unusual pattern by chance.

Worked Example: Detecting a Residual Trend Across Time

For five successive hypothetical quarters, the mean standardized residuals are \(-0.1,\ 0.0,\ 0.2,\ 0.4,\ 0.5\). Treat the quarter index as \(x=0,1,2,3,4\). Calculate the least-squares slope of mean standardized residual against quarter, giving each quarter equal weight.

The mean quarter index is 2 and the mean residual is 0.2. The sum of cross-products is \( (-2)(-0.3)+(-1)(-0.2)+(0)(0)+(1)(0.2)+(2)(0.3)=1.6 \). The sum of squared quarter deviations is \(4+1+0+1+4=10\). Therefore the slope is \(1.6/10=0.160\) standardized-residual units per quarter.

The positive slope means that average residuals become more positive over these quarters: observed outcomes increasingly exceed predictions on average. This is a drift signal to investigate, not proof that the model itself caused the pattern. Check the numbers of patients per quarter, changes in measurement or data capture, and whether the same trend appears in clinically important strata. Because quarter means may have different precision and the underlying observations may be clustered, an equal-weight slope is a transparent descriptive calculation, not necessarily the appropriate inferential analysis.

How to Interpret Disagreement and Choose Diagnostics

The diagnostics answer related but distinct questions. An O/P ratio summarizes average bias on a ratio scale. A calibration plot reveals the shape and location of departures. A calibration regression compresses that pattern into intercept and slope summaries. Residual trends test whether error changes systematically with time or another covariate. Predictive checks ask whether observed features are plausible under the full predictive model. A convincing assessment uses more than one view, chosen before looking at results where possible.

DiagnosticUseful forMain limitation
O/P comparisonAverage discrepancy for positive outcomes or event ratesCan conceal offsetting errors across ranges or subgroups
Calibration plotShape and range of miscalibrationCan be noisy or sensitive to grouping and smoothing choices
Calibration intercept and slopeCompact summaries of average offset and spreadA linear summary may miss nonlinear patterns and depends on adequate data
Residual trendSystematic error across time, dose, or subgroupsMultiple searches and dependence can make patterns look more compelling than they are
Predictive checkWhether observed summaries and variability are plausible under the modelDepends on a correctly specified predictive distribution and a prespecified, relevant check

If the overall O/P ratio is near 1 but the calibration plot curves away from the identity line, average agreement is masking local miscalibration. If the mean residual is near zero but residuals trend upward over time, positive and negative errors may be canceling. Conversely, an isolated interval miss does not establish drift. Examine the size, direction, persistence, and clinical implications of discrepancies alongside sampling uncertainty and data quality.

A calibration diagnostic does not identify why performance changed. A discrepancy can reflect a changed population, changes in measurement, an incorrect endpoint mapping, model misspecification, or chance variation. Calibration also does not guarantee that predictions are useful for a particular decision: decision relevance depends on the consequences of prediction error and the decision context. Recalibrating a model may improve agreement for the assessed data while failing to resolve a structural problem or transportability limitation; the choice of remedy requires a separate, justified assessment.

Common Pitfall

Common mistake: “The overall O/P ratio is 1.00, so the model is calibrated.” An aggregate ratio only says that the two means agree in that summary. For example, one subgroup can be underpredicted while another is overpredicted by a similar amount, producing an overall ratio near 1. The correction is to examine calibration across the prediction range, time, and clinically relevant groups, and to assess predictive variability as well as the mean.

A Practical Review Sequence

1
Lock the target.
Specify the model version, population, endpoint, units, prediction time, and horizon being evaluated.
2
Validate the data and predictions.
Confirm matching definitions and identify repeated observations, missingness, or measurement changes that affect interpretation.
3
Summarize agreement.
Calculate a suitable O/P comparison and inspect calibration plots or regression summaries on the relevant scale.
4
Look for structure in error.
Plot residuals against time and important covariates; compare predictive checks with their expected variability.
5
Judge evidence in context.
Consider uncertainty, clustering, repeated monitoring, clinical consequences, and plausible data or population changes before concluding that drift is present.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. A model predicts a mean positive outcome of 24 mg/L, while the observed mean is 30 mg/L. Calculate O/P and state what it indicates.
  2. For a binary endpoint, an overall observed event proportion matches the mean predicted probability. Give one reason this does not establish calibration across the population.
  3. A calibration regression has intercept 0 and slope 0.75. What does the slope suggest, and what caution applies?
  4. Mean residuals are positive in the latest periods but average to zero across all periods. What diagnostic issue does this illustrate?
  5. Why should 18 of 20 outcomes inside nominal 90% predictive intervals not automatically be called model failure?

Solutions. 1. \(30/24=1.25\); the observed mean is 1.25 times the predicted mean, or 25% higher, indicating aggregate underprediction in this sample. 2. Calibration can differ across risk groups, so overprediction and underprediction may cancel in the overall average. 3. A slope below 1 suggests predictions are more spread out than the observed outcomes, with low predictions tending to be too low and high predictions too high; the estimate may be uncertain or the pattern may not be linear. 4. Errors can cancel in an overall average, hiding a time trend; inspect residuals by time. 5. Predictive coverage varies from sample to sample, and 20 cases provide limited information; interpretation also depends on the predictive intervals being appropriate and the observations being sufficiently independent.