Tutorials › Model-Informed Drug Development (MIDD) › Diagnostics for Biomarker Exposure-Response Models

Early-Phase Exposure-Response · Tutorial 160 of 596

Diagnostics for Biomarker Exposure-Response Models

Use complementary diagnostic displays to identify where a biomarker exposure-response model fails and decide what to investigate next.

Intermediate 11 min read

What You'll Learn

  • Define and interpret observed-minus-predicted residuals for biomarker responses.
  • Read residual-versus-time, residual-versus-exposure, and observed-versus-predicted displays.
  • Distinguish time-course patterns from exposure-response patterns.
  • Assess whether individual observations unduly influence a fitted model.
  • Use predictive checks to compare simulated and observed biomarker patterns.
  • Recognize diagnostic limitations in small, repeated-measures early-phase datasets.

Why Diagnose a Biomarker Exposure-Response Model?

A fitted exposure-response model can produce a plausible average curve while systematically missing important features of the data. It may predict responses that are too early or too late, miss a change in response across exposure levels, or fit well only because one unusual observation pulls the curve toward itself. Diagnostics help reveal these failures before the model is used to interpret biomarker effects or inform a development decision.

This tutorial focuses on three complementary tools: residual plots, observed-versus-predicted displays, and predictive checks. None proves that a model is correct. Each can show patterns inconsistent with the model assumptions and help locate where further investigation is needed. In early-phase studies, the number of participants and exposure levels may be limited, so plots should be interpreted alongside the sampling schedule, assay performance, baseline and time-course controls, and the model’s intended use.

Residuals and the Patterns They Reveal

Definition: For observation \(i\), a residual is the observed biomarker response minus the response predicted by the fitted model at that observation’s exposure, time, baseline, and other modeled conditions: $$ e_i = y_i - \hat{y}_i. $$ A positive residual means the observed response is higher than predicted; a negative residual means it is lower. The units are the units of the biomarker response.

A residual is not the same as the unobserved error in the data-generating model: model parameters were estimated from the same observations, so residuals can be smaller or more structured than the underlying errors. Still, a well-specified mean model with an appropriate error model should generally leave residuals without a systematic pattern against variables that the model is supposed to explain.

Before interpreting a residual display, state the relevant assumptions. For an additive-error model, one might assume \(Y_i = f(C_i,t_i;\theta)+\epsilon_i\), where \(f\) is the biomarker model, \(C_i\) is exposure, \(t_i\) is time, \(\theta\) is the parameter vector, and errors have mean zero conditional on the modeled predictors. A residual pattern against time suggests that the conditional mean may be missing time structure; a pattern against exposure suggests that the exposure-response relationship may be inadequate. If the model instead assumes response variability changes with the mean, raw residual spread may change even when the variance model is correct. In that case, inspect residuals scaled by their modeled standard deviations as well as raw residuals.

In repeated-measures data, observations from one participant are not automatically independent. If the model includes participant-level effects or a residual correlation structure, the diagnostics should respect that structure. A run of positive residuals within one participant can reflect a participant-specific offset or time course, not necessarily a population-wide exposure-response failure. Plot points by participant or connect each participant’s observations to make that structure visible.

Worked Example: Reading Residuals Across Exposure

In a hypothetical study, a fitted direct-effect model predicts biomarker reduction from exposure. At four exposure values, observed and predicted reductions (in percentage points from baseline) are:

Exposure (mg/L)Observed reductionPredicted reductionResidual
145-1
21183
414131
81516-1

For the second observation, \(e_i=y_i-\hat{y}_i=11-8=3\) percentage points. Applying the same calculation to all rows gives \(-1,3,1,-1\) percentage points. The positive residuals at the middle exposure values and negative residuals at both ends may suggest curvature or a misplaced transition in the fitted exposure-response curve. With only four observations, however, this pattern is a clue, not persuasive evidence by itself. The next step is to inspect all observations, participant groupings, and the model’s assumptions rather than add a parameter solely to follow these four residuals.

Three Complementary Displays

A residual-versus-time plot places residuals on the vertical axis and sampling time on the horizontal axis. A smooth trend, repeated sign changes, or a systematic early-positive/late-negative pattern can indicate a misspecified time course. For example, a direct-effect model may fail to represent delayed response, while a turnover or effect-compartment model may capture delay but still miss the observed return toward baseline. If the model includes a time trend or a time-varying effect, the diagnostic question is whether that structure adequately describes the observations, not whether residuals are unrelated to time in every possible way.

A residual-versus-exposure plot can reveal a response curve that is too shallow, too steep, or incorrectly shaped. Plotting against observed exposure is often useful for examining the fitted exposure-response relationship, but exposure and time can be strongly related in a dosing study. A pattern against exposure may therefore also reflect a time-course error. Use the sampling schedule and the corresponding time display to distinguish these explanations where the design allows it.

An observed-versus-predicted plot places \(\hat{y}_i\) on the horizontal axis and \(y_i\) on the vertical axis. The reference line \(y_i=\hat{y}_i\) represents exact agreement. Points consistently above the line indicate underprediction; points below it indicate overprediction. A curved departure from the line or increasing scatter at larger predictions can indicate a mean-model or variance-model problem. The plot should use predictions defined consistently: population predictions show how well the typical model follows the data, while predictions incorporating participant-specific fitted effects answer a different question. State which is displayed, since a close fit after using individual fitted effects does not by itself show that the population relationship is adequate.

Worked Example: Checking Overall Agreement

Suppose a hypothetical model gives observed biomarker reductions \(y_i=(5,9,13,16)\) percentage points and predictions \(\hat{y}_i=(6,8,12,15)\) percentage points. The residuals are: $$ e_i = y_i-\hat{y}_i = (-1,1,1,1)\ \text{percentage points}. $$

The mean residual is \((-1+1+1+1)/4=0.5\) percentage points. The root mean squared error for these four fitted values is: $$ \mathrm{RMSE}=\sqrt{\frac{\sum_{i=1}^{4}(y_i-\hat{y}_i)^2}{4}} =\sqrt{\frac{1+1+1+1}{4}}=1.00\ \text{percentage point}. $$

These summaries indicate small average discrepancies in this small hypothetical set, but they do not establish that the model is adequate. The mean residual can conceal offsetting errors, and RMSE has no universal pass/fail threshold. In the observed-versus-predicted plot, three of the four points lie above the identity line, suggesting mild underprediction in this particular set. The display should also be stratified or annotated by time, exposure, and participant where relevant: good overall agreement can mask a systematic failure in one region.

Influential Observations and Predictive Checks

An observation is influential when it has a substantial effect on fitted parameters or model predictions. A large residual alone does not establish influence: a point can be poorly predicted yet have little effect on the fitted curve, or a point with a moderate residual can strongly affect a parameter if it occurs in a sparsely sampled exposure region. A practical diagnostic is to refit the model after omitting one observation or one participant at a time, then compare key parameter estimates and predictions over the exposure-time range relevant to the study. This is a sensitivity analysis, not an automatic rule for deleting data.

Before treating an unusual point as a model failure, verify data handling and context: assay flags, units, dose and sample times, baseline values, and any protocol deviations. If the point is valid, report how conclusions change with and without it, and consider whether the error model or participant structure is inadequate. Removing a valid observation just because it disagrees with the model risks concealing a real biological feature.

A predictive check asks whether the observed data look plausible among datasets generated from the fitted model. Simulate replicate datasets under the model, including the assumed variability and study design, and compare features chosen in advance: for example, response trajectories over time, distributions of participant-level maximum response, or the spread of responses at low and high exposure. The simulated data must reproduce the relevant design features, including sampling times and exposure distribution; otherwise, the comparison may diagnose a difference in design rather than model adequacy. A predictive check is most informative when its summaries target the possible failure modes of interest.

Worked Example: Detecting a Misspecified Time Course

In a hypothetical repeated-measures study, a fitted direct-effect model predicts biomarker reductions of 6 percentage points at 1 hour and 6 percentage points at 4 hours for the same exposure. The observed reductions are 3 and 10 percentage points, respectively. Thus: $$ e_{1\text{h}}=3-6=-3,\qquad e_{4\text{h}}=10-6=4 $$ percentage points.

Suppose this early-negative/late-positive residual pattern recurs across several participants, and the observed responses peak later than the model predicts. The pattern is consistent with a time-course mismatch, such as a delayed effect not represented by the direct-effect structure. It does not prove which alternative structure is correct. Check that sample times and exposure values are accurate, then compare scientifically plausible time-course models and examine whether their residual patterns and simulated trajectories better reproduce the data.

For a predictive check, simulate 500 replicate datasets using the observed sampling schedule and the fitted model. If the observed proportion of participants with a later-than-early response peak is 0.80, while only 0.10 to 0.25 of simulated datasets reach that proportion, the observed time-course feature is poorly reproduced. These numbers are hypothetical, and the discrepancy is a diagnostic warning rather than a formal proof or a parameter-uncertainty statement.

A Short Justification for Residual Pattern Checks

The basic logic can be seen from the assumed mean model. If \(Y_i=f(x_i;\theta)+\epsilon_i\), where \(x_i\) collects exposure, time, and other predictors, and \(E(\epsilon_i\mid x_i)=0\), then at the true parameters: $$ E\{Y_i-f(x_i;\theta)\mid x_i\}=E(\epsilon_i\mid x_i)=0. $$

Thus, systematic residual direction across a region of \(x_i\) is inconsistent with the stated conditional-mean model, or with the assumptions used to obtain the predictions. In practice, parameters are estimated, so fitted residuals are not independent and need not have exactly zero average in every subgroup. A visible pattern is therefore a prompt to investigate, not a standalone test that identifies the cause. The model may be wrong, the variance or correlation assumptions may be wrong, or a data issue may be present.

Diagnostics in Practice: Interpretation and Limits

A useful diagnostic sequence is to examine observed-versus-predicted agreement, then residuals against time and exposure, then participant-level patterns, and finally targeted predictive checks. This sequence is not a mechanical decision rule. It organizes questions: Is there overall bias? Does it vary with time or exposure? Is it concentrated in a participant or region? Can the fitted model reproduce the feature that motivated the analysis?

1
Check data and predictions.
Confirm units, time alignment, exposure assignment, baseline handling, and whether predictions are population-level or participant-specific.
2
Inspect residual structure.
Plot residuals against time and exposure, and show participant identity or trajectories when repeated observations are present.
3
Assess sensitivity and replication.
Investigate influential observations through refitting, then use predictive checks targeted to the time-course or exposure-response feature of concern.

Alternatives answer different questions. A numerical goodness-of-fit summary compresses discrepancies but can hide their location; plots preserve structure but rely on visual judgment. A formal test can provide a calibrated test statistic only under its specified assumptions and may have little power in a small early-phase dataset. Predictive checks assess whether selected data features are reproduced but depend on the model and summaries chosen. These tools complement one another; no single display certifies a model.

Common failure modes include treating residuals as independent despite repeated measurements, confusing a time-course problem with an exposure-response problem when exposure and time are confounded, and relying on a close population-average fit while missing participant-level patterns. Small samples also make smooth trends and predictive-check tail areas unstable. Diagnostics can identify tension between data and assumptions, but they cannot establish biomarker causality, prove target engagement, or replace scientific judgment about assay quality and study design.

Common pitfall: “One observation has a large residual, so it should be removed and the model refitted.” A large residual indicates disagreement, not invalidity or influence. Check the observation’s provenance, assess its effect by refitting with and without it, and report sensitivity when the observation is valid. Do not discard data solely to improve the fit.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. An observation is 12 percentage points and its prediction is 9 percentage points. What is its residual, and how should its sign be interpreted?
  2. Residuals are mostly negative at early times and positive at late times across several participants. What model feature should be investigated first?
  3. Why is a large residual not sufficient evidence that an observation is influential?
  4. What must be preserved when simulating replicate datasets for a predictive check of a repeated-measures biomarker study?

Solutions. (1) \(e=12-9=3\) percentage points; the observation is 3 percentage points higher than predicted. (2) Investigate whether the model represents the response time course adequately, while checking time alignment and the sampling schedule. (3) Influence concerns how much a point changes fitted parameters or predictions; a large residual can have little effect, so refitting with and without the point is informative. (4) Preserve the relevant design, including participant structure, sampling times, exposure distribution, and the model’s assumed variability, so observed and simulated summaries are comparable.