Tutorials › Response-Adaptive Randomization › Type I Error Under Adaptive Allocation

Operating Characteristics and Controversies · Tutorial 325 of 501

Type I Error Under Adaptive Allocation

Learn to define and assess type I error for an adaptive trial, and to distinguish a design-calibrated analysis from one that incorrectly treats assignments as exchangeable.

Advanced 11 min read

What You'll Learn

  • Define type I error as a repeated-trial rejection probability under a specified null and analysis rule.
  • Distinguish the sharp null from a null hypothesis about an average treatment effect.
  • Explain why adaptive assignment can make treatment labels nonexchangeable given outcomes and final arm sizes.
  • Calculate an empirical type I error rate and its Monte Carlo standard error.
  • Describe how a randomization test can reproduce the adaptive allocation mechanism under the sharp null.
  • Identify design and analysis details that can cause miscalibration.

What Does Type I Error Mean in an Adaptive Trial?

A trial’s allocation rule and its analysis rule jointly determine how often the trial reports evidence against a null hypothesis when that null is true. With response-adaptive randomization, later assignments depend on earlier observed outcomes. Repeating the trial therefore repeats not just the outcome sampling, but also a sequence of assignments that reacts to those outcomes.

The relevant error rate is a property of the whole design-and-analysis procedure. It is not a property of the test statistic alone. To assess it, specify the null hypothesis, the outcome-generating model, the allocation algorithm, the stopping and missing-data rules, and the rule for rejecting the null. The earlier material on operating characteristics distinguishes performance averaged over repeated trials from performance conditional on a particular history; the distinction matters here because adaptive histories vary from trial to trial.

Definition: The type I error rate under a null hypothesis is the probability that the specified analysis rejects that null when it is true. For a response-adaptive trial, this probability is taken over the randomness in outcomes and assignments generated by the specified design, and over any randomness in the analysis procedure. A test has level at most \(\alpha\) if this probability is no greater than \(\alpha\) for every null configuration in its stated scope.

This tutorial focuses on a sharp null: every participant would have the same outcome under every treatment. For two treatments, if \(Y_i(A)\) and \(Y_i(B)\) denote participant \(i\)’s potential outcomes, the sharp null is \(Y_i(A)=Y_i(B)\) for every \(i\). It is stronger than a null that says only that two population means are equal: individual treatment effects may differ while the average effect is zero. Under the sharp null, assignment cannot change any participant’s outcome, although outcomes can still vary between participants.

Why Adaptation Can Change Calibration

In a fixed-allocation randomized trial, treatment labels are generated without using participants’ outcomes. Some standard analyses rely on that randomization structure or on a model that correctly describes it. In an adaptive trial, the probability of a later assignment can depend on earlier outcomes. Thus, conditional on the observed outcomes and final arm sizes, treatment labels need not be distributed as if they had been uniformly permuted among participants.

This does not mean that every conventional test is invalid whenever allocation adapts. It means that its calibration must be justified for the actual design and analysis, rather than assumed from a fixed-allocation setting. Depending on the allocation rule, statistic, outcome model, and sample size, a usual test may be conservative, anti-conservative, or adequately calibrated. There is no universal direction of error.

Key distinction: Under a sharp null, outcomes do not change when assignments change. But the assignment sequence can still depend on the outcomes already observed. A valid design-based calculation must reproduce that dependence when it evaluates how often a test statistic would be as extreme as the observed one.

Worked Example: A Conditional Assignment Is Not a Uniform Permutation

Consider two participants with fixed outcomes \(Y_1=1\) and \(Y_2=0\) under the sharp null. Participant 1 is randomized equally to A or B. After observing participant 1’s outcome, the rule assigns participant 2 to A with probability \(0.9\) if \(Y_1=1\), and to B otherwise. For these fixed outcomes, calculate the probabilities of the two assignments that place one participant in each arm.

Because \(Y_1=1\), participant 2 is assigned to B with probability \(0.1\). The probability of assignment AB is \(\;P(AB)=0.5(0.1)=0.05\;\), while the probability of BA is \(\;P(BA)=0.5(0.9)=0.45\;\). The probability of having one participant in each arm is \(0.05+0.45=0.50\). Conditional on that event, \(\;P(AB\mid\text{one per arm})=0.05/0.50=0.10\;\) and \(\;P(BA\mid\text{one per arm})=0.45/0.50=0.90\;\).

The observed difference in arm means is \(+1\) for AB and \(-1\) for BA. If one incorrectly treated the two assignments as equally likely conditional on one participant per arm, the probability of a positive difference would be \(0.50\). Under the stated adaptive rule it is \(0.10\). This example does not establish that adaptive allocation always inflates error: it shows that the uniform-permutation reference distribution is not justified just because final arm sizes match.

The example’s allocation rule is deliberately simple. In a real response-adaptive design, assignment probabilities usually depend on a larger history of outcomes and assignments. The same issue remains: the relevant probabilities are those generated by the actual rule at each step.

Design-Based Calibration Under the Sharp Null

A direct way to assess a test under a sharp null is to hold the potential outcomes fixed and generate assignments according to the trial’s actual adaptive mechanism. For each possible assignment sequence, the analysis produces a test statistic. The sequence probability is the product of its step-by-step assignment probabilities, evaluated using the history that would have occurred along that sequence.

$$ P(\mathbf A=\mathbf a\mid \mathbf Y) = \prod_{i=1}^{n} q_i(a_i\mid H_{i-1}) $$

Here \(\mathbf A=(A_1,\ldots,A_n)\) is an assignment sequence, \(\mathbf Y\) is the vector of outcomes under the sharp null, \(H_{i-1}\) is the assignment-and-outcome history before participant \(i\), and \(q_i(a_i\mid H_{i-1})\) is the probability the design assigns participant \(i\) to \(a_i\) at that history. The formula follows from the chain rule for conditional probabilities. It also makes a practical requirement explicit: when an alternative assignment is considered, later assignment probabilities must be recalculated from the history that alternative would create.

For a test statistic \(T\), a design-based tail probability is calculated by adding the probabilities of assignment sequences for which \(T\) is at least as extreme as its observed value, using the test’s stated extremeness rule. An exact test based on the correct randomization distribution has rejection probability no greater than its nominal level under the sharp null; discreteness can make it conservative. This statement assumes the sharp null is true, the allocation mechanism is correctly specified, and the statistic and rejection rule are fixed as stated.

1
Specify the null and data.
Under the sharp null, use outcomes that would remain the same under every assignment sequence being considered.
2
Re-run the allocation rule.
For each candidate sequence, calculate each assignment probability from that sequence’s own preceding history.
3
Recompute the statistic.
Apply the planned estimator and test statistic to the outcomes and assignments in each sequence.
4
Evaluate the rejection rule.
Add the probabilities of sequences that would reject. This is the conditional type I error for the fixed outcomes; averaging over the null outcome distribution gives an unconditional rate.

The last step clarifies two useful checks. A design-based calculation conditional on fixed outcomes examines the randomization error for those outcomes. The unconditional type I error also averages over the way outcomes vary between repeated trials under the null model. If the conditional rejection probability is at most \(\alpha\) for every allowed fixed outcome configuration, the unconditional probability is also at most \(\alpha\): an average of quantities no greater than \(\alpha\) cannot exceed \(\alpha\).

Worked Example: Estimating Type I Error by Repeated Simulation

Suppose a team simulates 1,000 hypothetical trials under a sharp null, using the planned outcome model, adaptive allocation rule, stopping rule, and analysis. The analysis rejects at nominal level \(\alpha=0.05\) in 81 trials. Estimate the type I error rate and its Monte Carlo standard error.

The estimated rate is \(\;\hat{p}=81/1000=0.0810\;\), or \(8.10\%\). The estimated Monte Carlo standard error is \(\;SE=\sqrt{\hat{p}(1-\hat{p})/1000} =\sqrt{0.0810(0.9190)/1000}=0.00863\;\).

Thus the estimated rate is \(8.10\%\), with Monte Carlo standard error about \(0.863\) percentage points. This is evidence that the simulated procedure’s rejection frequency exceeds the nominal \(5\%\), but the estimate itself has simulation error. More simulation replicates can reduce that error; they cannot fix a simulation that fails to reproduce the planned design. The result is hypothetical and does not imply that adaptive allocation generally produces an \(8.10\%\) type I error rate.

Assumptions, Diagnostics, and Failure Modes

A simulation or design-based calculation is informative only if it represents the trial whose error rate is being evaluated. In particular, check that the outcome model is a legitimate null model for the question, and that the assignment algorithm uses the same information, probabilities, and timing as the intended trial. If the analysis uses a particular estimator, variance estimate, or rejection threshold, the assessment must use that same analysis.

  • Verify the sharp null used for assessment. If outcomes are generated under different treatment effects, the calculation is not a type I error assessment for the sharp null.
  • Reproduce the entire assignment history. Updating probabilities from a different or incomplete history changes the design being assessed.
  • Check positivity and empty arms. If the rule assigns an arm with zero probability at some history, some assignment sequences cannot occur. If an analysis is undefined when an arm has no participants, its handling of that event must be specified.
  • Include operational rules. Stopping, exclusions, missing outcomes, and any additional interim decisions can change the probability of rejection if they affect assignments or the analysis.
  • Quantify simulation error. Report the number of simulated trials and the estimated Monte Carlo uncertainty. A rate close to \(\alpha\) from a small simulation may be inconclusive.

A short justification for the unconditional check is useful. Let \(r(\mathbf Y)\) be the probability of rejection over assignments for a fixed outcome vector \(\mathbf Y\) under the sharp null. If the design-based test ensures \(r(\mathbf Y)\leq\alpha\) for every allowed \(\mathbf Y\), then \(P(\text{reject})=E\{r(\mathbf Y)\}\leq E(\alpha)=\alpha\). The inequality follows by averaging the conditional rejection probabilities over the null distribution of outcomes. If the bound holds only on average under a particular outcome model, the conclusion is correspondingly limited to that model.

How the Main Alternatives Differ

ApproachWhat it usesMain caution
Conventional fixed-allocation testA reference distribution justified under its model or fixed-allocation assumptionsThose assumptions do not automatically hold after outcome-dependent assignment.
Design-based randomization assessmentThe sharp null and the actual sequential assignment probabilitiesIt requires a correctly specified allocation mechanism and a sharp-null interpretation.
Repeated-trial simulationA specified null outcome model, the full design, and the planned analysisIt estimates error for the simulated conditions; model misspecification and Monte Carlo error remain.

Design-based assessment is especially useful when the trial’s randomization mechanism is known and the scientific null is sharp. Repeated simulation is useful when the full design is too complicated to enumerate, or when the operating characteristics of a planned procedure must be examined under a specified outcome model. Neither approach rescues an incorrect description of the design. A conventional test may still be appropriate if its calibration is established for the adaptive setting, but it should not be selected solely because its formula is familiar.

Common Mistake

Wrong reasoning: “Under the null, treatments have the same effect, so I can shuffle the final treatment labels uniformly within the observed arm sizes.” This treats equality of outcomes under the sharp null as if it made the adaptive assignment sequence exchangeable after observing outcomes.

Correction: The sharp null makes outcomes invariant to assignment; it does not erase the rule by which assignments depended on earlier outcomes. A design-based reference distribution must use the probabilities generated by the adaptive algorithm, or another analysis must be separately justified for that algorithm. Also distinguish a sharp null from a null about equal average outcomes: the latter alone does not specify every participant’s outcome under every alternative assignment.

Key takeaway: Type I error in an adaptive trial is the repeated-trial probability of rejecting a true null under a fully specified design and analysis. Outcome-dependent allocation can change the reference distribution, but it does not imply automatic inflation. Calibration must be evaluated against the actual assignment mechanism and a clearly stated null.

Check Your Understanding

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

  1. What randomness is included in the type I error rate for a response-adaptive trial?
  2. Under the sharp null, why can assignments still be nonexchangeable conditional on the observed outcomes?
  3. A simulation rejects in 40 of 800 hypothetical null trials. Calculate the estimated type I error rate.
  4. If a design-based test has conditional rejection probability at most \(\alpha\) for every fixed outcome vector under a sharp null, what follows about its unconditional rejection probability?
  5. Give one reason a uniform permutation of final treatment labels may misrepresent an adaptive design.

Solutions. (1) It includes randomness in outcomes and assignments generated under the design, and any randomization in the analysis. (2) Later assignment probabilities can depend on earlier outcomes, so the assignment sequence is not necessarily uniform among allocations with the same final arm sizes. (3) The estimate is \(40/800=0.0500\), or \(5.00\%\). (4) Its unconditional rejection probability is at most \(\alpha\), because it is an average of conditional probabilities each bounded by \(\alpha\). (5) Uniform permutation ignores the sequential probabilities, which can vary with the outcome history.

Clinical Biostats