Tutorials › Adaptive Clinical Trial Design › Reporting Simulation Assumptions and Results

Simulation-Based Design Assurance · Tutorial 701 of 799

Reporting Simulation Assumptions and Results

Learn to document a design simulation clearly and report operating characteristics with Monte Carlo uncertainty, without confusing simulation precision with uncertainty about the clinical assumptions.

Intermediate 12 min read

What You'll Learn

  • Specify the simulated trial, adaptive decision rules, and the event counted for each operating characteristic.
  • Distinguish fixed scenario inputs from inputs varied across simulations.
  • Calculate and interpret Monte Carlo standard errors and intervals for estimated operating characteristics.
  • Choose and report a replication count that supports the precision needed for the decision.
  • Identify reporting omissions that prevent reviewers from evaluating simulation results.

Why Simulation Results Need an Audit Trail

A simulation result is an estimate of how a specified design behaves under specified conditions. A reported value such as “power was 82%” is not sufficient on its own: readers need to know what counted as success, how the trial was simulated, which scenario assumptions were used, and how many simulated trials supported the estimate. Without those details, neither the design nor the precision of the reported result can be evaluated.

This tutorial focuses on reporting those elements. It does not treat simulation output as a substitute for the statistical design or for clinical justification of its assumptions. Instead, the goal is to make the relationship between assumptions, simulation algorithm, and reported operating characteristics explicit. An operating characteristic is a probability describing a design’s performance under a stated scenario, such as the probability of rejecting \(H_0\) when a specified alternative is true.

Definition: Let \(E\) be a precisely specified event produced by applying a trial design to data generated under a scenario. Its operating characteristic is \(q=P(E)\) under that scenario. In \(B\) simulated trial replications, if \(K\) replications satisfy \(E\), the Monte Carlo estimate is \(\hat q=K/B\). The replication count \(B\) describes simulated trials, not participants in an individual trial.

What a Transparent Report Specifies

A useful report lets a reviewer reconstruct the logic of the simulation without guessing what the analyst meant. It identifies the simulated design and its decision rules, the data-generating assumptions, the event counted for each operating characteristic, and the Monte Carlo procedure used to estimate that probability. If the design is adaptive, the description must make clear how interim data determine actions such as stopping, continuing, dropping an arm, or changing allocation.

For each scenario, state the assumptions that affect the simulated data and decisions. Depending on the design, these may include treatment effects, outcome distributions, recruitment and accrual patterns, missingness, adherence, subgroup prevalence, and operational deviations. Give values, ranges, or distributions and units where relevant. State which inputs are held fixed within a scenario and which, if any, vary across replications. If inputs are drawn from a distribution, name that distribution and its parameters. A result averaged over such draws answers a different question from a result under one fixed scenario.

The algorithm description should be sufficiently specific to distinguish the actual procedure from plausible alternatives. For example, state the order in which enrollment, outcomes, interim analyses, and decision rules are applied. Define what happens at boundaries, when information is missing, or when a simulated path cannot proceed as planned. For each reported probability, define the event in operational terms: for example, “the final test rejects \(H_0\) at the prespecified two-sided \(\alpha=0.05\),” rather than simply “success.”

1
Set the scenario.
Assign the specified trial and operational inputs, stating which are fixed and which are sampled.
2
Generate one trial path.
Generate enrollment and outcomes according to the stated model, following the trial timeline and adaptive rules.
3
Apply the analysis and decision rules.
Use the prespecified final or interim procedures, including boundary and stopping rules.
4
Record defined events.
For each operating characteristic, record whether its event occurred in this replication.
5
Repeat and summarize.
Repeat for \(B\) replications, report the event count and estimate, and quantify Monte Carlo uncertainty.

This sequence is an outline, not a complete algorithm for every design. The report must fill in the trial-specific details, including the statistical test or interval procedure, timing of analyses, and treatment of exceptional paths. A statement such as “we simulated the adaptive design” leaves too many consequential choices unspecified.

Monte Carlo Uncertainty and a Short Derivation

For a fixed scenario, suppose each independent simulated trial has probability \(q\) of producing event \(E\). Let \(I_b=1\) if event \(E\) occurs in replication \(b\), and \(I_b=0\) otherwise. Then \(K=\sum_{b=1}^{B}I_b\), and \(\hat q=K/B\). Under independent replications with the same event probability, \(K\) has a binomial distribution with parameters \(B\) and \(q\).

Because a Bernoulli variable has variance \(q(1-q)\), independence gives \(\mathrm{Var}(K)=Bq(1-q)\). Dividing by \(B^2\) yields \(\mathrm{Var}(\hat q)=q(1-q)/B\). Since \(q\) is unknown, estimate the Monte Carlo standard error (SE) by substituting \(\hat q\):

$$ SE(\hat q)=\sqrt{\frac{\hat q(1-\hat q)}{B}}. $$

When the number of simulated events and non-events is not small, a normal-approximation interval is \(\hat q\pm1.96SE(\hat q)\), an approximate 95% Monte Carlo interval. It describes uncertainty due to the finite number of simulation replications, conditional on the simulation model and algorithm. It is not a 95% probability statement about the unknown clinical effect, and it does not account for uncertainty or misspecification in the scenario assumptions. If the estimated probability is near 0 or 1, or event counts are small, the normal approximation can perform poorly; use and identify a suitable binomial interval, such as a Wilson or exact interval.

The replication count should be selected in light of the precision needed for the decision. Since the standard error is approximately proportional to \(1/\sqrt{B}\), reducing it by half requires about four times as many replications, other things being equal. More replications reduce Monte Carlo error but do not correct an incorrect model, an incorrectly implemented decision rule, or an unrepresentative scenario.

Worked Example: Reporting a Simulated Type I Error Estimate

Hypothetical simulation. A design is evaluated under a null scenario in which the treatment effect is zero. The prespecified final test is two-sided at \(\alpha=0.05\). In \(B=10{,}000\) independently generated trial replications, it rejects \(H_0\) in \(K=8{,}200\).

The event is rejection of \(H_0\) under this null scenario, so its estimated probability is \(\hat q=8{,}200/10{,}000=0.8200\). The Monte Carlo standard error is \(SE=\sqrt{0.8200(1-0.8200)/10{,}000}=\sqrt{0.00001476}=0.003842\), to four significant figures.

An approximate 95% Monte Carlo interval is \(0.8200\pm1.96(0.003842)=0.8200\pm0.007530\), giving 0.8125 to 0.8275. Thus the estimated rejection probability is 82.00%, with an approximate Monte Carlo interval from 81.25% to 82.75%. This hypothetical result would indicate a serious design or implementation concern if the intended type I error were 5%; the narrow interval indicates the estimate is precise, not that the result is acceptable.

A report should also state the simulated null scenario and how the test was applied. The interval quantifies simulation error around the estimated rejection probability under that scenario; it does not explain why the probability is high.

Worked Reporting Under a Challenging Scenario

An operating-characteristic estimate is interpretable only alongside the assumptions that define its scenario. The same design can have substantially different performance when recruitment, missingness, adherence, or treatment effects differ. Reporting a scenario label alone, such as “high dropout,” is inadequate unless the label is defined numerically or by a specified model.

Worked Example: Power Under a Specified Attrition Scenario

Hypothetical simulation. Suppose a two-arm trial design is evaluated under a scenario with a treatment effect of 5 units, a common outcome standard deviation of 10 units, and 15% outcome missingness in each arm. The report states that missing outcomes are generated independently of treatment and outcome values, and that the planned analysis and adaptive rules are applied as specified in the design. In \(B=10{,}000\) simulated trials, the final analysis rejects \(H_0\) in \(K=6{,}812\).

For this stated alternative scenario, the power estimate is \(\hat q=6{,}812/10{,}000=0.6812\), or 68.12%. Its Monte Carlo standard error is \(SE=\sqrt{0.6812(1-0.6812)/10{,}000}=\sqrt{0.000021716656}=0.004660\).

The approximate 95% Monte Carlo interval is \(0.6812\pm1.96(0.004660)=0.6812\pm0.009134\), or approximately 0.6721 to 0.6903. Under these hypothetical assumptions, the estimated probability of rejecting \(H_0\) is 68.12%, with a Monte Carlo interval of 67.21% to 69.03%. This is not a claim that the trial has that power under every possible treatment effect or missingness mechanism.

The model statement is part of the result: a different missingness mechanism could yield a different operating characteristic. A transparent report would also specify the data-generation and decision-rule details needed to implement this scenario, rather than leaving “15% missingness” as the only description.

Reporting Averages Across Uncertain Inputs

Some design assessments vary uncertain inputs across replications rather than evaluating only fixed scenarios. In that case, say how the inputs are varied and what probability is being estimated. For example, if each replication first draws a treatment effect from a stated distribution and then simulates a trial, the resulting estimate averages performance over that input distribution. Its Monte Carlo interval measures finite-replication precision for that averaged quantity; it does not establish that the distribution represents clinical knowledge correctly.

The same care is needed when reporting a joint event, such as meeting both a power target and a safety target. Define the event as a conjunction of explicit conditions, and count a replication only when all conditions hold. If the analysis uses importance sampling rather than ordinary independent simulation, report that method, the weighting procedure, and the uncertainty calculation appropriate to the weighted estimate. The simple binomial standard error above applies to ordinary independent Bernoulli replications, not automatically to weighted observations.

Worked Example: Probability of Meeting Two Targets

Hypothetical simulation. Consider an assurance assessment in which each replication draws inputs from a prespecified distribution and simulates a trial. Define a successful replication as one in which both the estimated power is at least 80% and the probability of a specified safety event is at most 5%. Suppose \(B=10{,}000\) independent replications are performed and both conditions hold in \(K=7{,}420\).

The estimated probability of meeting both targets under the stated input distribution and trial model is \(\hat q=7{,}420/10{,}000=0.7420\). Its Monte Carlo standard error is \(SE=\sqrt{0.7420(1-0.7420)/10{,}000}=\sqrt{0.0000191436}=0.004375\).

The approximate 95% Monte Carlo interval is \(0.7420\pm1.96(0.004375)=0.7420\pm0.008575\), or 0.7334 to 0.7506. The estimate is therefore 74.20% under the specified input distribution, with an approximate Monte Carlo interval from 73.34% to 75.06%. This interval does not measure uncertainty about whether the chosen input distribution is appropriate.

The report must state the input distribution, the trial-generation procedure, and the exact two target conditions. Otherwise, “probability of meeting targets” is not a reproducible or well-defined quantity.

Diagnostics, Alternatives, and Limitations

Before interpreting a precise-looking estimate, check whether the simulation itself behaved as intended. Useful checks include confirming that the number of completed replications equals the reported \(B\), verifying that event counts are possible and internally consistent, and examining whether adaptive decisions follow the stated rules in representative trial paths. Compare simple special cases with known calculations where possible. Unexpectedly extreme operating characteristics, large differences between nearly identical scenarios, or estimates that change materially when the replication count is increased deserve investigation.

Report failed or incomplete replications and how they were handled. Excluding paths because they are inconvenient can bias an estimate if those paths have different event probabilities. Also distinguish a true design failure, such as inability to reach a decision under a specified rule, from a software failure. If a computational approximation is used, document it and assess whether it can affect the target event.

For ordinary Monte Carlo, the direct estimate \(K/B\) and binomial uncertainty are natural when replications are independent and identically distributed under the stated scenario. Other approaches may be useful in different settings: exact or Wilson intervals can improve inference for sparse event counts; larger \(B\) can reduce Monte Carlo error; and importance sampling can improve estimation of rare probabilities when its weighting and uncertainty calculations are valid. These alternatives do not make assumptions disappear. In particular, a weighted estimate cannot be reported as if it were an unweighted event proportion.

A Monte Carlo interval is conditional on the programmed algorithm and assumed data-generating process. It cannot reveal that a treatment effect is implausible, a missingness assumption is wrong, or a decision rule was coded incorrectly. Report scenario-specific estimates rather than relying only on an average when important scenarios may have poor performance. Finally, do not imply that a small Monte Carlo standard error guarantees sound design assurance: it guarantees only that the simulated quantity was estimated with limited simulation noise.

Common Reporting Mistakes

  • Reporting a percentage without its event definition. “Success was 82%” is ambiguous. State exactly which decision or trial outcome counted as success.
  • Omitting scenario assumptions. A scenario name is not a model. Report the numerical inputs or distributions and the mechanisms used to generate data.
  • Giving no replication count or uncertainty. A reader cannot tell whether an estimate is stable. Report \(B\), the event count \(K\), the estimate, and an appropriate Monte Carlo uncertainty measure.
  • Confusing Monte Carlo error with model uncertainty. More replications narrow Monte Carlo intervals; they do not validate the assumptions.
  • Using the binomial standard error for dependent or weighted results. Check that the stated interval matches how the estimate was produced.
Key takeaway: A reviewable simulation result links a precisely defined event to a stated scenario and algorithm, then reports the replication count, estimate, and appropriate Monte Carlo uncertainty. Precision is meaningful only relative to the simulation model that produced the estimate.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. A simulation has \(B=4{,}000\) independent replications and the event occurs 1,000 times. What is the estimated probability, and what is its approximate Monte Carlo standard error?
  2. Why is an interval for a simulated rejection probability not an interval for the true treatment effect?
  3. A report says “power was 80% under severe missingness.” Name two details that must be added for the result to be interpretable.
  4. Why can the ordinary binomial standard error be inappropriate for a weighted importance-sampling estimate?

Solutions. (1) \(\hat q=1{,}000/4{,}000=0.2500\). The standard error is \(\sqrt{0.25(0.75)/4{,}000}=\sqrt{0.000046875}=0.006847\). (2) The interval measures finite-simulation uncertainty in an estimated event probability under the specified model; it does not estimate a treatment-effect parameter. (3) State a numerical missingness rate and mechanism, and define the outcome event counted as power, along with relevant design and analysis rules. (4) Weighted estimates are not generally simple averages of independent, identically distributed Bernoulli indicators, so their variance need not equal \(\hat q(1-\hat q)/B\); use an uncertainty calculation justified for the weighting procedure.

Clinical Biostats