Tutorials › Model-Informed Drug Development (MIDD) › Preserving Dependence in Integrated Simulations

Evidence Integration Across Models · Tutorial 50 of 596

Preserving Dependence in Integrated Simulations

Learn to represent clinically meaningful dependence across model components and assess how independence assumptions alter simulated patient-level and trial-level conclusions.

Advanced 11 min read

What You'll Learn

  • Distinguish patient-level dependence from separate marginal distributions.
  • Preserve clearance–exposure and exposure–outcome relationships in integrated simulations.
  • Calculate how covariance changes the variance of a combined outcome.
  • Show how dependence changes joint response and safety probabilities.
  • Diagnose when an independence assumption or a correlation-only description is inadequate.

Why Dependence Matters in an Integrated Simulation

A trial simulation can use realistic marginal distributions for clearance, exposure, response, and safety and still produce implausible patients. The problem arises when components are simulated separately and then paired as if their values were unrelated. In a real patient, low clearance may be associated with higher exposure; exposure may in turn be associated with both greater response and more adverse events. Breaking those links changes which outcomes occur together, even if each variable’s marginal distribution remains unchanged.

This matters when a development decision depends on combinations of outcomes: for example, the probability that a patient responds without a safety event, or the probability that a simulated trial meets efficacy and safety criteria together. Dependence can affect these joint probabilities and the variability of combined outcomes. It does not, by itself, establish that one variable causes another. The assumed relationships must be supported by the model structure, data, and clinical rationale.

Definition: Variables are dependent when their joint distribution does not equal the product of their marginal distributions. In an integrated simulation, preserving dependence means generating or linking component outputs so that relevant relationships among patient characteristics, exposure, response, and safety are retained. Independence is a special assumption: for independent variables \(X\) and \(Y\), \(P(X,Y)=P(X)P(Y)\).

A useful distinction is between marginal behavior and joint behavior. A marginal distribution describes one variable on its own; a joint distribution describes which combinations of values occur. Simulating each marginal correctly is not enough if the decision depends on combinations. For example, knowing the response rate and adverse-event rate separately does not determine the fraction of patients who respond without an adverse event.

Representing Dependence Between Components

First identify the variables that belong to the same simulated patient and specify the links that the integrated model requires. A mechanistic or population PK component may generate clearance and exposure, while an exposure-response component maps exposure to response and safety. The interface should retain the patient-level values or covariates that connect these components. If a patient’s simulated exposure is replaced by a newly sampled, unrelated exposure before response is generated, the exposure-response link has been broken.

For two variables with finite variances, dependence in their linear co-variation is summarized by covariance:

$$ \operatorname{Cov}(X,Y) =E[(X-E[X])(Y-E[Y])] =\rho_{XY}\sigma_X\sigma_Y. $$

Here \(\rho_{XY}\) is their correlation, between \(-1\) and \(1\), and \(\sigma_X,\sigma_Y\) are their standard deviations. A positive correlation means that values above the mean for one variable tend to accompany values above the mean for the other; a negative correlation means that above-mean values tend to accompany below-mean values. Correlation summarizes linear association and does not generally specify the full joint distribution.

For a vector of continuous variables, a multivariate distribution can be used to generate correlated values, provided its covariance matrix is valid (in particular, positive semidefinite). For non-normal, bounded, or discrete outcomes, a conditional model or another joint-distribution construction may be more appropriate. A correlation matrix alone cannot create a valid simulation unless the selected distribution and its dependence structure are suitable for the variables being modeled.

A practical alternative is conditional simulation. Generate a patient’s clearance and covariates, calculate exposure using the PK model, and then generate response and safety outcomes conditional on that patient’s exposure and covariates. This preserves dependencies encoded by the conditional relationships. It is not necessary to impose a direct correlation between every pair of variables: a shared upstream variable can induce association between downstream outcomes.

Covariance Changes the Spread of Combined Outcomes

Suppose a simulated summary \(L\) combines two patient-level quantities \(X\) and \(Y\) using weights \(a\) and \(b\). By expanding the variance and using the definition of covariance, the variance of the sum is:

$$ \begin{aligned} \operatorname{Var}(L) &=\operatorname{Var}(aX+bY)\\ &=a^2\operatorname{Var}(X)+b^2\operatorname{Var}(Y) +2ab\operatorname{Cov}(X,Y)\\ &=a^2\sigma_X^2+b^2\sigma_Y^2 +2ab\rho_{XY}\sigma_X\sigma_Y. \end{aligned} $$

The final term is the contribution of dependence. Assuming independence sets \(\rho_{XY}=0\), which is justified only when the variables are independent under the model, not merely because separate components produced them. Positive dependence increases the variance of a sum with positive weights; negative dependence reduces it. With different signs for the weights, the direction can reverse.

Worked Example: Correcting the Variance for Positive Dependence

Suppose two standardized model outputs, \(X\) and \(Y\), each have standard deviation 0.7, and their correlation is 0.60. Consider \(L=X+Y\). These hypothetical values are chosen to illustrate the calculation.

The covariance is \(\operatorname{Cov}(X,Y)=(0.60)(0.7)(0.7)=0.294\). Therefore:

$$ \begin{aligned} \operatorname{Var}(L) &=0.7^2+0.7^2+2(0.7)(0.7)(0.60)\\ &=0.49+0.49+0.588\\ &=1.568. \end{aligned} $$

The standard deviation is \(\sqrt{1.568}=1.252\). If \(X\) and \(Y\) were incorrectly treated as independent, the variance would be \(0.49+0.49=0.980\) and the standard deviation would be \(\sqrt{0.980}=0.9899\). Thus, for this sum, independence understates the variance. This calculation concerns the spread of the combined output; it does not imply that every trial-level success probability must change in the same direction.

Follow the Clearance–Exposure–Outcome Links

For a simple illustration, suppose standardized clearance \(Z_{\mathrm{CL}}\) and standardized exposure \(Z_{\mathrm{AUC}}\) have a bivariate normal distribution, each with mean 0 and standard deviation 1, and correlation \(-0.60\). This is a hypothetical relationship: patients with lower-than-average clearance tend to have higher-than-average exposure. Suppose response \(Y\), measured in response-score units, follows \(Y=10+2Z_{\mathrm{AUC}}+\epsilon\), where \(\epsilon\) is independent of both standardized variables, has mean 0, and has standard deviation 3. These assumptions allow the dependence and its consequences to be calculated directly.

Worked Example: Retaining the Clearance–Exposure Association

The mean response is \(10\) response-score units. For a patient with clearance one standard deviation below the mean, \(Z_{\mathrm{CL}}=-1\). Under the specified bivariate normal model, the conditional mean of exposure is:

$$ E[Z_{\mathrm{AUC}}\mid Z_{\mathrm{CL}}=-1] =(-0.60)(-1)=0.60. $$

The conditional mean response is consequently \(10+2(0.60)=11.2\) response-score units. If exposure were instead independently sampled for this patient, its conditional mean would be 0, and the simulated mean response at \(Z_{\mathrm{CL}}=-1\) would be \(10\). The independent draw removes the model’s implied relationship between clearance and response.

The association also propagates into the response distribution. Since \(\operatorname{Var}(Y)=2^2+3^2=13\), and \(\operatorname{Cov}(Z_{\mathrm{CL}},Y)=2(-0.60)=-1.20\), the correlation is \(-1.20/\sqrt{13}=-0.3328\). Sampling response through exposure therefore retains an association with clearance. These calculations rely on the stated normal model and independent residual; they are not universal properties of every PK or response model.

In a fuller simulation, safety could also depend on exposure. Then the same patient’s exposure should feed both the response and safety components. This can produce correlated outcomes even if response and safety are conditionally independent given exposure. Whether conditional independence is reasonable is a modeling assumption that should be examined, not inferred from the fact that two outcomes are generated in separate steps.

Dependence Changes Joint Response and Safety Probabilities

The importance of the joint distribution can be seen with binary outcomes. Let \(R=1\) denote response and \(S=1\) denote a safety event. If their marginal probabilities are \(P(R=1)=0.40\) and \(P(S=1)=0.20\), independence implies \(P(R=1,S=1)=0.40(0.20)=0.08\). But the marginal probabilities alone do not determine this joint probability.

Worked Example: Joint Response and Safety in a Hypothetical Trial

Suppose, hypothetically, the response and safety-event indicators have correlation 0.50, with the marginal probabilities just given. For binary variables, their covariance is \(\rho\sqrt{p_R(1-p_R)p_S(1-p_S)}\), where \(p_R=0.40\) and \(p_S=0.20\). Thus:

$$ \begin{aligned} P(R=1,S=1) &=p_Rp_S+\operatorname{Cov}(R,S)\\ &=(0.40)(0.20) +(0.50)\sqrt{(0.40)(0.60)(0.20)(0.80)}\\ &=0.0800+0.0980\\ &=0.1780. \end{aligned} $$

The implied four joint probabilities are: response with safety event, 0.1780; response without safety event, \(0.40-0.1780=0.2220\); no response with safety event, \(0.20-0.1780=0.0220\); and neither, \(1-0.1780-0.2220-0.0220=0.5780\). They are nonnegative and sum to 1, so the table is internally consistent.

Under independence, the corresponding probabilities would be 0.0800, 0.3200, 0.1200, and 0.4800. The response rate and safety-event rate are unchanged, but the simulated fraction who respond without a safety event falls from 0.3200 under independence to 0.2220 under the specified positive association. A decision based on both outcomes can therefore change even when each marginal rate is preserved.

Diagnostics, Alternatives, and Limitations

Before interpreting an integrated simulation, check whether it preserves the dependencies needed for the decision. A useful audit follows one simulated patient through the model: confirm that the same patient-level clearance, covariates, and exposure values reach the components that use them. Then compare simulated marginal distributions and joint summaries, such as correlations, conditional means, or response-without-safety probabilities, with the assumptions or data used to specify the model.

  • Look for broken links. If exposure is generated from clearance but then independently redrawn for the response model, the clearance–exposure relationship has been lost.
  • Check joint probabilities. Verify that probabilities are between 0 and 1, sum to 1, and respect the specified marginals. For example, \(P(R=1,S=1)\) cannot exceed either \(P(R=1)\) or \(P(S=1)\).
  • Inspect dependence at the relevant scale. A linear correlation can miss nonlinear relationships, threshold effects, or dependence concentrated in the tails. Compare conditional patterns relevant to the decision, not just a single correlation coefficient.
  • Check the direction and rationale. A simulated association should follow from a stated mechanism, shared covariate, or fitted joint model. A convenient correlation value is not evidence that the relationship is clinically appropriate.

Three broad approaches are useful, depending on the problem. Conditional generation passes patient-specific outputs from one component into the next and is often natural for a directed PK-to-response structure. Joint generation samples several variables together from a specified joint distribution and can be useful when their dependence is directly modeled. Independent generation is simpler and appropriate when independence is supported for the variables at the level being simulated. It is not a neutral default: it sets dependence to zero.

Each approach has limits. Conditional models can omit a shared cause or use an inadequate conditional relationship. Joint distributions can be difficult to specify, especially for mixed continuous and discrete outcomes. A correlation matrix may preserve linear associations yet misrepresent nonlinear or tail dependence. Empirical estimates of dependence can also be imprecise when data are limited. In these situations, examine decision-relevant alternatives rather than presenting one dependence structure as certain.

A common mistake is to say, “The response and safety models were fitted separately, so their outcomes are independent.” Separate fitting or separate simulation steps do not establish independence. If both outcomes depend on the same patient’s exposure, they may remain associated after conditioning on exposure, or become associated through exposure even if conditionally independent. The correction is to state the level and conditions of the independence assumption, preserve shared patient-level inputs, and check the resulting joint behavior.

Key takeaway: Integrated simulations must preserve the relationships that connect model components, not only reproduce each component’s marginal predictions. Independence is a substantive assumption about joint behavior and can materially distort combined endpoints and trial decisions.

Check Your Understanding

Work through each question, then compare your reasoning with the solutions.

  1. Two outputs each have standard deviation 1, correlation \(-0.40\), and are added. What is the variance of their sum?
  2. Suppose a patient’s exposure is generated from clearance, but a new independent exposure is drawn before response is simulated. Which dependence has been removed?
  3. Response and safety-event probabilities are 0.30 and 0.10. Under independence, what is the probability of response without a safety event?
  4. Why can response and safety be dependent even if they are conditionally independent given exposure?

Solutions. (1) The variance is \(1^2+1^2+2(-0.40)(1)(1)=1.20\). (2) The clearance–exposure association, and any association between clearance and response that was carried through exposure, has been broken. (3) Under independence, \(P(R=1,S=0)=0.30(1-0.10)=0.270\). (4) Both outcomes depend on the same varying exposure. Averaging over patients with different exposures can associate the outcomes even when they are independent within each fixed exposure level.