Tutorials › Optimal Design and Model-Informed Dosing › Simulation-Based Comparison of Uncertainty-Aware Dose Rules

Dose Optimization Under Uncertainty · Tutorial 236 of 497

Simulation-Based Comparison of Uncertainty-Aware Dose Rules

Compare uncertainty-aware dose rules by applying them to the same simulated scenarios and examining performance, safety, and stability.

Advanced 12 min read

What You'll Learn

  • Define common simulated scenarios for evaluating competing dose rules.
  • Distinguish model-parameter uncertainty from simulated patient-outcome variability.
  • Estimate target-attainment and toxicity rates with Monte Carlo error.
  • Compare rules using paired simulation outcomes and prespecified clinical metrics.
  • Measure recommendation stability across refits or perturbations.
  • Diagnose when rankings depend on simulation design or uncertain assumptions.

Why Compare Dose Rules by Simulation?

A dose rule is a procedure for turning available model information into a dose recommendation. Chance-constrained, robust, and risk-sensitive rules can select different doses because they treat uncertainty and harm differently. Comparing their recommendations alone is not enough: a rule that appears cautious may still have poor target attainment, and a rule with good average performance may have an unacceptable toxicity rate or vary sharply when the data or assumptions change.

Simulation makes the comparison concrete. Specify a set of plausible model scenarios, apply each rule using the information it would have at the decision point, and evaluate the resulting recommendations against outcomes generated under a stated simulation model. The comparison is only as informative as that design: using the same outcomes and metrics for each rule helps isolate differences between rules, while independent evaluation scenarios help reveal overfitting to the scenarios used to choose a dose.

Definition: A simulation-based comparison evaluates two or more dose rules by repeatedly generating decision inputs and/or outcomes under an explicit data-generating model, applying each rule, and summarizing prespecified performance measures. A scenario is one specified set of relevant conditions, such as model parameters, patient covariates, or structural assumptions. A simulation comparison describes performance under its stated scenarios; it does not establish performance in every clinical population.

Let \(d_r\) denote the dose recommended by rule \(r\). For a simulated patient or simulated patient replicate \(i\), define \(T_i(d_r)=1\) if the prespecified efficacy target is attained at that dose, and \(H_i(d_r)=1\) if the prespecified toxicity event occurs. These are simulated outcomes, not guarantees about individual patients. The target-attainment rate and toxicity rate are estimated by the corresponding sample proportions. The clinical target, toxicity definition, follow-up period, and eligible population must be held fixed across rules.

Set Up a Fair Comparison

The rules being compared should use a common candidate-dose grid, the same clinical target and toxicity definition, and the same information available at the decision time. Their decision criteria remain distinct. A chance-constrained rule selects from doses that satisfy a stated probability constraint; a robust rule evaluates performance across a prespecified set of plausible conditions, often emphasizing the least favorable condition; a risk-sensitive rule incorporates the consequences of unfavorable outcomes, for example by penalizing a lower tail of utility or assigning a larger cost to toxicity. The comparison should report the criteria used, rather than treating these labels as interchangeable.

A useful design separates two simulation tasks. In a decision stage, each rule is applied to training draws or scenarios and produces a recommendation. In an evaluation stage, those fixed recommendations are tested on fresh scenarios or simulated patients. Reusing exactly the decision-stage scenarios for evaluation can make a rule look better because it was selected to perform well on those scenarios. If the aim is to assess a rule across repeated studies, repeat the entire decision stage across simulated data sets and record the resulting recommendations.

1
Prespecify the estimands.
Choose target-attainment and toxicity definitions, any utility measure, the patient population, and the dose grid before comparing rules.
2
Generate scenarios.
Represent parameter uncertainty and, where relevant, patient heterogeneity or alternative structural assumptions. State how scenarios are sampled or selected.
3
Apply each rule.
Use the same decision information and constraints for each rule, retaining its selected dose and any cases in which it cannot recommend a feasible dose.
4
Evaluate on common replicates.
Where possible, simulate outcomes for each rule on the same replicate or patient draw. This paired design reduces irrelevant variation in comparisons.
5
Summarize performance and stability.
Report attainment, toxicity, uncertainty in these estimates, and how often recommendations change across repeated decision stages or perturbations.

Metrics and Monte Carlo Precision

For \(N\) simulated evaluation replicates, the estimated target-attainment rate is \(\hat p_T=\sum_{i=1}^{N}T_i(d_r)/N\), and the estimated toxicity rate is \(\hat p_H=\sum_{i=1}^{N}H_i(d_r)/N\). These rates are interpretable only with their population and simulation conditions stated. A rule can be compared on both rates without collapsing them into one score. If a utility score is also used, its components and weights should be explicit; a utility ranking cannot replace a separate safety summary.

Under independent, identically distributed Bernoulli simulation replicates for a fixed dose and scenario distribution, the Monte Carlo standard error of an estimated event rate \(\hat p\) is approximately \(\sqrt{\hat p(1-\hat p)/N}\). This quantifies finite simulation noise conditional on the simulation design. It does not quantify uncertainty about whether the assumed model, parameter distribution, or scenario set is correct.

Justification: If \(Y_i\) is a simulated binary outcome with probability \(p\), then \(\hat p=N^{-1}\sum_iY_i\). Independence gives \(\operatorname{Var}(\hat p)=N^{-2}\sum_i\operatorname{Var}(Y_i)=N^{-2}Np(1-p)=p(1-p)/N\). Replacing the unknown \(p\) by \(\hat p\) gives the estimated Monte Carlo standard error above. This approximation concerns simulation precision, not clinical sampling error or model misspecification.

When outcomes for two rules are generated on the same replicates, compare them as paired results. For example, define \(D_i=T_i(d_A)-T_i(d_B)\). The estimated difference in attainment is \(\bar D=N^{-1}\sum_iD_i\), and its Monte Carlo standard error is \(s_D/\sqrt{N}\), where \(s_D\) is the sample standard deviation of the replicate-level differences. Pairing is useful because patients or scenarios that are intrinsically easier or harder affect both rules, and this shared variation can cancel in the difference. The rules must still be evaluated under the same intended population and outcome-generation assumptions.

Worked Example: Comparing Attainment and Toxicity

Suppose three rules recommend 30, 35, and 40 mg, respectively. In a hypothetical evaluation simulation of \(N=1{,}000\) patients from the same stated scenario distribution, the numbers attaining the target are 610, 730, and 780; the numbers with toxicity are 40, 90, and 160. Calculate the rates and their approximate Monte Carlo standard errors.

For the 30 mg recommendation, \(\hat p_T=610/1{,}000=0.610\), with \(SE\approx\sqrt{0.610(1-0.610)/1{,}000}=0.0154\). Its toxicity rate is \(\hat p_H=40/1{,}000=0.0400\), with \(SE\approx\sqrt{0.0400(0.960)/1{,}000}=0.00620\).

For 35 mg, \(\hat p_T=730/1{,}000=0.730\), with \(SE\approx\sqrt{0.730(0.270)/1{,}000}=0.0140\). The toxicity rate is \(90/1{,}000=0.0900\), with \(SE\approx\sqrt{0.0900(0.910)/1{,}000}=0.00905\).

For 40 mg, \(\hat p_T=780/1{,}000=0.780\), with \(SE\approx\sqrt{0.780(0.220)/1{,}000}=0.0131\). The toxicity rate is \(160/1{,}000=0.160\), with \(SE\approx\sqrt{0.160(0.840)/1{,}000}=0.0116\).

In this hypothetical simulation, attainment increases with dose, but so does toxicity. The numbers alone do not determine which recommendation is preferable: that depends on the prespecified safety limits and the consequences assigned to efficacy and harm. The reported standard errors describe Monte Carlo precision for these simulated rates, not uncertainty that the model represents clinical outcomes correctly.

Recommendation Stability Is a Separate Outcome

Performance metrics evaluate what happens after a recommendation is made. Stability evaluates whether the rule repeatedly makes similar recommendations when the decision process is rerun under plausible variation. To assess it, repeat the decision stage across simulated data sets, parameter draws, or prespecified perturbations to assumptions. Report the frequency of each selected dose, the range or spread of recommendations, and how often no dose satisfies the rule. A small average dose difference can conceal frequent switches between clinically distinct options, so the full distribution is often more informative than one summary.

Stability is not the same as correctness. A rule that always selects one dose can be highly stable and still have poor target attainment or excessive toxicity. Conversely, a rule can have acceptable average performance but unstable recommendations near a feasibility boundary. The earlier material on diagnosing unstable dose recommendations motivates examining this behavior; here, stability is one component of a common simulation comparison.

Worked Example: Summarizing Recommendation Stability

In a hypothetical experiment, each rule is applied to 20 independently generated decision-stage data sets. The chance-constrained rule selects 35 mg in 14 runs and 40 mg in 6; the robust rule selects 30 mg in 18 runs and 35 mg in 2; the risk-sensitive rule selects 35 mg in 11 runs and 40 mg in 9. Calculate the mean recommendation and range for each rule.

For the chance-constrained rule, the mean is \((14\times35+6\times40)/20=(490+240)/20=36.5\) mg, and the range is 35–40 mg.

For the robust rule, the mean is \((18\times30+2\times35)/20=(540+70)/20=30.5\) mg, and the range is 30–35 mg.

For the risk-sensitive rule, the mean is \((11\times35+9\times40)/20=(385+360)/20=37.25\) mg, and the range is 35–40 mg.

The robust rule has the narrowest observed range here, while the other two switch between the same pair of doses. These summaries do not show why a rule changed its recommendation; inspecting the decision inputs and constraint margins across runs is necessary to identify the source of instability. Twenty runs are also a small basis for estimating recommendation frequencies, so more repetitions may be needed for a precise stability assessment.

Interpreting the Comparison and Diagnosing Failure

A useful report puts the principal metrics side by side rather than declaring a single winner from one favorable quantity. For example, if a decision maker prespecifies a maximum acceptable toxicity rate, show whether each rule's estimated rate and its simulation uncertainty are compatible with that limit, alongside target attainment and recommendation stability. If rules are compared by a utility score, show the score definition and retain the separate attainment and toxicity results so readers can see which outcomes drive the ranking.

Simulation results can mislead when the evaluation conditions are too narrow, when the same scenarios are used both to choose and assess doses, or when a large number of replicates are mistaken for evidence that the underlying model is valid. Check that simulated covariate distributions and parameter ranges are clinically defensible, that the outcome definitions match the decision question, and that the dose grid is sufficiently fine near important thresholds. Compare results across reasonable scenario sets, including assumptions that were not used to select the dose, when such variation is relevant.

The comparison also depends on the simulation architecture. Independent evaluation replicates support the simple Monte Carlo standard-error calculation above; dependent draws require accounting for their dependence. If several outcomes are generated per simulated patient, do not count them as independent patients without justification. For a paired comparison, preserve the pairing when estimating differences. Finally, a high stability frequency can be an artifact of a coarse dose grid, while apparent instability may reflect tiny numerical changes across a hard constraint boundary. Report enough detail to distinguish these cases.

Common pitfall: “The robust rule selected nearly the same dose in every run, so it is the best rule.” Stability alone does not establish good clinical performance. Compare target attainment and toxicity under the same evaluation scenarios, then consider stability alongside those outcomes and any prespecified utility. Also distinguish narrow Monte Carlo error from broader uncertainty about the model and scenario assumptions.

Simulation is especially useful when analytic comparison is difficult and the rules respond differently to joint efficacy, toxicity, parameter uncertainty, or heterogeneity. It does not remove the need to choose defensible assumptions. The most informative conclusion is conditional: under the specified population, model scenarios, outcome definitions, and simulation design, one rule had a stated pattern of attainment, toxicity, and stability. That conclusion should be revisited if those conditions change.

Check Your Understanding

Answer each question using the definitions and calculations in this tutorial.

  1. In 2,000 independent hypothetical simulation replicates, 1,500 attain the target. Calculate the estimated rate and approximate Monte Carlo standard error.
  2. Why is it useful to evaluate two rules on the same simulated patients or scenarios?
  3. A dose rule has excellent recommendation stability but a high simulated toxicity rate. What does stability establish, and what does it not establish?
  4. Why can evaluating a selected dose on the same scenarios used to select it produce an optimistic comparison?
  5. In 20 decision-stage repetitions, a rule selects 25 mg 5 times and 30 mg 15 times. Calculate its mean recommendation and range.

Solutions. (1) The estimated rate is \(1{,}500/2{,}000=0.750\). Its approximate Monte Carlo standard error is \(\sqrt{0.750(0.250)/2{,}000}=0.00968\), or about 0.968 percentage points. (2) Common replicates control some between-patient or between-scenario variation, making paired differences more informative about differences between rules. (3) Stability establishes that recommendations changed little under the repetitions or perturbations actually examined. It does not establish acceptable target attainment, safety, or validity under scenarios not examined. (4) The rule has been chosen to perform well on those scenarios, so reusing them for assessment can favor it relative to fresh evaluation scenarios. (5) The mean is \((5\times25+15\times30)/20=(125+450)/20=28.75\) mg; the range is 25–30 mg.

Clinical Biostats