Tutorials › Nonlinear Mixed-Effects Models (NLME) › Worked Comparison of Competing Regimens

Dose Selection by Simulation · Tutorial 746 of 797

Worked Comparison of Competing Regimens

Work through a model-based comparison of two regimens, from prespecified clinical targets to subgroup PTA estimates and a transparent treatment decision.

Advanced 10 min read

What You'll Learn

  • Define efficacy, safety, and joint success criteria before comparing regimens.
  • Calculate efficacy, toxicity, and joint PTA from simulated outcomes.
  • Combine subgroup PTA estimates using prespecified population weights.
  • Apply a decision rule with both overall and subgroup requirements.
  • Assess Monte Carlo error and identify model-based limitations.

From Two Regimens to a Decision

Comparing regimens is not just a matter of asking which one produces a higher exposure or a larger efficacy probability. A regimen can improve the chance of meeting an efficacy target while also increasing the chance of an unacceptable safety outcome. The comparison therefore needs clinical criteria, a target population, and a decision rule specified before looking at the simulated results.

This tutorial works through a hypothetical comparison of two oral regimens. The goal is not to identify a universally best regimen, but to show how a prespecified rule can combine efficacy, safety, and subgroup performance. All simulated counts and thresholds below are illustrative, not results from a real study.

Definition: For a regimen \(r\) and a defined patient subgroup, the efficacy probability of target attainment (PTA) is the probability that the modeled efficacy measure meets its prespecified target. The safety probability is the probability that the modeled safety measure stays within its prespecified limit. The joint PTA is the probability that the same simulated patient meets both criteria. Its simulation estimate is the proportion of simulated patients meeting both.

A joint PTA answers a patient-level question: under the model and the stated conditions, how often are both criteria met together? It is not generally equal to the product of the separate efficacy and safety probabilities. That product would require independence of the two outcomes, which should not be assumed merely because two probabilities are reported.

Specify the Comparison Before Simulating

Suppose regimen A is 400 mg every 24 hours and regimen B is 300 mg every 12 hours. A hypothetical population pharmacokinetic/pharmacodynamic model is used to simulate each regimen at steady state. The efficacy target is \(AUC_{24}/MIC \geq 100\), and the safety criterion is \(C_{\max} \leq 12\) mg/L. A simulated patient is a joint success only if both conditions hold.

The target population is divided into two clinically relevant subgroups, with prespecified population weights of 60% for subgroup 1 and 40% for subgroup 2. For each regimen and subgroup, 5,000 virtual patients are simulated. The decision rule is:

  • Joint PTA must be at least 70% in each subgroup.
  • The probability of exceeding the safety limit must be no more than 10% in each subgroup.
  • The population-weighted joint PTA must be at least 78%.

These thresholds are decision criteria for this hypothetical exercise, not universal standards. Specifying them in advance makes the final choice auditable and avoids changing the success definition to favor a regimen after seeing its results.

Assumptions for interpreting the simulation: The model and its input distributions adequately represent the target population; the subgroup definitions and weights are appropriate; the simulated regimen, dosing interval, and steady-state conditions match the intended use; and the efficacy and safety targets are clinically justified. The estimates describe model-based probabilities conditional on those choices. They do not, by themselves, establish that the model is correct or that the regimen will produce the same outcomes in practice.

Worked Comparison: Subgroup PTA and the Decision Rule

Worked Example: Comparing Two Regimens Across Subgroups

The hypothetical simulation produces the following counts. “Safe” means \(C_{\max} \leq 12\) mg/L; “joint success” means both the efficacy target and the safety criterion are met. Counts are out of 5,000 simulations in each subgroup.

RegimenSubgroupEfficacy target metSafeJoint success
A14,4004,7004,200
A23,8004,8503,650
B14,6004,2504,000
B24,2504,3003,700

For regimen A in subgroup 1, efficacy PTA is \(4{,}400/5{,}000=0.880\), or 88.0%. Safety probability is \(4{,}700/5{,}000=0.940\), or 94.0%; equivalently, the safety-limit exceedance probability is \(1-0.940=0.060\), or 6.00%. Joint PTA is \(4{,}200/5{,}000=0.840\), or 84.0%.

The same calculations for all subgroups give:

RegimenSubgroupEfficacy PTASafety exceedance probabilityJoint PTA
A188.0%6.00%84.0%
A276.0%3.00%73.0%
B192.0%15.0%80.0%
B285.0%14.0%74.0%

For example, regimen B in subgroup 2 has safety probability \(4{,}300/5{,}000=0.860\), so its safety exceedance probability is \(1-0.860=0.140\), or 14.0%. The joint PTA is \(3{,}700/5{,}000=0.740\), or 74.0%. The table reports the joint count directly; it is not obtained by multiplying 85.0% by 86.0%.

Now weight the subgroup joint PTAs using the target-population proportions. For regimen A:

$$ 0.60(0.840)+0.40(0.730) =0.504+0.292 =0.796 $$

Thus, regimen A has a population-weighted joint PTA of 79.6%. For regimen B:

$$ 0.60(0.800)+0.40(0.740) =0.480+0.296 =0.776 $$

Regimen B has a population-weighted joint PTA of 77.6%. Apply the rule criterion by criterion. Regimen A meets the subgroup joint PTA minimums (84.0% and 73.0%), both subgroup safety limits (6.00% and 3.00%), and the overall minimum (79.6% is at least 78%). It qualifies under the stated rule. Regimen B meets both subgroup joint PTA minimums, but fails the safety requirement in both subgroups (15.0% and 14.0% exceed the 10% maximum) and falls below the overall joint PTA minimum (77.6% is less than 78%). It does not qualify. Under this rule, regimen A is selected from these two candidates.

Why the Joint Probability and Weights Matter

The two separate probabilities are useful diagnostics, but the joint PTA is the direct estimate of the proportion meeting both requirements. For any two events \(E\) (efficacy target met) and \(S\) (safe), the joint probability must satisfy:

$$ \max\{0,\ P(E)+P(S)-1\} \leq P(E\cap S) \leq \min\{P(E),P(S)\} $$

The upper bound follows because an event that meets both criteria must be contained in each event separately. For the lower bound, the probability of failing at least one criterion is at most \(P(E^c)+P(S^c)\). Therefore \(P(E\cap S)=1-P(E^c\cup S^c)\geq 1-P(E^c)-P(S^c)=P(E)+P(S)-1\); probabilities cannot be negative, giving the stated maximum with zero. These bounds are a useful arithmetic check on reported counts.

For example, regimen A in subgroup 1 has efficacy probability 0.880 and safety probability 0.940. Its joint PTA must lie between \(0.880+0.940-1=0.820\) and \(\min(0.880,0.940)=0.880\). The observed joint PTA, 0.840, is within those bounds.

Subgroup weights matter because a simple average gives the two subgroups equal influence, which would describe a different target population when their proportions differ. If a decision concerns a population with different subgroup proportions, the weights should be changed to represent that population and the weighted PTA recalculated. The subgroup estimates should still be shown: an acceptable weighted average can conceal poor performance in a smaller subgroup.

Monte Carlo Precision and Diagnostics

A simulated PTA is an estimate based on a finite number of virtual patients. Conditional on the simulation model and independent simulated patients, the success count has a binomial distribution with success probability \(p\). If \(\hat{p}\) is the simulated proportion from \(N\) patients, its Monte Carlo standard error is estimated by:

$$ SE(\hat{p}) \approx \sqrt{\frac{\hat{p}(1-\hat{p})}{N}} $$

This follows because the variance of a binomial count is \(Np(1-p)\). Dividing the count by \(N\) divides its variance by \(N^2\), giving \(\operatorname{Var}(\hat{p})=p(1-p)/N\); substituting \(\hat{p}\) for the unknown \(p\) gives the estimated standard error.

Worked Example: Checking Simulation Precision Near a Cutoff

Regimen A has joint PTA \(3{,}650/5{,}000=0.730\) in subgroup 2. Its estimated Monte Carlo standard error is:

$$ SE(\hat{p}) \approx \sqrt{\frac{0.730(1-0.730)}{5{,}000}} =\sqrt{\frac{0.1971}{5{,}000}} =\sqrt{0.00003942} \approx 0.006279 $$

The Monte Carlo standard error is about 0.628 percentage points. The point estimate is 3.00 percentage points above the 70% subgroup threshold, or about \(0.0300/0.006279=4.78\) Monte Carlo standard errors above it. This indicates that simulation noise alone is unlikely to move the estimate across the threshold, although it says nothing about whether the model or its inputs are clinically correct.

Useful checks include confirming that each denominator matches the intended subgroup simulation size, that joint successes do not exceed either component success count, and that the joint PTA satisfies the probability bounds. Also inspect subgroup results rather than only a weighted total, and verify that target definitions, units, dosing schedules, and population weights are consistent across candidates. Implausible subgroup differences or an unexpected regimen ranking can indicate a coding error, an incorrect target definition, or model assumptions that deserve review.

Monte Carlo error is only one source of uncertainty. A small Monte Carlo standard error does not account for uncertainty in model parameters, model structure, adherence, or the future population. Those issues require additional evaluation; they are not resolved simply by increasing the number of virtual patients.

Decision Rules, Alternatives, and Limitations

This example uses a constrained rule: a regimen must pass subgroup safety and joint-PTA requirements, as well as a population-level requirement. That approach makes the clinical constraints visible. A weighted average alone would have ranked A above B here, but would not, by itself, explain B’s unacceptable safety exceedance probabilities. Conversely, ranking solely by efficacy PTA would favor B in both subgroups and ignore the safety constraint.

Another possible approach is to summarize benefit and risk with a utility function. That can be appropriate when trade-offs can be specified credibly, but it answers a different decision question: a sufficiently large benefit may compensate for a specified harm under the chosen utility. The threshold rule in this example does not permit that compensation. The method should follow the clinical decision being represented, not be chosen because it produces a preferred ranking.

A decision based on simulated PTA is conditional on the endpoint definitions, model, simulated population, and weights. A regimen that qualifies is not thereby proven safe or effective, and a regimen that fails this particular rule may warrant reconsideration if the clinical targets or intended population change. Report the criteria, subgroup estimates, population-weighted result, and rule outcome together so readers can see what the recommendation does and does not establish.

Common pitfall: “Regimen B has higher efficacy PTA, so it is the better regimen.” This reasoning ignores that B exceeds the safety limit in 14–15% of simulated patients and fails the prespecified rule. Compare the full set of required criteria, including subgroup results, before making the stated decision.

Check Your Understanding

Try each problem, then compare your reasoning with the solutions.

  1. A subgroup has 1,000 simulated patients, of whom 820 meet the efficacy target, 900 meet the safety criterion, and 760 meet both. Calculate the two marginal probabilities and the joint PTA.
  2. A regimen has subgroup joint PTAs of 0.82 and 0.68, with subgroup weights of 70% and 30%. Calculate the weighted joint PTA. Does it meet an overall minimum of 0.78 and a subgroup minimum of 0.70?
  3. Explain why multiplying efficacy PTA by safety probability is not generally a valid way to calculate joint PTA.
  4. In 2,000 simulations, 1,500 patients meet a target. Calculate the estimated PTA and its Monte Carlo standard error.
  5. Suppose a regimen meets the overall PTA threshold but exceeds the safety-risk limit in one subgroup. Under a rule requiring every subgroup to pass the safety limit, does the regimen qualify?

Solutions. (1) Efficacy PTA is \(820/1{,}000=0.820\), or 82.0%; safety probability is \(900/1{,}000=0.900\), or 90.0%; joint PTA is \(760/1{,}000=0.760\), or 76.0%. (2) The weighted PTA is \(0.70(0.82)+0.30(0.68)=0.574+0.204=0.778\), or 77.8%, so it fails the 78% overall minimum. It also fails the subgroup minimum because 0.68 is below 0.70. (3) Multiplication gives the joint probability only under independence of efficacy and safety outcomes; without that assumption, estimate the joint event directly from simulated patients meeting both criteria. (4) The estimated PTA is \(1{,}500/2{,}000=0.750\). Its Monte Carlo standard error is \(\sqrt{0.750(0.250)/2{,}000}=\sqrt{0.00009375}\approx0.009682\), or 0.968 percentage points. (5) No. A required subgroup safety failure disqualifies the regimen even if its weighted overall PTA passes.