Why Separate the Two Sources of Spread?
A PBPK model can produce different outputs for two fundamentally different reasons. First, the population-level inputs may not be known precisely: for example, the typical tissue-to-plasma partition coefficient or the population distribution of an enzyme activity may be uncertain. Second, individuals can differ even if those population-level inputs were known: people have different body sizes, organ flows, and enzyme activities. A single simulation that varies both sources produces a spread of outputs, but that spread alone does not say which source contributed what.
The distinction matters when interpreting predictions. Uncertainty in a population-level input expresses limited knowledge about the model or target population. Interindividual variability describes a distribution of outcomes across people under a specified population model. The two may both affect a prediction interval, but they answer different questions and may call for different actions: collecting better evidence for an uncertain input is not the same as describing variation across patients.
The introductory material on epistemic uncertainty and interindividual variability establishes the conceptual distinction. Here, the focus is how to quantify it when both sources enter a model prediction. A nested design makes the conditioning explicit: an outer simulation draws a population-level input set; an inner simulation draws individuals conditional on that set.
The Variance Decomposition
Suppose \(\theta\) has a distribution representing current uncertainty in population-level inputs. For each fixed value of \(\theta\), the model and population assumptions induce a conditional distribution for \(Y\) through variation in \(U\). Define the conditional mean and variance as \(E[Y\mid\theta]\) and \(\operatorname{Var}(Y\mid\theta)\). The marginal output distribution combines the uncertainty over \(\theta\) with the individual variation conditional on each \(\theta\).
The first term is the between-input component: it measures how much the expected output for the population shifts as the uncertain population-level inputs change. The second is the within-population component: it is the average individual-level output variance across the possible input sets. Both terms are in squared output units. Their square roots are component standard deviations, but those standard deviations do not generally add to the total standard deviation.
The decomposition follows by adding and subtracting the conditional mean. Write \(Y-E[Y]=\{Y-E[Y\mid\theta]\}+\{E[Y\mid\theta]-E[Y]\}\), square, and take expectations. The cross-product has expectation zero because, conditional on \(\theta\), \(E[Y-E[Y\mid\theta]\mid\theta]=0\). The remaining squared terms give the two components:
This result is an identity for the joint predictive distribution implied by the specified uncertainty distribution for \(\theta\) and the specified individual distribution for \(U\). It does not establish that either distribution is scientifically appropriate. If the outer distribution is a subjective or evidence-based representation of uncertainty, its variance component describes that representation; it is not automatically a frequentist confidence interval or a measure of biological differences between people.
Designing the Nested Simulation
For each outer draw \(m=1,\ldots,M\), sample a set of population-level inputs \(\theta_m\). Holding that set fixed, draw \(K\) individuals \(U_{mk}\), \(k=1,\ldots,K\), from the intended target-population distribution and calculate \(Y_{mk}=f(\theta_m,U_{mk})\). The individual draws should reflect the conditional population model, including any specified dependencies among individual characteristics. The outer draws should reflect uncertainty in population-level quantities, not randomly redraw an individual trait in a way that changes the meaning of the population model.
List which inputs are uncertain population-level quantities and which are individual-level characteristics. State the population and output being predicted.
Generate \(M\) input sets \(\theta_m\) from the uncertainty distribution, preserving any specified dependence among population-level inputs.
For each \(\theta_m\), simulate \(K\) individuals from the target-population model and calculate each output \(Y_{mk}\).
Calculate a conditional mean and variance for each outer set, then quantify variation among conditional means and average conditional variance.
With equal inner sample size \(K\), let \(\bar{Y}_m\) be the mean of the \(K\) outputs under outer draw \(m\), and let \(s_m^2\) be their sample variance. Define \(\bar{\bar{Y}}\) as the mean of the \(M\) conditional means, \(B\) as the sample variance of those means, and \(W\) as the average within-set sample variance. Since each \(\bar{Y}_m\) has conditional sampling variance approximately \(\operatorname{Var}(Y\mid\theta_m)/K\), \(B\) includes both between-input variation and finite-inner-sample noise. A method-of-moments estimate subtracts that noise:
Thus the estimated total variance is approximately \(B-W/K+W\). These estimates rely on independent outer draws, conditionally independent inner individuals, and an equal inner sample size. They are Monte Carlo estimates, not exact values. In particular, the between-input estimate can be negative when the true component is small relative to simulation noise. A negative result is a warning that the design does not resolve that component; it is not evidence that a variance is physically negative.
Worked Example: Separating Two Components in a Simple Output Model
Consider a hypothetical PBPK output \(Y\), a steady-state tissue concentration in mg/L. Suppose uncertainty about a population-level input leads to two equally likely conditional means, 8 and 12 mg/L. At either input value, individual-to-individual variation has mean zero around that conditional mean and variance \(4\;(\mathrm{mg/L})^2\). Assume the individual variation is independent of the outer input draw.
The overall mean is \((8+12)/2=10\) mg/L. The between-input variance is the variance of the two conditional means:
The expected within-population variance is \(4\;(\mathrm{mg/L})^2\), by assumption. Therefore the total output variance is \(4+4=8\;(\mathrm{mg/L})^2\), and the total standard deviation is \(\sqrt{8}=2.828\) mg/L. The two components contribute equally to variance in this example. It would be incorrect to add their standard deviations, 2 mg/L and 2 mg/L, and claim a total standard deviation of 4 mg/L.
The model describes both uncertainty about the mean population output and variation among individuals around that mean. It does not imply that every individual has the same probability of occupying either outer input state in reality; the outer distribution represents uncertainty about which population-level input value is appropriate.
Worked Example: Estimating Components From Four Nested Simulation Sets
In a hypothetical nested simulation, the output is AUC in mg·h/L. Four outer draws each have three inner individual simulations. The simulated AUC values are 8, 10, 12; 11, 13, 15; 9, 11, 13; and 12, 14, 16 mg·h/L.
The four conditional means are 10, 13, 11, and 14 mg·h/L. Their grand mean is \(\bar{\bar{Y}}=(10+13+11+14)/4=12\) mg·h/L. The sample variance of those means is:
Within each outer set, the three outputs are spaced by 2 mg·h/L around their mean. For example, the first set has sample variance \(\{(8-10)^2+(10-10)^2+(12-10)^2\}/(3-1)=4\;(\mathrm{mg\cdot h/L})^2\). The other three sets have the same variance, so \(W=4\;(\mathrm{mg\cdot h/L})^2\). Here \(K=3\), and the estimated between-input component is \(B-W/K=3.333-4/3=2.000\;(\mathrm{mg\cdot h/L})^2\). The estimated within-population component is \(4.000\;(\mathrm{mg\cdot h/L})^2\), giving estimated total variance \(2+4=6.000\;(\mathrm{mg\cdot h/L})^2\) and standard deviation \(\sqrt{6}=2.449\) mg·h/L.
The apparent spread of the four conditional means, by itself, overstates the between-input component because each mean is based on only three individuals. Subtracting \(W/K\) accounts for that finite inner-sample noise. With so few outer and inner draws, the numerical estimates are imprecise; the arithmetic illustrates the estimator, not a recommended simulation size.
Heterogeneous Variability and Interpretation
The conditional variance need not be constant across \(\theta\). For example, uncertainty in a population-level clearance parameter may change not only the mean exposure but also how sensitive exposure is to individual differences in clearance. The decomposition remains valid: the within-population term is the average of the conditional variances, not a single variance assumed to hold for every outer draw. Reporting only one conditional simulation or calculating a within variance at one “typical” parameter set can therefore miss important heterogeneity.
Worked Example: Unequal Individual Variance Across Input Sets
Suppose two equally weighted outer input sets produce conditional means of 5 and 15 mg/L. Their conditional variances are 1 and 9 \((\mathrm{mg/L})^2\), respectively. The overall mean is \((5+15)/2=10\) mg/L. The between-input component is \(\{(5-10)^2+(15-10)^2\}/2=25\;(\mathrm{mg/L})^2\). The expected within-population component is \((1+9)/2=5\;(\mathrm{mg/L})^2\). Thus the total variance is \(25+5=30\;(\mathrm{mg/L})^2\), and the total standard deviation is \(\sqrt{30}=5.477\) mg/L.
Using only the conditional variance of 1 or only the variance of 9 would give a misleading account of the average individual variability across the uncertain input sets. The relevant within component averages both conditional variances using the outer probabilities.
A predictive interval from all nested outputs combines both sources, but its interpretation must be stated carefully. It describes the distribution generated by the specified uncertainty distribution for \(\theta\) and the specified population model for individuals. It is not automatically a confidence interval for an unknown parameter, and it does not mean that parameter uncertainty is biological variation among people. If the scientific question is the range of outcomes across individuals assuming a known population model, condition on a fixed \(\theta\). If the question is how uncertain the predicted population mean is, examine \(E[Y\mid\theta]\) across outer draws instead.
Diagnostics, Alternatives, and Limitations
Nested simulation separates components only if the simulation design respects the intended conditioning. Check that the population-level inputs stay fixed within each inner set, that individual traits are sampled from the intended population, and that dependencies among individual traits are maintained. Check conditional means and variances across outer draws, not just the pooled histogram. If the conditional means have not stabilized as \(K\) increases, inner Monte Carlo noise can obscure the between-input component. If the component estimates change materially as \(M\) increases, the outer simulation may not adequately explore the uncertainty distribution, especially when outputs respond nonlinearly to uncertain inputs.
- Pooling too early. The variance of all \(Y_{mk}\) values estimates total predictive spread, but does not identify its sources. Preserve the outer-draw labels and calculate conditional summaries first.
- Calling every random input “variability.” A random draw in code is not automatically biological variation. Classify an input by what its distribution represents, not by how it is sampled.
- Confusing numerical noise with a component. Small \(K\) makes conditional means noisy; small \(M\) makes their variance estimate unstable. Increase simulation effort or report that a component is unresolved.
- Ignoring changing conditional variance. Use the average conditional variance across outer draws. A variance computed at one nominal input set may not represent it.
A one-level Monte Carlo simulation can efficiently estimate the overall predictive distribution but generally cannot allocate its variance to the two sources unless it retains labels or uses another decomposition design. Fixing \(\theta\) and simulating many individuals estimates conditional variability, not uncertainty across population-level inputs. Conversely, varying \(\theta\) while using only a conditional mean per outer draw can assess variation in the predicted population mean, but does not estimate individual variability. Nested simulation is useful because it represents both conditioning levels directly, though it costs more model evaluations.
The decomposition also depends on the model and distributions supplied. It does not decide whether the outer uncertainty distribution is well supported, whether the individual distribution represents the target population, or whether an output is clinically relevant. Separate measurement error from biological variation when the question requires it; otherwise, including observation noise in the inner simulations will inflate the component labeled as within-population output variability. The result is a structured accounting of simulated spread, not a substitute for evaluating the inputs and assumptions.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A nested simulation reports conditional population means across outer draws and individual outcomes within each draw. Which summaries estimate parameter uncertainty and output variability, respectively?
- For two equally likely outer draws, the conditional means are 20 and 28 mg/L, and each conditional variance is \(9\;(\mathrm{mg/L})^2\). Calculate the total variance and standard deviation.
- Why can the sample variance of outer conditional means overstate the between-input variance when each mean is based on a finite number \(K\) of individuals?
- A pooled simulation has a wide output distribution. Does that alone show whether the spread is mostly parameter uncertainty or mostly individual variability? Explain.
- What does a negative method-of-moments estimate of the between-input variance suggest, and what should an analyst do?
Solutions. (1) The variance across conditional means estimates the between-input component, with finite-inner-sample correction if needed; the average conditional variance estimates within-population output variability. (2) The overall mean is 24 mg/L, so the between component is \(\{(20-24)^2+(28-24)^2\}/2=16\;(\mathrm{mg/L})^2\). Adding the within component gives total variance \(16+9=25\;(\mathrm{mg/L})^2\), and standard deviation \(5\) mg/L. (3) Each estimated conditional mean varies both because the outer input set changes and because a finite sample of individuals gives a noisy mean. The latter contributes approximately \(W/K\) to the variance among means. (4) No. Pooling gives total spread but discards the conditioning information needed to allocate it; retain outer-draw labels and summarize both levels. (5) The between component may be small relative to Monte Carlo noise, or the simulation may be inadequate. Increase outer and/or inner simulation effort, inspect stability, and report that the component is unresolved rather than interpreting a negative variance as real.