What Does a Subgroup Prediction Target?
A clinical subgroup prediction is not defined by a label alone. “Patients with renal impairment,” for example, may refer to a specified impairment category, a range of measured renal function, or a population with a particular mix of impairment levels. Those definitions can produce different predictions. The target must specify which covariate values define membership and, when a subgroup includes multiple profiles, how those profiles are distributed.
Let \(G=g\) denote membership in subgroup \(g\), \(X\) the patient covariates used to define or describe that subgroup, \(\theta\) a QSP parameter vector, and \(Y\) the clinical outcome under a specified treatment and visit time. The model maps parameters and patient characteristics to an outcome. A subgroup prediction conditions the relevant patient sample on \(G=g\), rather than averaging over the covariate distribution of the full virtual population.
Two prediction targets should be kept distinct. The distribution of \(\mu_g(\theta)\) across an uncertainty ensemble describes uncertainty in the subgroup mean induced by uncertain parameters. The distribution of \(Y\) among individual patients also reflects differences among patients within the subgroup. These distributions answer different questions: the first concerns what the model predicts about the subgroup average, while the second concerns the range of outcomes individual members may experience.
Conditioning and Standardizing
For a narrowly defined profile, such as a specified impairment category and age range, condition the virtual-patient sample on that profile. For a broader subgroup, first specify a target distribution across relevant covariates. If profiles \(x_1,\ldots,x_K\) occur with target weights \(w_1,\ldots,w_K\), where \(w_k\geq 0\) and \(\sum_{k=1}^K w_k=1\), the subgroup mean for fixed \(\theta\) is the weighted average of the profile-specific means.
The weights are part of the estimand, not a cosmetic adjustment. They may come from a specified clinical target population or from a justified design assumption. Using the covariate frequencies in the original virtual population is appropriate only when those frequencies represent the intended subgroup target. If a subgroup is defined by age but the model outcome also depends on renal function, age membership alone does not determine the target renal-function distribution.
With an ensemble of \(M\) parameter draws, calculate the subgroup prediction separately for each draw. For draw \(m\), use the same specified covariate target and obtain \(\mu_g(\theta_m)\). The resulting set of values describes how the subgroup mean changes across the parameter ensemble. If patient-level draws are used to approximate each conditional mean, use enough patients to make that numerical approximation stable; finite simulation noise should not be mistaken for real uncertainty in the subgroup prediction.
Assumptions and a Short Justification
Conditioned predictions require a well-defined outcome, treatment, visit time, subgroup rule, and target covariate distribution. The model must also be applicable to the profiles being simulated: each relevant profile must be within the model’s supported range, or an extrapolation must be clearly recognized and justified. Finally, the virtual-patient sampling or weighting scheme must represent the stated target distribution. A precisely calculated mean for the wrong population is not a valid prediction for the intended subgroup.
Standardization follows directly from conditioning on the profile categories. The total expectation over the subgroup can be written as a sum of expectations within each mutually exclusive profile, weighted by the probability of that profile in the target subgroup:
When the profile categories exhaust the subgroup and \(w_k=P(X=x_k\mid G=g)\), this is the weighted-mean formula above. The argument does not require the outcome model to be linear in covariates. It requires the target weights to sum to one and the profile-specific conditional predictions to correspond to the same treatment, visit time, and outcome definition.
Worked Example: Standardizing Across Impairment Profiles
Hypothetical data. A target subgroup is defined to contain 40% of patients with mild impairment and 60% with severe impairment. At a specified visit under a specified treatment, the model predicts profile-specific mean outcomes of 5 and 11 outcome units, respectively. Calculate the standardized subgroup mean.
The target weights are \(w_{\text{mild}}=0.40\) and \(w_{\text{severe}}=0.60\); they sum to 1. The standardized prediction is:
Thus, the predicted subgroup mean is 8.60 outcome units. It is not the unweighted average of 5 and 11, because the target subgroup assigns unequal weights to the two profiles. Nor is 8.60 an individual-level prediction: it is the mean for the specified profile mix.
Uncertainty in Subgroup Contrasts
To compare two subgroups, calculate both subgroup means under each parameter draw, then form the contrast within that draw. For example, a difference in means is \(\Delta(\theta_m)=\mu_A(\theta_m)-\mu_B(\theta_m)\). This pairing matters when the same parameter draw is used for both predictions: it preserves the dependence induced by shared uncertain parameters.
The variance identity explains why the pairing can change the uncertainty of a contrast. For two quantities \(A\) and \(B\) calculated under the same uncertain draw,
This follows by expanding \(\operatorname{Var}(A-B)=E[((A-E[A])-(B-E[B]))^2]\); the cross-product contributes \(-2\operatorname{Cov}(A,B)\). If both predictions tend to rise or fall together across parameter draws, their covariance is positive and the contrast may be less uncertain than either subgroup mean. Treating the two sets of predictions as unrelated discards this information.
Worked Example: A Paired Contrast Across Parameter Draws
Hypothetical data. Four parameter draws give the following predicted subgroup means, in outcome units, for subgroups A and B under the same treatment and visit time.
| Parameter draw | Subgroup A mean | Subgroup B mean | A minus B |
|---|---|---|---|
| 1 | 12 | 8 | 4 |
| 2 | 13 | 9 | 4 |
| 3 | 11 | 8 | 3 |
| 4 | 14 | 10 | 4 |
The mean of the four paired differences is:
The sample standard deviation of these four differences is \(0.500\) outcome units. The differences have mean 3.75, so their squared deviations sum to \(0.0625+0.0625+0.5625+0.0625=0.750\); dividing by \(4-1=3\) gives a sample variance of \(0.250\), whose square root is 0.500. These four draws illustrate a contrast distribution; they are too few to support a stable description of its tails. The result is an average contrast of 3.75 across the displayed parameter draws, not a claim that every patient in A has an outcome 3.75 units higher than every patient in B.
For context, the separate sample variances of the subgroup A and subgroup B means across these draws are \(1.667\) and \(0.917\), respectively. The paired-difference variance is smaller because the subgroup predictions tend to move together. A calculation that ignored pairing would not represent the contrast generated by these shared parameter draws.
Subgroup Means Are Not Individual Distributions
Standardizing profile means gives a subgroup mean, but does not by itself describe the spread of individual outcomes. If profile-specific outcomes vary among patients, the full subgroup distribution is a mixture of those profile-specific distributions. A mixture can be broad or uneven even when its mean is known exactly. Conversely, a wide individual outcome distribution does not imply that the model’s subgroup mean is equally uncertain across parameter draws.
Worked Example: Mean Versus Individual Variation
Hypothetical data. Use the 40% mild and 60% severe target mix from the first example. Suppose individual outcomes within the mild profile have mean 5 and standard deviation 2 outcome units, while those within the severe profile have mean 11 and standard deviation 3 outcome units. Treat these profile distributions as fixed for this calculation, with no additional parameter uncertainty. Find the subgroup mean and standard deviation of individual outcomes.
The subgroup mean remains \(0.40(5)+0.60(11)=8.60\) outcome units. For the mixture variance, include both within-profile variance and the squared difference between each profile mean and the overall mean:
The standard deviation among individual outcomes is \(\sqrt{15.64}=3.955\) outcome units. This spread combines within-profile variation with the difference between profile means. It is not an uncertainty interval for the subgroup mean; the example explicitly holds parameter uncertainty aside.
Diagnostics, Alternatives, and Limitations
Before reporting a subgroup prediction, check whether the conditioning operation actually matches the target:
- Check the profile definition. Confirm the subgroup rule, covariate units, cut points, treatment, and visit time. A label such as “older patients” is insufficient if the age range is unspecified.
- Check target weights. Verify that weights are nonnegative and sum to one, and document their source. If the model needs additional covariates that the subgroup definition leaves unspecified, state the target distribution for them.
- Check support and sample size. Inspect how many virtual patients contribute to each profile and whether their covariate values lie within the calibrated or otherwise supported region. Sparse or absent profiles make estimates unstable or require extrapolation.
- Check Monte Carlo stability. Repeat or enlarge the virtual-patient simulation and compare the subgroup mean and contrast. Large changes suggest inadequate sampling, especially in rare profiles.
- Check the uncertainty target. Label whether a reported spread concerns parameter-driven variation in subgroup means or outcome variation among individual patients.
Conditioning a generated virtual population is one practical approach when it contains adequate representation of the target profiles. Direct conditional sampling is useful when the subgroup is defined by a narrow profile and efficient sampling is possible. Standardization is preferable when the target is a specified mixture of profiles, because the weights are explicit and can be held fixed across parameter draws. These approaches can target the same estimand if they use the same profile definitions and target distribution; they need not agree when the generated population’s composition differs from that target.
A major limitation is lack of support: reweighting cannot create reliable information for profiles absent from, or far outside, the model’s supported population. Very large weights can also make a prediction depend heavily on a small number of virtual patients. In those settings, report the limitation rather than treating a numerical output as validated. Subgroup predictions are conditional on the model, parameter ensemble, and target definition; they do not by themselves establish that the model is clinically adequate for every subgroup.
Common Mistake
Check Your Understanding
Answer each question, then compare with the solutions.
- A subgroup is defined by age, but the QSP model also uses renal function. What must be specified before predicting the subgroup mean?
- A target subgroup is 40% mild and 60% severe impairment, with profile means of 5 and 11 outcome units. What is its standardized mean?
- Why should subgroup contrasts be formed within matched parameter draws?
- What does a standard deviation of individual outcomes describe that uncertainty across parameter draws of subgroup means does not?
Solutions. 1. Specify or justify the target renal-function distribution within the age-defined subgroup; age membership alone does not determine it. 2. \(0.40(5)+0.60(11)=2.00+6.60=8.60\) outcome units. 3. Matched draws preserve dependence from shared uncertain parameters, so the contrast variance includes the covariance between subgroup predictions. 4. It describes variation among individual patients in the subgroup, whereas the distribution across parameter draws describes how uncertain the subgroup mean is under the parameter ensemble.