Two Prediction Targets, Two Questions
An external PK model can predict concentrations for a new patient in more than one way. A population prediction asks how well the locked model predicts without using that patient’s measured concentrations. An individual conditional prediction asks how well it predicts after using specified observations from that same patient to learn about their individual random effects. These are different prediction tasks, not competing calculations of one identical target.
That distinction matters when interpreting a performance summary. A prediction informed by a patient’s earlier concentrations can be useful for forecasting their later concentrations, but its performance does not describe what the model can predict for a patient with no concentration data. Conversely, a population prediction assesses the model’s predictions before individual concentration information becomes available.
Terminology can vary across software and reports. In particular, a typical-individual prediction \(f(x,\theta,0)\) is not generally the same as the population-average prediction \(E_{\eta}[f(x,\theta,\eta)]\). The latter averages model predictions over the random-effects distribution. For nonlinear models, taking the expectation over random effects can change the prediction. A validation report should state which quantity it calls a population prediction and how it was calculated.
What Data Inform Each Prediction?
For a population prediction, the individual’s measured concentrations must not be used to tune that individual’s random effects. The prediction can use the locked population model, the individual’s permitted covariates, and the dosing and sampling information available at the prediction time. If those covariates or dosing records are unavailable or inconsistent in the external data, the prediction is not based on the same information set as the intended use.
For an individual conditional prediction, the validation concentrations used to estimate the individual effect are part of the prediction information. It is therefore essential to identify which measurements were used and which measurement or measurements are being predicted. A legitimate prospective question might be: “After observing this patient’s first two concentrations, how well does the model predict their next concentration?” Using those first two observations to estimate the patient effect is appropriate. Using the target concentration itself to estimate that effect, and then reporting the resulting prediction as a forecast of that same concentration, gives the prediction access to its answer.
Conditioning on individual observations need not mean re-estimating the population model. With the model locked, individual data may update the estimate of \(\eta_i\) while \(\theta\) remains fixed. If the external data are used to change population parameter estimates, that is model updating rather than a prediction based only on the locked model.
A Simple Conditional Prediction Derivation
A Gaussian random-intercept example shows precisely how individual data change a prediction. Let \(z_{ij}\) be log concentration, and suppose, for the purpose of this derivation, that the model is
Assume that the random effects and residual errors are mutually independent, that residual errors are independent across observations, and that \(\mu\), \(\omega^2\), and \(\sigma^2\) are known and locked. For one individual, let \(r_j=z_{ij}-\mu\) be the residual from the population prediction for each of \(m\) conditioning observations. The likelihood for \(\eta_i\) is proportional to \(\exp[-\sum_j(r_j-\eta_i)^2/(2\sigma^2)]\), and its prior density is proportional to \(\exp[-\eta_i^2/(2\omega^2)]\). Multiplying these densities and completing the square gives a normal conditional distribution with mean and variance
where \(\bar r=m^{-1}\sum_{j=1}^{m}r_j\). The conditional mean is a shrunken version of the mean residual: it lies between zero and \(\bar r\) when the variances are positive. If between-individual variability is small relative to residual variability, the estimate is pulled more strongly toward zero. If multiple informative observations are available, the data can provide more information about the individual effect. This derivation describes a simple Gaussian model; in nonlinear PK models, conditional estimates may require numerical methods and the relationship need not have this closed form.
Worked Example: Conditioning on Earlier Concentrations
Hypothetical data. Suppose the locked log-concentration model above has \(\mu=2.00\), \(\omega^2=0.25\), and \(\sigma^2=0.09\). For one external-validation patient, two earlier log concentrations are \(2.50\) and \(2.30\). The log concentration at a later time, \(2.40\), is held out for evaluation. Calculate the typical-individual and conditional predictions for that later time under this simplified model.
The typical-individual prediction is \(\mu=2.00\). The two conditioning residuals are \(2.50-2.00=0.50\) and \(2.30-2.00=0.30\), so \(\bar r=(0.50+0.30)/2=0.40\). The shrinkage factor is
Thus the conditional estimate of the individual effect is \(0.8475(0.40)\approx0.3390\), and the conditional log prediction is \(2.00+0.3390=2.339\). The held-out log concentration is \(2.40\). The absolute difference on the log scale is \(0.40\) for the typical-individual prediction and approximately \(0.0610\) for the conditional prediction. The latter is closer for this one held-out value, but one observation does not establish a general performance advantage.
If the log concentrations are natural logarithms of concentrations expressed in mg/L, exponentiating gives predictions of approximately \(e^{2.00}=7.389\) mg/L and \(e^{2.339}\approx10.37\) mg/L, respectively; the observed concentration is \(e^{2.40}\approx11.02\) mg/L. These exponentiated values are predictions on the concentration scale corresponding to the specified log-scale predictions. The two earlier measurements informed the conditional prediction, but the held-out measurement did not.
Typical-Individual and Marginal Predictions
The phrase “population prediction” can obscure a second distinction: prediction for a typical individual versus the average prediction across the population. In the log-normal random-intercept model, the typical-individual prediction on the log scale is \(\mu\). If \(C\) is concentration and the model implies \(\log C=\mu+\eta\) with \(\eta\sim N(0,\omega^2)\), then the arithmetic mean concentration over individuals is
The final equality follows from the moment-generating property of a normal random variable. In contrast, \(\exp(\mu)\) is the median of the log-normal distribution, and its geometric mean. A reported average prediction on the concentration scale should therefore specify whether it is a typical-individual value or an average over the random-effects distribution.
Worked Example: Why the Population Average Can Differ
Hypothetical model. Suppose log concentration follows \(\log C=2.00+\eta\), where \(\eta\sim N(0,0.25)\), and ignore residual error for this illustration. The typical-individual prediction on the concentration scale is \(\exp(2.00)\approx7.389\) mg/L. The marginal arithmetic mean is
The difference arises from averaging an exponential of a random effect, not from using individual validation concentrations. The value \(7.389\) mg/L describes the individual with \(\eta=0\); \(8.373\) mg/L is the average concentration across the modelled random-effects distribution under these assumptions. Calling both quantities “the population prediction” without qualification could lead to an incorrect comparison with observed data.
Constructing a Fair Performance Comparison
A performance summary is meaningful only when its prediction target, information set, evaluation observations, and scale are clear. To compare population and conditional predictions directly, apply the same chosen summary to predictions of the same held-out observations. Keep the population parameters fixed in both analyses. For the conditional analysis, specify the conditioning measurements in advance; for the population analysis, do not use those measurements to estimate individual effects. This paired comparison helps ensure that a difference reflects the additional individual information rather than a different set of patients or outcomes.
The two summaries still answer different applied questions. Population-prediction performance addresses settings such as initial dose selection when no patient concentrations are available. Conditional-prediction performance addresses settings where some concentrations have already been measured and are used to personalize predictions. A better conditional summary does not show that the model can make equally good predictions before therapeutic drug monitoring data are collected. Nor does a weaker population summary invalidate the model’s potential usefulness for later, data-informed forecasting.
A fair evaluation of conditional predictions should reserve evaluation outcomes that were not used for conditioning. Common designs include using earlier observations to condition and later observations to evaluate, or separating observations into conditioning and evaluation sets according to a prespecified rule. The chosen design should reflect how predictions would be used in practice. If the goal is to forecast the next sample, for example, condition only on information available before that sample.
Worked Example: Choosing the Evaluation Set
Hypothetical design. An external dataset contains four concentrations per patient, measured in chronological order. The intended use is to predict a patient’s fourth concentration after the first three are available. The population model and its parameters were locked before the dataset was examined.
For the population-prediction summary, predict each patient’s fourth concentration using the locked parameters, permitted covariates, and dosing history, without using that patient’s first three concentrations to estimate an individual effect. For the conditional-prediction summary, use the first three concentrations to estimate the individual effect, then predict the fourth. In both cases, compare predictions with the fourth concentrations from the same patients. No fourth concentration informs either prediction.
If instead the conditional effect is estimated using all four concentrations, the fourth observation contributes to the prediction being assessed. That is not an honest evaluation of the stated forecast task. It can make the conditional predictions appear closer to the observed values because information from the evaluation outcome has entered the prediction. The remedy is not to discard conditional prediction, but to separate the data used to condition from the data used to evaluate.
Assumptions, Diagnostics, and Limitations
Population and conditional prediction comparisons rely on several practical conditions. The locked model must define the same structural, random-effects, and residual-error assumptions for the external population. Doses, times, units, covariates, and relevant data handling must be aligned with the intended prediction task. Conditional predictions additionally depend on the quality and timing of the individual observations used to estimate random effects. If these measurements are sparse, noisy, or uninformative for the relevant PK parameters, conditional predictions may remain close to population predictions or be unstable.
Useful checks include confirming that no evaluation outcome entered the individual-effect estimation, verifying that all predictions used the intended dosing and sampling records, and documenting the number and timing of conditioning observations. Inspect whether conditional effects are extreme or poorly determined, and whether the conclusions change substantially when the conditioning set changes. A conditional prediction that looks unusually successful when evaluated on the same observations used to estimate its individual effect is a warning sign of information leakage, not evidence of strong forecasting performance.
These approaches are alternatives only in the sense that they represent different information settings. Population prediction is appropriate when no individual concentration data are available for prediction. Conditional prediction is appropriate when the target is explicitly data-informed prediction after specified observations. A single summary should not be used to answer both questions without labeling the prediction type and information set. Both approaches are also limited by the adequacy of the locked model and by whether the external validation population and data-collection process support the intended use.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A model predicts a new patient’s concentration using the locked population parameters and covariates, but no measured concentrations from that patient. Is this a population or a conditional prediction?
- A conditional effect is estimated from a patient’s first two concentrations and used to predict their third. Which measurements inform the prediction, and which should be reserved for evaluation?
- In a log-normal random-intercept model, why can the typical-individual concentration prediction differ from the arithmetic mean concentration across individuals?
- Why is it not valid to conclude from better conditional-prediction performance alone that the model predicts well for patients with no concentration data?
Solutions. (1) It is a population prediction because no patient-specific concentration informs an individual effect estimate. (2) The first two concentrations inform the conditional prediction; the third should be held out to evaluate that forecast. (3) Exponentiation is nonlinear: for \(\log C=\mu+\eta\), \(\eta\sim N(0,\omega^2)\), the typical value is \(\exp(\mu)\), whereas the arithmetic mean is \(\exp(\mu+\omega^2/2)\). (4) Conditional predictions use additional patient-specific information, so they assess a different task from prediction before any patient concentrations are available.