Tutorials › Adaptive Clinical Trial Design › Constructing Null and Alternative Scenario Grids

Simulation-Based Design Assurance · Tutorial 681 of 799

Constructing Null and Alternative Scenario Grids

You will learn to specify, validate, and document a scenario grid for evaluating an adaptive trial design under null and alternative conditions.

Intermediate 11 min read

What You'll Learn

  • Define a scenario as a complete set of data-generating parameter values.
  • Separate null configurations from clinically relevant alternatives using the estimand and hypotheses.
  • Construct a factorial grid and calculate how many scenarios it contains.
  • Check that parameter combinations are valid and consistently labelled.
  • Interpret a simulated operating characteristic for a specific grid cell.
  • Recognize omissions and errors that can undermine a scenario grid.

Why Scenario Grids Matter

A simulated design performs under the data-generating conditions supplied to the simulation. A result from one set of conditions is therefore not a general statement about how the design behaves. To evaluate an adaptive trial responsibly, investigators specify a set of scenarios, including conditions under which the null hypothesis is true and alternatives representing effects that would matter clinically. They also vary important nuisance parameters, such as a control-group response probability or the dropout rate.

A scenario grid makes these choices explicit. It is not a probability distribution over possible trials, and it does not by itself say which scenario is most plausible. Instead, it is a structured list of conditions under which the fixed simulation and decision rule will be evaluated. The quality of the resulting assessment depends on the scientific relevance, clarity, and internal validity of those conditions.

Definition: A scenario is one complete specification of data-generating parameters and assumptions for a simulated trial. A scenario grid is a prespecified collection of such scenarios, arranged to cover chosen null configurations, clinically relevant alternatives, and values of important nuisance parameters.

State the Estimand and Hypotheses First

The grid must follow the scientific question, rather than define it by convenience. Consider a hypothetical two-arm trial with a binary efficacy outcome, where a larger response probability is better. Let \(p_C\) be the response probability in the control arm, \(p_T\) the response probability in the treatment arm, and \(\Delta=p_T-p_C\) the treatment effect on the risk-difference scale. The hypotheses for a one-sided efficacy assessment are \(H_0:\Delta\leq 0\) and \(H_a:\Delta>0\). The clinically relevant effect size is chosen with clinical input; it is not automatically the smallest effect that a simulation can detect.

For this example, assume outcomes are Bernoulli within each arm, with probabilities \(p_C\) and \(p_T\). Participants are randomized as specified by the design, and, when dropout is included, each randomized participant is independently observed with probability \(1-r\), where \(r\) is a common dropout probability in both arms. This simplified model assumes dropout is independent of outcome and treatment assignment. A real simulation should state the model it uses; a grid cannot compensate for assumptions that do not represent the intended trial.

A scenario cell gives values for all varied parameters. Under this model, its treatment response probability is determined by \(p_T=p_C+\Delta\). Thus, the cell is valid only if both probabilities are between 0 and 1, inclusive, and \(r\) is also between 0 and 1. These constraints should be checked for every combination, not just for the parameter levels considered separately.

$$ 0\leq p_C\leq 1,\qquad 0\leq p_C+\Delta\leq 1,\qquad 0\leq r\leq 1. $$

Building a Grid Systematically

Begin by listing the dimensions that need to vary and the values selected for each. Some dimensions define the treatment effect and distinguish null from alternative scenarios; others describe nuisance features that affect the data but are not the treatment effect of interest. A full factorial grid combines every selected value of each dimension with every value of the others. If there are \(k\) dimensions with \(m_1,\ldots,m_k\) levels, the number of cells is the product of those level counts.

For a grid intended to assess a one-sided efficacy test, label each cell by its actual \(\Delta\): values satisfying \(H_0\) are null configurations, and values satisfying \(H_a\) are alternatives. Include the boundary \(\Delta=0\) when assessing behavior at the null boundary, unless a clear design rationale dictates otherwise. Include negative effects if harm or lack of efficacy in that direction is relevant to the question. State the clinically relevant alternative values in the effect scale being used.

Grid-construction principle: Specify the estimand and hypotheses, select scientifically justified levels for effect and nuisance parameters, combine the levels into explicit cells, and verify that every cell is valid and correctly labelled. Keep the adaptive algorithm and its decision rule fixed across the scenarios being compared.

Worked Example: Counting Null and Alternative Cells

Suppose a hypothetical efficacy-trial simulation uses \(p_C\in\{0.20,0.30,0.40\}\), \(\Delta\in\{-0.05,0,0.10,0.20\}\), and \(r\in\{0.05,0.15\}\). The outcome model and one-sided hypotheses are as specified above. How many cells are in the full grid, and how many are null and alternative scenarios?

There are three control-probability levels, four treatment-effect levels, and two dropout levels. Therefore, the full factorial grid contains

$$ 3\times 4\times 2=24\text{ scenarios}. $$

Each effect level combines with all three values of \(p_C\) and both values of \(r\), so it contributes \(3\times2=6\) scenarios. The values \(\Delta=-0.05\) and \(\Delta=0\) satisfy \(H_0:\Delta\leq0\), giving \(2\times6=12\) null configurations. The values \(\Delta=0.10\) and \(\Delta=0.20\) satisfy \(H_a:\Delta>0\), giving \(2\times6=12\) alternatives.

Check validity at the extremes: the smallest treatment response probability is \(0.20-0.05=0.15\), and the largest is \(0.40+0.20=0.60\). Both are within the allowable range. The dropout values are also valid probabilities. This check confirms that the specified full grid contains no impossible response probabilities.

Why Complete Combinations Need Checking

A list of plausible levels is not enough: the combinations created from those levels must also make scientific and mathematical sense. This is particularly important when an effect is defined relative to a baseline probability. A fixed risk difference may imply very different treatment probabilities at different control risks. The constraint \(0\leq p_C+\Delta\leq1\) is a direct check for the binary-outcome example; for other estimands and data models, the corresponding constraints differ.

A full factorial grid is transparent and easy to count, but it may include combinations that are implausible or not meaningful for the scientific setting. If combinations are excluded, record the rule and the reason, and recount the remaining cells. Do not quietly omit an inconvenient combination or label a reduced set a full factorial grid. If the scientific question calls for linked parameter values, define those linked scenarios directly and explain the relationship.

Worked Example: Checking a Proposed Cell

A team proposes the cell \(p_C=0.85\), \(\Delta=0.20\), and \(r=0.10\) for the same higher-is-better binary endpoint. Is this a valid scenario under the stated model?

The implied treatment response probability is

$$ p_T=p_C+\Delta=0.85+0.20=1.05. $$

A Bernoulli probability cannot exceed 1, so this combination is invalid. It is not enough that \(p_C\), \(\Delta\), and \(r\) look reasonable when considered separately. The team must choose a compatible effect level, choose a compatible control probability, or specify a different model or estimand that represents the intended scientific situation. For example, with \(p_C=0.85\), a risk difference of \(0.10\) would imply \(p_T=0.95\), which is valid; that change would need to be scientifically justified rather than made only to avoid a failed check.

From Grid Cells to Operating Characteristics

Once the cells are specified, the simulation applies the same adaptive design and decision rule under each cell. An operating characteristic is a probability defined under a particular scenario. For example, under a null cell it may be the probability that the trial declares efficacy, while under an alternative cell it may be the probability of declaring efficacy. The interpretation depends on the prespecified decision rule and the scenario’s data-generating conditions.

For a simulated rate, if \(R\) independent simulated trials are run under one cell and \(S\) meet a specified criterion, the estimated rate is \(\hat{q}=S/R\). This estimate describes that criterion under that cell’s conditions; it is not an estimate averaged over the entire grid. Monte Carlo uncertainty in a simulated rate is distinct from the difference between scenario conditions. The earlier material on Monte Carlo error addresses the former; the grid defines the conditions for the latter.

Worked Example: Interpreting One Alternative Cell

Consider one hypothetical cell with \(p_C=0.30\), \(\Delta=0.10\), and \(r=0.10\). Thus \(p_T=0.30+0.10=0.40\). Suppose the adaptive trial simulation is run for \(R=200\) independent replicates under this cell, and the prespecified efficacy criterion is met in \(S=142\) replicates. What does the result estimate?

The estimated probability of meeting the efficacy criterion under this specific alternative is

$$ \hat{q}=\frac{S}{R}=\frac{142}{200}=0.710. $$

The plug-in Monte Carlo standard error for this rate is

$$ SE(\hat{q})= \sqrt{\frac{\hat{q}(1-\hat{q})}{R}} = \sqrt{\frac{0.710(1-0.710)}{200}} = \sqrt{0.0010295} \approx 0.0321. $$

The result estimates a 71.0% probability of meeting the efficacy criterion for trials generated with \(p_C=0.30\), \(p_T=0.40\), and \(r=0.10\), under the stated model and fixed design. The standard error describes Monte Carlo variation from using 200 replicates. It does not establish that the effect is clinically worthwhile, nor does it summarize performance at other grid cells.

Diagnostics, Alternatives, and Limitations

Before running a large simulation, inspect the grid as data. A scenario table should identify each cell, list all parameter values with units or scales where relevant, and state whether it is null or alternative. Automated checks can confirm the expected cell count, valid parameter bounds, and consistency between effect values and hypothesis labels. These checks are especially useful when grids are assembled by code or edited by several people.

Common warning signs include a cell count that does not equal the product of the specified level counts, a missing null-boundary value, duplicate cells, an invalid implied outcome probability, and labels that conflict with the hypotheses. Also check the effect scale: a risk difference of 0.10 means a ten-percentage-point difference, whereas a relative effect of 0.10 has a different meaning. Confusing these scales can produce a grid that is arithmetically valid but scientifically mislabelled.

A full factorial grid offers broad, even coverage of chosen levels but can become large. A smaller set of selected scenarios can reduce simulation burden, but only if the selection is explicit and still addresses the required null and clinically relevant alternative conditions. Varying one parameter at a time is another possible compact comparison, but it may omit combinations in which two parameter values occur together. These approaches answer different questions; none makes omitted scenarios irrelevant by itself.

The grid is limited by its selected values and by the data-generating assumptions. It cannot establish performance for every possible parameter value, and it does not assign likelihood or importance to scenarios unless a separate framework does so. The immediate goal here is a clear, valid set of conditions for the simulation. Whether the chosen nuisance values adequately represent uncertainty around those inputs requires additional assessment.

Common Mistake

Wrong reasoning: “The control response probabilities, effect sizes, and dropout rates are each plausible, so every combination of them must be a plausible and valid scenario.” This overlooks constraints between parameters and the possibility that a combination has no scientific interpretation.

Correction: Evaluate every complete cell. Calculate any implied parameters, verify all model constraints, and document excluded combinations. Then check that the null/alternative labels follow the stated hypotheses—not an informal label such as “small effect” or “large effect.”

Key takeaway: A scenario grid is a structured set of complete data-generating conditions. Define the hypotheses and estimand first, vary selected parameters systematically, and verify both the count and validity of every cell before interpreting simulated operating characteristics.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. For \(H_0:\Delta\leq0\), classify \(\Delta=-0.02\), \(\Delta=0\), and \(\Delta=0.08\) as null or alternative values.
  2. A grid has two control-probability levels, three effect levels, and four dropout levels, with every combination included. How many scenarios are in the grid?
  3. With \(p_C=0.70\) and \(\Delta=0.35\), calculate \(p_T\). Is the cell valid for a binary outcome?
  4. In one scenario, 96 of 160 simulated trials meet the efficacy criterion. Calculate the estimated rate and state what it refers to.
  5. Give one reason a team might use a selected set of scenarios rather than a full factorial grid, and one check it should still perform.

Solutions: 1. The first two values are null, including the boundary at zero; \(0.08\) is an alternative. 2. The grid has \(2\times3\times4=24\) scenarios. 3. \(p_T=0.70+0.35=1.05\), so the cell is invalid because a probability cannot exceed 1. 4. The estimated rate is \(96/160=0.600\), or 60.0%; it estimates the probability of meeting the efficacy criterion under that particular scenario and design. 5. A selected set can reduce the number of simulations or exclude combinations that lack scientific meaning; the team should still verify that each included cell is valid and that the required null and clinically relevant alternatives are represented.

Clinical Biostats