Documentation

43.15 Trial Simulator: probability of success

Stacked Go, Consider and No-Go probabilities by sample size, and a tornado chart

What you will learn

  • How one simulated trial is built, step by step.
  • The decision rules and how to read power and probability of success.
  • How scenarios and sensitivity analyses support development decisions.

The trial layer

nlmx's sims, power and er answer what a model predicts for a study. Trial Simulator answers the question development teams actually ask: how likely is the program to succeed, and what should we change? It combines arms, dose, treatment duration, adherence and dropout, pharmacokinetics, an exposure-response relationship and a decision rule ("Go if the effect is at least X with 80% probability"), simulates thousands of trials, and reports power, probability of success, Go, Consider and No-Go, scenario comparisons and a one-page summary for the team.

The workflow

Page What it is for
Design Arms (name, dose, subjects, which is the control), dosing interval, treatment duration, adherence, dropout, handling of dropouts, the seed; examples to start from; save and open designs.
Drug and effect One-compartment PK (oral or IV bolus) with between-subject variability; the endpoint (continuous, responder or time to event); which exposure drives the effect; exposure-response parameters; optional parameter uncertainty; charts of concentration bands and the exposure-response curve with the arms marked.
Decision rule Significance; significance plus a minimum effect; or probability thresholds (Go, Consider, No-Go), also written in plain words.
Simulate 500 to 20,000 virtual trials with probabilities of Go, Consider and No-Go and power for each arm, the distribution of the estimated effect against the thresholds, and Monte Carlo error.
Scenarios Vary one assumption over a list of values, or define named scenarios; a comparison table and chart, and a tornado sensitivity analysis.
Summary page, Export, Method A one-page HTML summary for the team; a sealed zip; and what a simulated trial does.

What one simulated trial does

  1. Parameters. The assumed values, or, with uncertainty on, a draw per trial.
  2. Subjects. Clearance, volume and absorption rate are log-normal around the typical values with the CVs you give; adherence per subject is Beta distributed.
  3. Doses. Scheduled doses are taken or missed at random according to adherence, and amounts are carried from dose to dose in closed form, so cost grows with the number of doses, not with a time grid.
  4. Exposure. Cavg, AUC, Cmax or Cmin over the last dosing interval.
  5. Dropout. Exponential time to leaving, with a weekly hazard that can rise with dose.
  6. Effect. For a continuous endpoint, change equals the placebo change plus \(E_{max}\,E(x)\) plus noise; for a responder, \(\operatorname{logit}(p) = \operatorname{logit}(p_0) + E_{max}\,E(x)\); for time to event, hazard equals baseline times \((1 - I_{max}E(x))\), with
\[ E(x) = \frac{x^{h}}{EC_{50}^{h} + x^{h}}. \]
  1. Analysis. Welch t-test, difference of proportions, or log-rank with the Peto hazard ratio.
  2. Decision. The rule turns the estimate and its standard error into Go, Consider or No-Go.

Decision rules

Rule Go Consider No-Go
Significance only one-sided p at or below α none otherwise
Significance and minimum effect p at or below α and effect at least the minimum p at or below α, effect smaller p above α
Probability thresholds P(effect above Go threshold) at least the Go probability neither P(effect above No-Go threshold) below the No-Go probability

"Go if the effect is at least 3 mmHg with 80% probability" is a Go threshold of 3 and a Go probability of 0.8. Thresholds are typed in natural units: a reduction in mmHg, a difference in response rate (0.10 is 10 points), or a hazard ratio.

Reading the numbers

  • Power: the share of trials with a significant effect when the assumed model is true.
  • Probability of success: the same share when each trial draws its own parameters. It answers "how likely is this program to succeed given what we do not yet know".
  • Go, Consider and No-Go add up to 100% for each arm; at least one arm Go is the share of trials in which any active arm reaches Go.
  • Monte Carlo error: for a probability \(p\) from \(N\) trials the standard error is \(\sqrt{p(1-p)/N}\), shown as plus or minus 1.96 standard errors.
  • Scenarios use the same seed, so a difference between scenarios is due to the change, not to chance.

Scenarios and the tornado

Vary one assumption (subjects per arm, dose scale, dropout, adherence, EC50, maximum effect, duration) over a list such as 40, 60, 80, 100, and a chart of P(Go) or power against it is drawn. Or define a named scenario with several changes. The sensitivity analysis moves each of EC50, maximum effect, dropout, adherence, number of subjects, clearance and (for continuous) standard deviation to a worse and a better value and sorts them by influence, so the team sees what to learn next.

Tested against truth

Tests use designs whose true effect is known exactly (a saturated exposure-response) and compare the simulated power, the type I error with no effect (2.5%), the risk difference and the hazard ratio with analytic values.

Scope notes

The effect depends on the exposure of the last dosing interval and is constant within the trial (no onset delay or tolerance). Dropout is independent of the outcome apart from the dose slope. All subjects start together; staggered entry, interim analyses and dose adjustments are not modelled. There are no PK covariate effects, one endpoint per simulation, and no multiplicity adjustment: each active arm is compared separately with control. Large simulations take minutes, and the Stop button ends a run.

See the previous page, next page, and the chapter overview.