Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Conditional Versus Marginal PD Predictions

Sequential Versus Simultaneous PK/PD Estimation · Tutorial 418 of 598

Conditional Versus Marginal PD Predictions

Distinguish individual conditional PD predictions from population-marginal predictions, and calculate how PK variability changes both predicted responses and their uncertainty.

Advanced 10 min read

What You'll Learn

  • Define conditional-on-estimated-PK and population-marginal PD predictions
  • Integrate a nonlinear Emax response over a hypothetical PK distribution
  • Explain why a response at mean concentration need not equal the mean response
  • Separate between-subject PK variability from residual and parameter uncertainty
  • Use a variance decomposition to describe population predictive uncertainty
  • Recognize when plug-in and marginal predictions answer different questions

Why the Prediction Target Matters

A PD model can be used to predict the response of a particular person or to describe the average response across a population. Those are different targets when individuals have different PK parameters. A prediction that inserts one person's estimated clearance or exposure into the PD model is conditional on that estimate. A population-marginal prediction averages the PD response over the distribution of PK parameters in the target population.

The difference matters especially when the concentration-response relationship is nonlinear. In general, calculating a response at an average concentration does not give the average response across people. The distinction also affects uncertainty: a prediction for a person with PK parameters treated as known does not include the between-person PK variation that contributes to uncertainty for a new, unspecified person.

Definition: Let \(C(t;\phi)\) be the concentration at time \(t\) implied by PK parameters \(\phi\), and let \(m(C;\theta_{PD})\) be the mean PD response at concentration \(C\), with PD parameters \(\theta_{PD}\). A conditional prediction for individual \(i\) inserts an estimate \(\hat{\phi}_i\): \(m(C(t;\hat{\phi}_i);\hat{\theta}_{PD})\). A population-marginal prediction averages the response over the population distribution \(g(\phi\mid\Omega)\): \(\int m(C(t;\phi);\theta_{PD})g(\phi\mid\Omega)\,d\phi\). It is conditional on any specified covariates and design features, but marginal over the PK variability represented in \(g\).

These predictions answer different questions. The conditional prediction asks what the model predicts for a person whose PK parameters are represented by \(\hat{\phi}_i\). The marginal prediction asks what response is expected for a randomly selected person from the specified population. Neither is automatically the right answer for every application: the intended decision and target population determine which quantity is relevant.

Nonlinearity Makes Averaging Order Matter

Consider an Emax concentration-response model with no baseline response:

$$ m(C)=\frac{E_{\max}C}{EC_{50}+C}. $$

Here \(E_{\max}\) is the maximum modeled response, and \(EC_{50}\) is the concentration producing half of that response. The population-marginal mean response is the average of \(m(C)\) over the concentration distribution. It is not generally \(m\) evaluated at the average concentration.

For positive \(E_{\max}\) and \(EC_{50}\), the response curve is concave for nonnegative concentrations. Differentiating twice gives:

$$ m''(C)=-\frac{2E_{\max}EC_{50}}{(EC_{50}+C)^3}<0. $$

For a concave function, Jensen's inequality states that the average function value is no greater than the function evaluated at the average input. Thus, for this model and a population concentration variable with a finite mean:

$$ E[m(C)]\leq m(E[C]). $$

The inequality is strict when concentration varies over values where the curve is nonlinear. It is not a universal direction for every possible PD function: the direction depends on the curvature of the particular response function over the relevant range.

Worked Example: Averaging an Emax Response Across PK Variability

Suppose, for illustration, that a hypothetical population has two equally common concentration levels at a specified time: \(C=1\) mg/L and \(C=8\) mg/L. Let \(E_{\max}=100\) response units and \(EC_{50}=4\) mg/L. Treat these parameter values as known and ignore residual error for this calculation.

At 1 mg/L, the predicted response is:

$$ m(1)=\frac{100(1)}{4+1}=20.0\text{ response units}. $$

At 8 mg/L, it is:

$$ m(8)=\frac{100(8)}{4+8}=66.67\text{ response units}. $$

The population-marginal mean response is the equally weighted average of these two predictions:

$$ E[m(C)]=0.5(20.0)+0.5(66.67)=43.33\text{ response units}. $$

The arithmetic mean concentration is \(0.5(1)+0.5(8)=4.5\) mg/L. Predicting at that mean concentration instead gives:

$$ m(4.5)=\frac{100(4.5)}{4+4.5}=52.94\text{ response units}. $$

The result at the mean concentration, 52.94 response units, exceeds the average of individual responses, 43.33 response units. The latter is the marginal prediction for the specified two-level population; the former is the prediction for a person at 4.5 mg/L. They are not interchangeable.

What Each Prediction Includes

A conditional prediction based on an estimated individual PK parameter is often called a plug-in prediction. If \(\hat{\phi}_i\) is held fixed, the prediction includes the consequences of that individual's estimated PK profile, but it does not automatically include uncertainty in \(\hat{\phi}_i\). Nor does it include residual variation unless the aim is to predict an observed response rather than the model's mean response.

A population-marginal mean accounts for between-person PK variability by integrating over the specified PK distribution. That integral changes the mean prediction, but calculating the mean alone does not describe the full range of individual responses. For a predictive distribution, residual variation and the variation in responses induced by PK differences must also be represented.

The distinction can be written using the law of total variance. Let \(Y\) be an observed response, let \(C\) denote the concentration arising from an individual's PK parameters, and suppose the conditional response has mean \(m(C)\) and residual variance \(\sigma^2(C)\). Then:

$$ \operatorname{Var}(Y) = E[\operatorname{Var}(Y\mid C)] + \operatorname{Var}(E[Y\mid C]) = E[\sigma^2(C)]+\operatorname{Var}(m(C)). $$

The first term averages the residual variance across the population. The second is the between-person variance in the conditional mean response induced by PK variability. A conditional predictive distribution at a fixed, known \(C\) has the first type of variation but not the second. Parameter-estimation uncertainty can add further uncertainty to either prediction and must be handled separately.

Worked Example: Comparing Conditional and Population Predictive Spread

Continue the hypothetical two-level concentration population and Emax model above. Suppose the residual response at each concentration is normally distributed with standard deviation 5 response units, independently of the concentration. The model parameters and the two concentration levels are treated as known. Compare prediction for a person known to have \(C=8\) mg/L with prediction for a randomly selected person from the two-level population.

For the person at 8 mg/L, the conditional mean is 66.67 response units. The conditional predictive standard deviation is 5 response units. Under the stated normal residual assumption, a central 95% conditional predictive interval is approximately:

$$ 66.67\pm1.96(5) = [56.87,\ 76.47]\text{ response units}. $$

For a randomly selected person, the conditional mean response is 20.0 or 66.67 response units with equal probability. Its population mean is 43.33 response units. The variance of these two conditional means is:

$$ 0.5(20.0-43.33)^2+0.5(66.67-43.33)^2 \approx544.4\text{ response units}^2. $$

The total predictive variance adds the residual variance, \(5^2=25\) response units squared:

$$ \operatorname{Var}(Y)\approx544.4+25=569.4\text{ response units}^2, \qquad SD(Y)\approx\sqrt{569.4}=23.86\text{ response units}. $$

The population prediction is much more dispersed because it includes differences in PK-linked mean responses as well as residual variation. Its distribution is a mixture of two normal distributions, not one normal distribution. Therefore, the calculated standard deviation alone does not justify constructing a normal-theory interval around 43.33 response units. A prediction interval should be obtained from the mixture distribution or an appropriate simulation.

Parameter Uncertainty Is a Separate Layer

In practice, PD parameters and the distribution of PK parameters are estimated rather than known. A single marginal prediction computed at point estimates, \(\hat{\theta}_{PD}\) and \(\hat{\Omega}\), is still a plug-in estimate of the population-marginal mean. It accounts for the PK variability represented by the fitted distribution, but it does not by itself show how uncertain that estimated mean is.

One way to represent parameter uncertainty is to calculate the marginal prediction for each parameter draw from a bootstrap or another fitted inferential procedure. The spread across those marginal predictions describes uncertainty in the estimated marginal mean. To predict a new person's observed response, each calculation must additionally represent that person's PK variability and residual response variation. These are distinct sources of variation, not interchangeable labels for one standard error.

Worked Example: Propagating Uncertainty in EC50

For a compact hypothetical illustration, suppose two equally weighted parameter draws are available. Both use \(E_{\max}=100\) response units and the two equally likely concentrations, 1 and 8 mg/L. The first draw has \(EC_{50}=3\) mg/L; the second has \(EC_{50}=5\) mg/L. These two draws represent parameter uncertainty for this example, not a general rule that two draws are sufficient for analysis.

For \(EC_{50}=3\) mg/L, the two responses are \(100(1)/(3+1)=25.00\) and \(100(8)/(3+8)=72.73\) response units. The corresponding marginal mean is:

$$ M_1=0.5(25.00)+0.5(72.73)=48.86\text{ response units}. $$

For \(EC_{50}=5\) mg/L, the responses are \(100(1)/(5+1)=16.67\) and \(100(8)/(5+8)=61.54\) response units, giving:

$$ M_2=0.5(16.67)+0.5(61.54)=39.10\text{ response units}. $$

The average of the two marginal predictions is \(0.5(48.86)+0.5(39.10)=43.98\) response units. The standard deviation across these two equally weighted marginal predictions is:

$$ \sqrt{0.5(48.86-43.98)^2+0.5(39.10-43.98)^2} \approx4.88\text{ response units}. $$

This 4.88 response-unit spread reflects only the two specified parameter draws. It is not a prediction interval for an individual's response, because it does not add individual PK variation or residual error. For comparison, the average conditional response at 8 mg/L across the same two parameter draws is \(0.5(72.73)+0.5(61.54)=67.13\) response units. That is a different prediction target from the average population-marginal response of 43.98 response units.

Calculation, Diagnostics, and Alternatives

For simple PK distributions and response functions, the marginal prediction may be calculated analytically. More often, it is evaluated numerically. A direct simulation approach draws PK parameters from the fitted population distribution, calculates the concentration profile for each draw, applies the PD model, and averages the resulting responses. If the target is a distribution of observed responses rather than a mean response, the simulation also draws residual error. Repeating the calculation over parameter draws can incorporate estimation uncertainty.

A reliable calculation should preserve the target population and conditioning information. For example, a prediction for a specified covariate group should average over the PK distribution appropriate to that group, not over an unrelated overall distribution. If relevant PK parameters and PD parameters are modeled jointly, the integration must respect their modeled dependence rather than treating them as independent without justification.

Check the calculation by verifying that the sampled PK values reproduce the intended distribution, that concentrations and responses have the correct units, and that the conditional predictions behave sensibly over the concentration range. Compare numerical integration or simulation results across larger sample sizes or quadrature settings; material changes indicate inadequate numerical accuracy. Also compare a marginal prediction with a direct average of conditional predictions in a small test calculation. Disagreement beyond numerical error can signal that weights, transformations, or the conditioning set have been applied incorrectly.

ApproachPrediction targetWhat it represents
Conditional plug-inA person with specified estimated PK parametersResponse at that person's fitted PK profile; uncertainty in the estimate is absent unless added
Population-marginal meanMean response in a specified populationAverage of conditional mean responses over the population PK distribution
Population predictive distributionResponse of a new person from the populationPK-linked response variation and residual variation; parameter uncertainty can be added

A common alternative is to predict at a typical or mean PK parameter value. This is computationally simple and can be useful for describing a representative profile, but it is not generally equivalent to integrating over PK variability. Another alternative is a linear approximation around typical parameters. It can be efficient when variability is small and the response is nearly linear over the relevant range, but it can be inaccurate with substantial variability, strong curvature, or concentrations near a steep part of the response curve.

Common Pitfalls and Limitations

  • Calling a typical-person prediction a population average. A prediction evaluated at typical PK parameters is conditional on those parameters; the population average requires averaging the responses over the target PK distribution.
  • Averaging concentrations before applying a nonlinear model. This calculates \(m(E[C])\), not \(E[m(C)]\). For a concave Emax curve, it will be at least as large as the marginal mean response under the stated conditions.
  • Reporting a marginal mean as if it described every individual. The mean does not show the spread of responses across PK profiles. A predictive distribution is needed for individual-level uncertainty.
  • Ignoring uncertainty in fitted inputs. Integrating over estimated PK variability does not automatically account for uncertainty in PD parameters, PK parameters, or the PK variability distribution itself.

Marginal predictions are only as relevant as the population distribution used in the calculation. A fitted distribution may be poorly supported in regions with sparse PK sampling, and misspecification of the PK model or distribution can distort the resulting PD average. The integral also describes an average over the specified population, not necessarily a treatment effect or a causal contrast. The prediction target, model assumptions, and population should therefore accompany any reported result.

Check Your Understanding

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

  1. What is the difference between a conditional plug-in prediction and a population-marginal prediction?
  2. For the Emax model in this tutorial, why is the response at mean concentration generally not the marginal mean response?
  3. In the two-concentration example, which uncertainty source is absent from a prediction for a person whose concentration is treated as known?
  4. If the target is the response of a new person, which components should a predictive calculation represent?
  5. Why might a marginal mean prediction be insufficient for an individual-level decision?

Solutions. (1) The conditional prediction inserts an individual's estimated PK parameters; the marginal prediction averages the response over a specified population PK distribution. (2) The Emax function is nonlinear and concave for nonnegative concentrations, so Jensen's inequality gives \(E[m(C)]\leq m(E[C])\). (3) It omits between-person response variation induced by PK variability, and it also omits parameter-estimation uncertainty unless that is added. (4) It should represent PK variability and residual variation, with parameter uncertainty included when the inferential target requires it. (5) Individuals can have substantially different responses around the population mean, so the mean alone does not describe the predictive distribution or its spread.

Clinical Biostats