Tutorials › Physiologically-Based Pharmacokinetics (PBPK) › Separating Between-Subject Spread from Parameter Uncertainty

Uncertainty Propagation and Predictive Intervals · Tutorial 765 of 799

Separating Between-Subject Spread from Parameter Uncertainty

Learn to read nested PBPK simulation outputs by separating conditional between-subject spread from the additional predictive variance associated with uncertain population parameters.

Advanced 12 min read

What You'll Learn

  • Define conditional subject-level exposure distributions at fixed population parameters.
  • Interpret outer parameter draws and inner subject simulations in a nested design.
  • Calculate the within-parameter and between-parameter components of predictive variance.
  • Correct for finite inner-simulation noise when estimating variation in conditional means.
  • Recognize why pooled prediction intervals do not identify the source of spread.
  • Diagnose simulation and interpretation errors in nested outputs.

What the Two Sources of Spread Mean

A PBPK simulation can produce a wide distribution of exposures for two distinct reasons. Individuals can differ even when the population parameters are held fixed, for example because their body size or enzyme activity differs. In addition, the population parameters themselves may be uncertain, so predictions can shift when those parameters change. A nested simulation represents these levels separately: an outer draw selects a parameter set, and inner draws simulate individuals under that set.

This distinction matters when a wide prediction distribution is used to inform a dose or to describe exposure in a target population. A broad distribution caused mainly by individual differences has a different interpretation from one that is broad because plausible parameter values produce substantially different population predictions. The total predictive spread alone does not say which explanation dominates.

Definition: Let \(\boldsymbol{\theta}\) denote the uncertain population parameters, and let \(Y\) denote an exposure for a randomly selected individual. At a fixed parameter value \(\boldsymbol{\theta}\), the conditional between-subject spread is described by \(\operatorname{Var}(Y\mid\boldsymbol{\theta})\). The between-parameter contribution to predictive variance is \(\operatorname{Var}_{\boldsymbol{\theta}}\!\left(E[Y\mid\boldsymbol{\theta}]\right)\), the variation across parameter values in the conditional mean exposure.

Here, \(\boldsymbol{\theta}\) is drawn from a distribution representing parameter uncertainty. That distribution might come from a Bayesian analysis, a bootstrap, or another specified uncertainty analysis; its interpretation depends on how it was constructed. Conditional on each draw, subject-level variability is generated from the population model. The individual exposure \(Y\) may be an AUC, a concentration at a specified time, or another defined endpoint.

The Variance Decomposition and Its Meaning

The law of total variance gives the exact decomposition for the predictive distribution obtained by drawing both \(\boldsymbol{\theta}\) and an individual:

$$ \operatorname{Var}(Y) = E_{\boldsymbol{\theta}}\!\left[\operatorname{Var}(Y\mid\boldsymbol{\theta})\right] + \operatorname{Var}_{\boldsymbol{\theta}}\!\left(E[Y\mid\boldsymbol{\theta}]\right). $$

The first term is the average conditional subject-level variance across uncertain parameter values. The second is the variance of the conditional mean across parameter values. Both terms have units equal to the square of the exposure units. Their sum is the variance of the predictive distribution that includes both levels of randomness.

A short derivation shows why these terms add. Write \(m(\boldsymbol{\theta})=E[Y\mid\boldsymbol{\theta}]\) and let \(\mu=E[Y]=E_{\boldsymbol{\theta}}[m(\boldsymbol{\theta})]\). Add and subtract \(m(\boldsymbol{\theta})\) from \(Y-\mu\), then expand the square:

$$ \begin{aligned} \operatorname{Var}(Y) &=E\!\left[(Y-\mu)^2\right]\\ &=E\!\left[(Y-m(\boldsymbol{\theta}))^2\right] +E\!\left[(m(\boldsymbol{\theta})-\mu)^2\right]\\ &\quad+2E\!\left[(Y-m(\boldsymbol{\theta}))(m(\boldsymbol{\theta})-\mu)\right]. \end{aligned} $$

The cross term is zero: conditional on \(\boldsymbol{\theta}\), \(m(\boldsymbol{\theta})-\mu\) is fixed and \(E[Y-m(\boldsymbol{\theta})\mid\boldsymbol{\theta}]=0\). The first remaining expectation is \(E_{\boldsymbol{\theta}}[\operatorname{Var}(Y\mid\boldsymbol{\theta})]\); the second is \(\operatorname{Var}_{\boldsymbol{\theta}}(m(\boldsymbol{\theta}))\). This establishes the decomposition.

The first term is not necessarily the variance at one “typical” parameter set. It averages conditional variances over the parameter-uncertainty distribution. Also, parameter uncertainty can change the shape or spread of the conditional distribution, not just its mean. Such changes are reflected in how \(\operatorname{Var}(Y\mid\boldsymbol{\theta})\) varies across parameter sets; the first term averages those conditional variances. The second term specifically measures how conditional means vary.

Worked Example: Reading the Two Variance Components

Suppose a hypothetical nested PBPK analysis represents parameter uncertainty by four equally weighted parameter sets. The simulated conditional mean AUCs are 10, 12, 14, and 16 mg·h/L. For each set, the conditional between-subject variance is 9 (mg·h/L)\(^2\). Treat these four equally weighted sets as the full parameter distribution for this calculation.

The average conditional variance is \(9\) (mg·h/L)\(^2\), so the root-mean-square conditional subject-level spread is \(\sqrt{9}=3\) mg·h/L.

The overall mean is \((10+12+14+16)/4=13\) mg·h/L. The between-parameter variance of the conditional means is

$$ \frac{(10-13)^2+(12-13)^2+(14-13)^2+(16-13)^2}{4} =\frac{20}{4}=5\;(\mathrm{mg\cdot h/L})^2. $$

Thus the predictive variance is \(9+5=14\) (mg·h/L)\(^2\), and the predictive standard deviation is \(\sqrt{14}=3.742\) mg·h/L. The conditional subject-level variance contributes 9 of the 14 variance units; variation in the conditional means across parameter sets contributes 5. These are variance contributions, not additive standard deviations.

Estimating the Components from Nested Outputs

Let \(j=1,\ldots,J\) index outer parameter draws and \(i=1,\ldots,n\) index inner subject simulations at each draw. Write the simulated exposure as \(Y_{ij}\). For outer draw \(j\), calculate the inner sample mean \(\bar{Y}_{j}\) and sample variance \(s_j^2\). A direct estimate of the average conditional variance is the average of the inner sample variances:

$$ \widehat{W}=\frac{1}{J}\sum_{j=1}^{J}s_j^2. $$

The variation among the \(\bar{Y}_{j}\) values reflects variation in conditional means, but it also contains Monte Carlo noise because each conditional mean was estimated from only \(n\) individuals. If all inner runs have the same size, the expected contribution of this noise to the sample variance of \(\bar{Y}_{j}\) is approximately \(\widehat{W}/n\). A corresponding estimate of the between-parameter variance is

$$ \widehat{B} = s_{\bar{Y}}^2-\frac{\widehat{W}}{n}, \qquad s_{\bar{Y}}^2 = \frac{1}{J-1}\sum_{j=1}^{J}(\bar{Y}_{j}-\bar{\bar{Y}})^2, \qquad \bar{\bar{Y}}=\frac{1}{J}\sum_{j=1}^{J}\bar{Y}_{j}. $$

This correction is an approximation based on independent outer draws, independent inner simulations conditional on each draw, and a common inner sample size. In a finite run, \(\widehat{B}\) can be negative because of sampling noise; that does not imply a negative true variance. It signals that the between-parameter component is not reliably resolved by that simulation. Increasing the number of outer draws and, where needed, inner simulations can improve precision. With unequal inner sample sizes, the noise contribution depends on each \(n_j\), so the equal-size correction should not be applied unchanged.

A simpler descriptive option is to report the outer conditional means and variances separately, together with their Monte Carlo precision. This makes the hierarchy visible without treating a noisy decomposition as exact. The general Monte Carlo diagnostics for means and variances remain important: more simulated rows do not guarantee that the outer uncertainty distribution or its tails are adequately represented.

Worked Example: Correcting for Noisy Conditional Means

Consider hypothetical nested outputs from \(J=4\) independent parameter draws, with \(n=100\) simulated subjects for each draw. The four inner means are 8, 10, 12, and 14 mg·h/L, and each inner sample variance is 4 (mg·h/L)\(^2\). Assume equal inner sample sizes and independent conditional simulations.

The average within-parameter variance is \(\widehat{W}=(4+4+4+4)/4=4\) (mg·h/L)\(^2\). The grand mean of the four conditional means is \(\bar{\bar{Y}}=11\) mg·h/L. Their sample variance is

$$ s_{\bar{Y}}^2 = \frac{(8-11)^2+(10-11)^2+(12-11)^2+(14-11)^2}{4-1} = \frac{20}{3} =6.667\;(\mathrm{mg\cdot h/L})^2. $$

This value includes inner-mean simulation noise of approximately \(\widehat{W}/n=4/100=0.0400\) (mg·h/L)\(^2\). The corrected estimate of between-parameter variance is therefore \(6.667-0.0400=6.627\) (mg·h/L)\(^2\), and the estimated total predictive variance is \(4+6.627=10.627\) (mg·h/L)\(^2\). These estimates are quite uncertain with only four outer draws; the arithmetic illustrates the correction, not a claim of precise estimation.

Why Pooled Outputs Can Mislead

Pooling every \(Y_{ij}\) gives a sample from the combined predictive distribution, provided the outer draws and inner sampling correctly represent the intended distributions. Its spread includes both conditional subject-level variation and variation in conditional means. Therefore, the pooled standard deviation is useful for describing total predictive spread, but it cannot by itself attribute that spread to one source.

The following hypothetical calculation shows why conditional results also matter. Suppose two equally likely parameter sets give normally distributed AUCs, each with a conditional standard deviation of 2 mg·h/L. Their conditional means are 10 and 20 mg·h/L. The average conditional variance is \(4\) (mg·h/L)\(^2\), and the between-parameter variance of means is \(25\) (mg·h/L)\(^2\), since the overall mean is 15 mg·h/L. Total variance is 29 (mg·h/L)\(^2\), giving a pooled standard deviation of \(\sqrt{29}=5.385\) mg·h/L.

At the threshold of 15 mg·h/L, the first conditional distribution has probability \(P(Y>15\mid\boldsymbol{\theta}_1)=1-\Phi(2.5)\approx0.0062\); the second has probability \(P(Y>15\mid\boldsymbol{\theta}_2)=\Phi(2.5)\approx0.9938\), where \(\Phi\) is the standard normal cumulative distribution function. With equal weights, the combined probability is approximately \((0.0062+0.9938)/2=0.5000\). Reporting only the combined probability hides the fact that predictions at the two parameter sets behave very differently.

This illustrates a practical comparison. A fixed-parameter simulation describes subject variability conditional on the chosen parameters, but omits parameter uncertainty. A pooled nested simulation describes the combined prediction, but does not explain its sources. A nested summary reports conditional distributions or moments across parameter draws, allowing both questions to be addressed. None of these summaries alone establishes that the parameter uncertainty distribution is appropriate; that depends on the underlying evidence and modeling choices.

Assumptions, Diagnostics, and Common Pitfalls

Interpret the decomposition as intended when the outer draws represent the stated uncertainty distribution for population parameters, and the inner simulations represent the target population conditional on each draw. The target exposure and time point must be consistent across runs. Inner subjects should be generated according to the specified population model; if simulated individuals are dependent, or if outer and inner draws are coupled in an unaccounted way, the simple variance estimates may not apply. The variance identity itself is general, but estimating its terms requires the simulation to represent this hierarchy.

  • Check the hierarchy. Confirm that each inner run uses its associated outer parameter draw and that subject-level variation is regenerated as intended.
  • Check outer coverage. Inspect whether the conditional means and variances are stable as additional parameter draws are added. A large inner sample cannot compensate for too few outer draws.
  • Check inner precision. If conditional means fluctuate noticeably when inner sample size is increased, their apparent between-parameter spread may be substantially simulation noise.
  • Check units and scales. Conditional variances and between-parameter variances must use squared exposure units before they are added.
  • Do not infer source from a pooled interval alone. A wide interval is evidence of total predictive spread, not a diagnosis of which component produced it.

A common mistake is to subtract the conditional standard deviation from the pooled standard deviation and call the result “parameter uncertainty.” Standard deviations do not add in this decomposition. Under the stated hierarchy, subtract variances: the between-parameter variance is the total variance minus the average conditional variance. Even that subtraction is an estimate affected by Monte Carlo error, and it specifically concerns variation in conditional means—not every way parameter uncertainty can alter conditional distributions.

Key takeaway: In nested PBPK simulations, report conditional subject-level spread and variation across parameter-specific predictions separately, then use their variance components to explain total predictive variance. Keep the conditional results alongside pooled summaries so the source of predictive spread is not obscured.

Check Your Understanding

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

  1. At fixed parameters, an exposure has variance 16 (mg/L)\(^2\). Across parameter draws, its conditional mean has variance 9 (mg/L)\(^2\). What is the total predictive variance and standard deviation, assuming the variance decomposition applies?
  2. Why can the sample variance of outer conditional means overstate between-parameter variance when each conditional mean is estimated from a finite inner sample?
  3. Conditional means are nearly identical across parameter draws, but conditional variances differ substantially. What does this imply about the between-parameter variance of conditional means, and what should still be reported?
  4. A pooled prediction interval is wide. Can its width alone establish whether subject variability or parameter uncertainty is the larger source? Explain.

Solutions. (1) Total variance is \(16+9=25\) (mg/L)\(^2\), so the predictive standard deviation is \(\sqrt{25}=5\) mg/L. (2) Each inner mean has sampling error; this adds variation among outer means, approximately \(\widehat{W}/n\) for equal inner sample sizes, so the observed variance across means includes more than variation in the true conditional means. (3) The between-parameter variance of conditional means is small, but the average conditional variance and its variation across parameter draws should still be reported; different parameter sets may imply different conditional spreads. (4) No. The pooled interval reflects the combined predictive distribution. Conditional summaries across parameter draws are needed to distinguish the sources of spread.