Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Model Averaging for Competing Exposure-Response Curves

Worked Case Studies · Tutorial 591 of 598

Model Averaging for Competing Exposure-Response Curves

Learn to calculate model weights from AICc and combine competing exposure-response predictions without treating the best-fitting curve as certain.

Advanced 11 min read

What You'll Learn

  • Specify linear, Emax, and sigmoid Emax exposure-response models and their parameter counts.
  • Calculate AICc values and normalized model weights from a shared dose-ranging dataset.
  • Interpret model weights as relative support within a defined candidate set.
  • Average predictions at a target exposure and separate within-model from between-model uncertainty.
  • Recognize when model averaging is unreliable, including poor diagnostics and extrapolation.

Why Average Competing Exposure-Response Curves?

A dose-ranging dataset can support more than one plausible exposure-response shape. Over a limited exposure range, a straight line may describe the observed trend well even when the underlying response eventually plateaus. An Emax curve may represent saturation, while a sigmoid Emax curve allows a more gradual or more abrupt transition. If the data do not clearly distinguish these shapes, choosing one curve and treating it as certain can make predictions—and decisions based on them—overconfident.

Model averaging addresses this uncertainty by assigning relative weights to a prespecified set of candidate models and combining their predictions. It does not make a poor candidate set adequate, nor does it identify a uniquely true curve. Its value is that uncertainty about which candidate best represents the data can be carried into the prediction.

Definition: Given candidate models \(M_1,\ldots,M_J\), a model-averaged prediction at exposure \(x\) is \(\bar{R}(x)=\sum_{j=1}^{J} w_j\hat{R}_j(x)\), where \(\hat{R}_j(x)\) is the prediction from model \(M_j\), and the weights satisfy \(w_j\geq 0\) and \(\sum_j w_j=1\). In this tutorial, weights are calculated from AICc and represent relative support among the candidates considered.

Candidate Curves and Assumptions

Let \(x\) denote exposure in mg/L, and let \(R\) denote the mean response in response points at a prespecified assessment time. The three candidate mean curves are:

$$ \begin{aligned} \text{Linear:}\quad &R(x)=E_0+\beta x,\\ \text{Emax:}\quad &R(x)=E_0+\frac{E_{\max}x}{EC_{50}+x},\\ \text{Sigmoid Emax:}\quad &R(x)=E_0+\frac{E_{\max}x^h}{EC_{50}^h+x^h}. \end{aligned} $$

Here \(E_0\) is the response at zero exposure; \(\beta\) is the linear slope in response points per mg/L; \(E_{\max}\) is the maximum increase above \(E_0\); \(EC_{50}\) is the exposure producing half of that increase; and \(h\) is the sigmoid shape parameter. The Emax and sigmoid Emax forms assume nonnegative exposure and positive \(EC_{50}\); the sigmoid form also requires positive \(h\). For the increasing-response case considered here, \(\beta\) and \(E_{\max}\) are positive. A decreasing effect can instead be represented with a signed effect parameter and interpreted consistently with the endpoint.

For the worked comparison, assume the same independent response observations are fitted under all three models, with normally distributed residuals of common variance within each model. The candidate-specific residual variance is estimated by maximum likelihood. This setup makes the Gaussian likelihood and its AICc comparable across candidates. The usual AICc calculation also requires \(n>k+1\), where \(k\) counts all estimated parameters, including residual variance. The analysis additionally assumes that the candidates are scientifically plausible, use the same response data and likelihood basis, and have been fitted successfully. Model weights cannot repair dependence, an unsuitable residual distribution, or an omitted exposure-response feature.

Worked Example: Evaluating Candidate Curves at a Target Exposure

Suppose a hypothetical dose-ranging dataset includes 24 participants with responses measured at a fixed time and exposures spanning 0 to 12 mg/L. For illustration, suppose the fitted mean parameters are \(E_0=4.40\) and \(\beta=0.900\) for the linear curve; \(E_0=4.00\), \(E_{\max}=16.86\), and \(EC_{50}=8.00\) mg/L for Emax; and \(E_0=4.00\), \(E_{\max}=18.24\), \(EC_{50}=8.00\) mg/L, and \(h=2.00\) for sigmoid Emax. These are hypothetical fitted values, not results from a real study.

At the target exposure \(x=8.00\) mg/L, the linear prediction is \(4.40+(0.900)(8.00)=11.60\) response points. The Emax prediction is \(4.00+16.86(8.00)/(8.00+8.00)=4.00+8.43=12.43\) points.

For sigmoid Emax, \(x^h=8.00^2=64.0\) and \(EC_{50}^h=8.00^2=64.0\). Thus the predicted increase is \(18.24(64.0)/(64.0+64.0)=9.12\) points, giving \(4.00+9.12=13.12\) points. These different predictions illustrate why a dose decision can be sensitive to curve shape, even when the models all describe the observed range plausibly.

AICc Weights: Relative Support, Not Certainty

For Gaussian models fitted to the same \(n\) responses, with residual sum of squares \(RSS\), a convenient AICc expression—up to a constant shared by the candidates—is:

$$ AICc=n\log(RSS/n)+2k+\frac{2k(k+1)}{n-k-1}. $$

The first term rewards fit, while the remaining terms penalize model complexity, with an additional small-sample correction. The correction matters particularly when \(n\) is not large relative to \(k\). Let \(\Delta_j=AICc_j-\min_{\ell}AICc_\ell\). The relative likelihood and normalized Akaike weight are:

$$ L_j=\exp(-\Delta_j/2),\qquad w_j=\frac{\exp(-\Delta_j/2)}{\sum_{\ell=1}^{J}\exp(-\Delta_\ell/2)}. $$

The weight is a relative measure within the candidate set and under the stated likelihood and AICc approximation. It is not the probability that a model is true, nor a probability that its assumptions hold.

Worked Example: Calculating AICc and Model Weights

Suppose the same hypothetical 24 response observations produce residual sums of squares of 360, 300, and 290 response-points squared for the linear, Emax, and sigmoid Emax fits. Count residual variance in \(k\): the models have respectively 2, 3, and 4 mean parameters, plus one variance parameter, so \(k=3,4,5\). Since \(24>5+1\), the AICc correction is defined for all three.

For the linear curve, \(AICc=24\log(360/24)+2(3)+2(3)(4)/(24-3-1)\) \(=24\log(15)+6+24/20=72.193\).

For Emax, \(AICc=24\log(300/24)+2(4)+2(4)(5)/(24-4-1)\) \(=24\log(12.5)+8+40/19=70.723\).

For sigmoid Emax, \(AICc=24\log(290/24)+2(5)+2(5)(6)/(24-5-1)\) \(=24\log(12.0833)+10+60/18=73.137\).

The minimum is 70.723, so the differences are approximately 1.470 for linear, 0 for Emax, and 2.414 for sigmoid Emax. Substituting these differences into the relative-likelihood formula gives normalized weights of approximately 0.270, 0.562, and 0.168, respectively. For example, the unnormalized linear value is \(\exp(-1.470/2)\), approximately 0.479; dividing each candidate’s unnormalized value by their sum gives the weights. Emax has the largest weight, but the other two candidates retain substantial combined weight.

From Weights to Predictions and Uncertainty

The model-averaged prediction uses each candidate’s prediction at the same target exposure and outcome scale. For the three predictions in the first example, use the rounded weights from the AICc comparison:

$$ \begin{aligned} \bar{R}(8.00) &=0.270(11.60)+0.562(12.43)+0.168(13.12)\\ &=3.132+6.98566+2.20416\\ &=12.32182\ \text{response points}\approx 12.32\ \text{points}. \end{aligned} $$

This point prediction is a weighted compromise, not a claim that any candidate has that curve shape. Its interpretation is conditional on the chosen candidates, the data, and the weighting method. Model averaging is most useful when several curves remain plausible and their predictions differ meaningfully at exposures relevant to the application.

Worked Example: Separating Within-Model and Between-Model Uncertainty

Continue the hypothetical comparison. Suppose the estimated conditional prediction variances at 8.00 mg/L are 0.20, 0.30, and 0.50 response-points squared for the linear, Emax, and sigmoid Emax models. These illustrative variances represent uncertainty within each fitted model, for example from its parameter estimates; they are not residual sums of squares. Use the rounded AICc weights above.

The weighted within-model variance is \(0.270(0.20)+0.562(0.30)+0.168(0.50)=0.0540+0.1686+0.0840=0.3066\) response-points squared.

The between-model contribution is the weighted variance of the model-specific predictions around the model-averaged prediction: \(0.270(11.60-12.32182)^2+0.562(12.43-12.32182)^2+0.168(13.12-12.32182)^2\). The three terms are approximately \(0.1407\), \(0.0066\), and \(0.1070\), summing to 0.2543 response-points squared. The total variance is therefore approximately \(0.3066+0.2543=0.5609\) points squared, with standard deviation \(\sqrt{0.5609}=0.7489\) response points. This calculation combines the stated within-model variances with uncertainty arising from differences among candidate predictions; it is not automatically a confidence interval or a complete prediction interval for a future individual response.

The variance decomposition follows the law of total variance. Imagine first selecting a candidate \(M_j\) with probability \(w_j\), then drawing a prediction around that model’s conditional mean. The overall mean is \(\sum_jw_j\hat{R}_j\). Expanding the squared deviation around that mean gives:

$$ \begin{aligned} \operatorname{Var}(R\mid\text{data}) &=\sum_j w_j\left[v_j+\{\hat{R}_j-\bar{R}\}^2\right]\\ &=\underbrace{\sum_jw_jv_j}_{\text{within-model}} +\underbrace{\sum_jw_j(\hat{R}_j-\bar{R})^2}_{\text{between-model}}, \end{aligned} $$

where \(v_j\) is the conditional prediction variance under candidate \(j\). To see why the cross-term vanishes, write a draw as \(\hat{R}_j+\epsilon\), where the conditional mean of \(\epsilon\) is zero. The cross-term is proportional to \(\sum_jw_j(\hat{R}_j-\bar{R})E(\epsilon\mid M_j,\text{data})=0\). This decomposition is useful only if the \(v_j\) values refer to compatible prediction targets and include the intended sources of within-model uncertainty.

Diagnostics, Alternatives, and Limitations

AICc weights should be calculated only after checking that the candidate fits are meaningful. Inspect residual patterns against exposure and fitted response, and examine whether any dose group or influential observation drives the ranking. The earlier material on diagnosing PD model misspecification from residual patterns is relevant here: structured residuals are evidence that a candidate may be inadequate, regardless of its relative AICc. Also check convergence, parameter plausibility, and whether estimates such as \(EC_{50}\) or \(h\) are weakly identified. A sharply curved model can fit nearly as well as a simpler curve while having unstable parameters and highly uncertain predictions outside the observed range.

A common mistake is to say, “Emax has the largest weight, so Emax is the true model; I will report only its prediction.” The correction is that the largest weight indicates the greatest relative support among these candidates, not certainty. Here Emax’s weight is only about 0.562, and the candidate predictions at 8.00 mg/L range from 11.60 to 13.12 points. The model-averaged prediction of about 12.32 points makes the remaining model-selection uncertainty visible rather than discarding it.

Model averaging differs from selecting the single minimum-AICc model: selection uses one curve, whereas averaging combines predictions. AICc is preferable to uncorrected AIC when the sample is modest relative to model complexity; neither criterion makes weights posterior probabilities. Bayesian model averaging is a distinct approach that uses prior model probabilities and marginal likelihoods. Predictive validation can also compare out-of-sample performance, but it answers a different question and can be unstable with limited data. These approaches are not interchangeable, and each depends on a defensible candidate set and suitable data.

Finally, averaging does not remove uncertainty shared by all candidates. If all three curves omit a delayed effect, a plateau beyond the studied range, or a relevant covariate, their average may still be biased. It is especially risky to average predictions far beyond observed exposures, where the linear curve can continue increasing while Emax curves approach a plateau. Report the target exposure, outcome units, candidate set, weighting criterion, and the extent of extrapolation. Treat an averaged result as one piece of evidence, not as an automatic dose recommendation.

Check Your Understanding

Try each question before reading the solutions.

  1. Why must all candidates use the same response observations and comparable likelihood basis for this AICc comparison?
  2. If two models have AICc differences of 0 and 2.00, what are their unnormalized relative likelihoods?
  3. At a target exposure, two candidate predictions are 10 and 14 points with weights 0.75 and 0.25. Calculate the model-averaged prediction.
  4. What does a model weight of 0.60 mean, and what does it not mean?
  5. Name one reason a model-averaged prediction may still be unreliable.

Solutions. (1) AICc differences are meaningful as relative comparisons when models explain the same data under comparable likelihood definitions; changing the observations or likelihood basis confounds fit and penalty comparisons. (2) The relative likelihoods are \(\exp(0)=1\) and \(\exp(-2/2)=\exp(-1)\approx0.368\). (3) The average is \(0.75(10)+0.25(14)=7.5+3.5=11.0\) points. (4) It indicates relative AICc support of about 0.60 within the specified candidate set and assumptions; it is not a 60% probability that the model is true. (5) For example, every candidate may miss a delayed effect, residuals may show systematic structure, or the target exposure may lie far outside the observed range.

Clinical Biostats