Tutorials › Biostatistics › Fleming’s Two-Stage Design: A Worked Example

Phase II & Adaptive Study Design

Fleming's Two-Stage Design: A Worked Example

A computational guide to Fleming's two-stage design for single-arm Phase II clinical trials, including early stopping for both futility and efficacy, binomial operating characteristics, probability of early termination, expected sample size, and a complete worked example.

Advanced 15 min read

What You'll Learn

  • Why Fleming's design was developed for multi-stage Phase II testing
  • How the null and alternative response rates define the design problem
  • How early stopping can occur for both futility and efficacy
  • How to calculate type I error and power from the binomial distribution
  • How probability of early termination and expected sample size are calculated
  • How Fleming's design differs from Simon's two-stage design

Introduction

Early-phase clinical trials often face a fundamental decision: is the experimental treatment promising enough to justify further development?

In oncology and other therapeutic areas, Phase II studies are frequently designed around a binary endpoint such as objective response, remission, clinical response, or another success/failure outcome.

A conventional single-stage design might enroll the entire sample before making a decision. That approach can be inefficient when the treatment is clearly ineffective or, under some designs, clearly promising before the planned sample size has been reached.

A two-stage design addresses this problem by evaluating the treatment after an initial group of patients and allowing the trial to stop early under prespecified conditions.

Key idea: Fleming's two-stage design permits early termination for both insufficient activity and sufficiently strong activity. The trial therefore has two possible stopping boundaries at the interim analysis: a lower boundary for futility and an upper boundary for efficacy.

The Basic Phase II Hypothesis

Suppose the primary endpoint is a binary response. Let \(p\) denote the true response probability.

The investigator may define an uninteresting response rate \(p_0\) and a clinically interesting response rate \(p_1\).

The statistical problem can then be expressed as:

$$ H_0:p\le p_0 \qquad\text{vs.}\qquad H_A:p\ge p_1 $$

The region between \(p_0\) and \(p_1\) represents a gray zone in which the treatment's response probability is neither clearly unacceptable nor clearly established as clinically important.

Important: The values of \(p_0\) and \(p_1\) are clinical design assumptions. They should not simply be selected because they produce a convenient sample size.

Why Use a Two-Stage Design?

Consider a treatment whose response rate is so low that continuing enrollment would provide little value. If the first group of patients produces very few responses, the trial can terminate early rather than exposing additional patients to an ineffective treatment.

Conversely, Fleming's design also allows an early efficacy boundary. If the first-stage response rate is sufficiently high, the trial can terminate early because the evidence has already crossed a prespecified efficacy boundary.

This creates three possible outcomes after Stage 1:

1
Too few responses: stop for futility.
2
Intermediate number of responses: continue to Stage 2.
3
Many responses: stop early for efficacy.

The Fleming Two-Stage Structure

Let:

  • \(n_1\) = number of patients in Stage 1
  • \(n\) = maximum total sample size
  • \(n_2=n-n_1\) = number added in Stage 2
  • \(X_1\) = number of responses in Stage 1
  • \(X\) = total number of responses after both stages
  • \(a_1\) = Stage 1 futility boundary
  • \(r_1\) = Stage 1 efficacy boundary
  • \(r\) = final efficacy boundary

The basic decision structure is:

Stage 1 Result Decision
\(X_1\le a_1\) Stop for futility
\(a_1 Continue to Stage 2
\(X_1\ge r_1\) Stop early for efficacy

If the trial reaches Stage 2, the final decision is based on the total number of responses:

$$ X\ge r \quad\Rightarrow\quad \text{declare efficacy} $$

while:

$$ X

Fleming vs. Simon's Two-Stage Design

Fleming's design is often confused with Simon's two-stage design because both are widely used for Phase II single-arm trials.

The central distinction is the treatment of early efficacy.

Feature Fleming Simon
Stage 1 futility stopping Yes Yes
Stage 1 efficacy stopping Yes Generally no
Stage 1 lower boundary Yes Yes
Stage 1 upper boundary Yes No
Maximum sample size Prespecified Prespecified
Expected sample size Depends on both stopping boundaries Primarily driven by futility stopping
Why does this matter? Fleming's design can terminate early when the treatment appears exceptionally effective. Simon argued that, for many Phase II settings, early efficacy stopping is undesirable because the additional patients can provide more precise information about the response rate.

Binomial Distribution at the Heart of the Design

Because the endpoint is binary, the number of responses follows a binomial distribution.

$$ X_1\sim\operatorname{Binomial}(n_1,p) $$

and after both stages:

$$ X\sim\operatorname{Binomial}(n,p) $$

The binomial probability of observing exactly \(x\) responses among \(m\) patients is:

$$ P(X=x) = {m\choose x} p^x(1-p)^{m-x} $$

Fleming's operating characteristics are obtained by summing these binomial probabilities over all possible paths through the two-stage design.

Type I Error

The type I error is the probability of declaring the treatment sufficiently active when the true response rate is actually at the unacceptable rate \(p_0\).

$$ \alpha = P(\text{declare efficacy}\mid p=p_0) $$

Because Fleming's design can declare efficacy either during Stage 1 or at the end of Stage 2, the type I error is the probability of following any path that ends in an efficacy decision under \(p_0\).

Power

Power is the probability of declaring efficacy when the true response rate is the clinically interesting value \(p_1\).

$$ 1-\beta = P(\text{declare efficacy}\mid p=p_1) $$

Thus, a design might be specified to satisfy:

$$ \alpha\le0.05 \qquad\text{and}\qquad 1-\beta\ge0.80 $$

The design is then searched over possible combinations of stage sizes and critical values until these operating characteristics are achieved.

A Complete Worked Example

Suppose a Phase II oncology study evaluates a new treatment using objective response rate as the primary endpoint.

The investigators define a response rate of 10% or less as clinically uninteresting and 30% as sufficiently promising to justify further development.

Parameter Planning Value
Uninteresting response rate \(p_0\) 10%
Clinically interesting response rate \(p_1\) 30%
One-sided type I error \(\alpha\) 5%
Type II error \(\beta\) 20%
Target power 80%

A Fleming two-stage design satisfying these requirements is:

Design Component Value
Stage 1 sample size 10
Stage 2 additional sample size 19
Maximum total sample size 29
Stage 1 futility boundary \(X_1\le1\)
Stage 1 efficacy boundary \(X_1\ge5\)
Final efficacy boundary \(X\ge6\)

Step 1: Understand Stage 1

The first stage enrolls:

$$ n_1=10 $$

Let \(X_1\) be the number of responses among those 10 patients.

The Stage 1 rules are:

Responses Among First 10 Decision
0 or 1 Stop for futility
2, 3, or 4 Continue to Stage 2
5 or more Stop early for efficacy

This is the distinctive feature of Fleming's design. There is both a lower and an upper stopping boundary at the interim analysis.

Step 2: Interpret the Stage 1 Futility Boundary

The futility rule is:

$$ X_1\le1 \quad\Rightarrow\quad \text{stop for futility} $$

Under the null response rate of 10%, the probability of observing zero or one response among 10 patients is:

$$ P(X_1\le1\mid p=0.10) $$

Using the binomial distribution:

$$ P(X_1=0) = (0.9)^{10} \approx0.3487 $$

and:

$$ P(X_1=1) = {10\choose1}(0.1)(0.9)^9 \approx0.3874 $$

Therefore:

$$ P(X_1\le1) \approx0.7361 $$

So under the null response rate, approximately 73.6% of trials will stop for futility at Stage 1 because they have zero or one response.

Interpretation: When the treatment truly has only a 10% response probability, most trials will stop after the first 10 patients. This is the primary mechanism through which the design saves patients under the null hypothesis.

Step 3: Interpret the Stage 1 Efficacy Boundary

The upper Stage 1 boundary is:

$$ X_1\ge5 \quad\Rightarrow\quad \text{stop early for efficacy} $$

Five or more responses among the first 10 patients represents a response rate of at least:

$$ \frac{5}{10}=50\% $$

This is substantially above the clinically interesting target of 30%.

The boundary is therefore deliberately stringent. It prevents the design from declaring early efficacy merely because the first few patients happen to contain a modest number of responses.

Step 4: Determine Who Continues

The only patients who lead to Stage 2 are those for whom:

$$ 2\le X_1\le4 $$

Therefore, Stage 2 is entered only when the first 10 patients provide an intermediate amount of evidence.

This creates the characteristic three-region structure:

A
0–1 responses: evidence is insufficient → stop for futility.
B
2–4 responses: evidence is ambiguous → enroll 19 additional patients.
C
5+ responses: evidence is sufficiently strong → stop early for efficacy.

Step 5: Continue to a Maximum of 29 Patients

If the trial enters Stage 2, an additional:

$$ n_2=29-10=19 $$

patients are enrolled.

The maximum total sample size is therefore:

$$ N_{\max}=29 $$

At the end of Stage 2, the total number of responses across all 29 patients is used for the final decision.

Step 6: Apply the Final Efficacy Boundary

The final rule is:

$$ X\ge6 \quad\Rightarrow\quad \text{declare efficacy} $$

Thus, if the study reaches all 29 patients, at least six total responses are required.

Six responses correspond to an observed response rate of:

$$ \frac{6}{29} = 0.2069 $$

or approximately 20.7%.

Notice that the final observed response rate threshold is below the alternative rate of 30%. That is not a contradiction. The design is based on the probability of reaching the decision boundary under the null and alternative hypotheses, rather than requiring the observed response rate to equal \(p_1\).

The Complete Decision Algorithm

The entire design can be summarized as follows:

Stage Observed Responses Decision
Stage 1 \(X_1\le1\) Stop for futility
Stage 1 \(2\le X_1\le4\) Continue to Stage 2
Stage 1 \(X_1\ge5\) Stop early for efficacy
Stage 2 \(X\le5\) Do not declare efficacy
Stage 2 \(X\ge6\) Declare efficacy

Calculating the Type I Error

Under the null hypothesis:

$$ p=p_0=0.10 $$

There are two ways to falsely declare efficacy.

First, the trial can cross the Stage 1 efficacy boundary:

$$ X_1\ge5 $$

Second, the trial can continue to Stage 2 and eventually reach at least six total responses.

Therefore:

$$ \alpha = P_{p_0}(X_1\ge5) + \sum_{x_1=2}^{4} P_{p_0}(X_1=x_1) P_{p_0}(X_2\ge6-x_1) $$

where:

$$ X_2\sim\operatorname{Binomial}(19,p_0) $$

This calculation accounts for every possible path that results in an efficacy declaration.

Numerical Type I Error

For this design, the resulting type I error is approximately:

$$ \boxed{\alpha\approx0.0473} $$

or approximately:

$$ \boxed{4.73\%} $$

This is below the nominal 5% target.

Why isn't the actual value exactly 5%? Because the design operates on discrete binomial response counts. The critical values must be integers, so it is generally impossible to achieve exactly 0.0500 type I error and exactly 0.8000 power simultaneously.

Calculating Power

Now evaluate the design under:

$$ p=p_1=0.30 $$

Power is:

$$ 1-\beta = P_{p_1}(X_1\ge5) + \sum_{x_1=2}^{4} P_{p_1}(X_1=x_1) P_{p_1}(X_2\ge6-x_1) $$

For the design above:

$$ \boxed{1-\beta\approx0.8052} $$

Thus the actual power is approximately:

$$ \boxed{80.5\%} $$

The corresponding type II error is approximately:

$$ \beta = 1-0.8052 = 0.1948 $$

or approximately 19.5%.

Operating Characteristics of the Worked Example

Operating Characteristic Approximate Value
Null response rate 10%
Alternative response rate 30%
Nominal type I error 5%
Actual type I error 4.73%
Target power 80%
Actual power 80.52%
Stage 1 sample size 10
Maximum sample size 29

Probability of Early Termination

One of the most useful operating characteristics of a two-stage design is the probability of early termination, or PET.

Under the null hypothesis, early termination occurs if:

  • \(X_1\le1\), stopping for futility; or
  • \(X_1\ge5\), stopping for efficacy.

Therefore:

$$ PET(p) = P_p(X_1\le1) + P_p(X_1\ge5) $$

At the null response rate of 10%, the probability of entering Stage 2 is:

$$ P_{0.10}(2\le X_1\le4) \approx0.2623 $$

Therefore:

$$ PET_{0} = 1-0.2623 = 0.7377 $$

Approximately 73.8% of trials terminate after Stage 1 under the null response rate.

This is the efficiency benefit: If the treatment is truly uninteresting, the vast majority of trials do not need all 29 patients.

Expected Sample Size

The expected sample size is different from the maximum sample size.

The maximum sample size is always:

$$ N_{\max}=29 $$

But the actual number of patients depends on whether the study stops after Stage 1.

The expected sample size under a particular response probability \(p\) is:

$$ E_p(N) = n_1 + P_p(\text{continue to Stage 2})(n-n_1) $$

Equivalently:

$$ E_p(N) = n_1+ P_p(a_1

For the worked example:

$$ E_p(N) = 10+ P_p(2\le X_1\le4)(19) $$

Expected Sample Size Under the Null

At:

$$ p=0.10 $$

the probability of continuing is approximately 0.2623.

Therefore:

$$ E_{0.10}(N) = 10+ (0.2623)(19) $$
$$ E_{0.10}(N) \approx14.98 $$

Thus, under the null hypothesis, the expected sample size is approximately:

$$ \boxed{E_{0}(N)\approx15.0} $$

This is substantially smaller than the maximum of 29 patients.

Expected Sample Size Under the Alternative

Now consider:

$$ p=0.30 $$

The probability of continuing after Stage 1 is approximately:

$$ P_{0.30}(2\le X_1\le4) \approx0.7004 $$

Therefore:

$$ E_{0.30}(N) = 10+ (0.7004)(19) $$
$$ E_{0.30}(N) \approx23.31 $$

Thus:

$$ \boxed{E_{1}(N)\approx23.3} $$

This makes intuitive sense. When the treatment is genuinely active, more trials proceed to Stage 2 because the first 10 patients are more likely to produce an intermediate number of responses.

Comparing Maximum and Expected Sample Size

Scenario Probability of Stage 2 Expected N
\(p=0.10\) 26.2% 15.0
\(p=0.20\) Approximately intermediate Between null and alternative
\(p=0.30\) 70.0% 23.3
Maximum 100% 29

This distinction is essential when interpreting a two-stage design. The maximum sample size is the regulatory and operational enrollment ceiling, while the expected sample size describes average enrollment under a specified response probability.

Visualizing the Decision Regions

The design can be viewed as a sequence of response-count regions.

Stage 1 Responses Interpretation Next Step
0 Very weak activity Stop for futility
1 Weak activity Stop for futility
2 Uncertain Continue
3 Uncertain Continue
4 Promising but not conclusive Continue
5+ Strong early evidence Stop for efficacy

Why the Upper Boundary Is So High

It might initially seem strange that five responses among the first 10 patients are required for early efficacy when the alternative response rate is only 30%.

The reason is statistical error control.

Under the null hypothesis:

$$ p_0=0.10 $$

five or more responses among 10 patients is relatively unusual.

The upper boundary therefore provides strong evidence against the null without substantially increasing the type I error.

This illustrates an important general principle: early stopping boundaries must be considerably more extreme than the final decision boundary because the interim decision is being made with much less information.

Why the Final Boundary Is Lower

At the final analysis, the study has up to 29 patients rather than only 10.

Therefore, the final threshold can be less extreme.

The final requirement is:

$$ X\ge6 $$

or approximately 20.7% observed response.

The larger amount of information available at the end allows the trial to distinguish the null and alternative hypotheses using a less extreme response count.

Fleming's Design Is a Sequential Test

A useful way to conceptualize Fleming's procedure is as a sequential hypothesis-testing procedure.

The analysis is not performed repeatedly using ordinary unadjusted hypothesis tests.

Instead, the critical boundaries are established during study design so that the overall operating characteristics satisfy the prespecified type I error and power requirements.

Do not improvise the boundaries. If investigators change the Stage 1 or final response thresholds after seeing the data, the published operating characteristics no longer necessarily apply.

Fleming's Design Is Not the Same as "Looking Early"

A common misconception is that a two-stage design simply means looking at the data halfway through the study.

That is not sufficient.

A valid two-stage design requires:

  • Prespecified stage sizes
  • Prespecified stopping boundaries
  • Prespecified type I error
  • Prespecified power
  • A clearly defined primary endpoint
  • A prespecified analysis population
  • A prespecified decision rule

The statistical properties of the design depend on these elements being fixed before observing the response data.

Calculating the Probability of Continuing

The probability of entering Stage 2 is:

$$ P_p(\text{continue}) = P_p(a_1

For the worked example:

$$ P_p(\text{continue}) = P_p(2\le X_1\le4) $$

This quantity is important because it directly determines expected sample size.

In general:

$$ E_p(N) = n_1+ P_p(\text{continue})n_2 $$

Thus, the expected sample size is a function of the true underlying response probability.

Expected Sample Size Is a Function of \(p\)

There is not one universal expected sample size for a Fleming design.

Instead:

$$ E(N\mid p) $$

changes as the true response rate changes.

This can be especially useful when evaluating the efficiency of a design across a range of plausible response rates.

True Response Rate Qualitative Interpretation
Near \(p_0\) Many trials stop early for futility
Between \(p_0\) and \(p_1\) Many trials continue to Stage 2
Near \(p_1\) More trials continue; some stop early for efficacy
Very high \(p\) Early efficacy stopping becomes more common

Operating Characteristics Across Response Rates

A well-designed Phase II trial should not be evaluated only at \(p_0\) and \(p_1\).

Investigators may also examine:

  • Probability of declaring efficacy as a function of \(p\)
  • Expected sample size as a function of \(p\)
  • Probability of early futility stopping
  • Probability of early efficacy stopping
  • Probability of reaching Stage 2

The resulting curves are often called the operating characteristics of the design.

Probability of Declaring Efficacy

Define:

$$ R(p) = P_p(\text{declare efficacy}) $$

At the null response rate:

$$ R(p_0)\approx\alpha $$

while at the alternative response rate:

$$ R(p_1)\approx1-\beta $$

The complete function \(R(p)\) provides substantially more information than two isolated values.

Why the Gray Zone Matters

Suppose:

$$ p_0=0.10 \qquad p_1=0.30 $$

What happens if the true response rate is 20%?

The design does not promise a specific probability of success at this value.

That is because the design was constructed primarily to control type I error at 10% and achieve adequate power at 30%.

Important: Power is not generally constant across all possible response rates. A design with 80% power at \(p=0.30\) does not necessarily have 80% power at \(p=0.20\).

Fleming Versus a Single-Stage Design

A single-stage design might enroll all 29 patients before making its final decision.

Fleming's design has the same maximum sample size in this example but can stop after only 10 patients.

Feature Single-Stage Fleming Two-Stage
Maximum N 29 29
Interim evaluation No Yes
Early futility No Yes
Early efficacy No Yes
Expected N under null 29 Approximately 15

The two-stage design can therefore substantially reduce expected enrollment when the treatment is inactive.

Fleming Versus Simon: A More Important Distinction

The difference between Fleming and Simon is more subtle than simply saying that one has two stages and the other has two stages.

Both designs can stop early for futility.

The defining feature of Fleming's design is that the first stage can also stop for efficacy.

This can produce a smaller expected sample size when the treatment is extremely active, because some trials can terminate after Stage 1.

However, early efficacy stopping may conflict with a desire to obtain a more precise estimate of response rate.

Design choice: If the primary goal is to screen an experimental treatment rapidly for either obvious failure or obvious success, Fleming's framework can be attractive. If early efficacy stopping is undesirable because additional patients should be enrolled to better characterize response, Simon's design may be preferable.

Why Early Efficacy Stopping Can Be Controversial

Suppose the first 10 patients produce five responses.

The observed response rate is:

$$ \frac{5}{10}=50\% $$

This is highly encouraging.

But a sample of only 10 patients also has substantial statistical uncertainty.

A decision-maker may therefore reasonably ask:

Is it better to stop because the treatment looks highly active, or should additional patients be enrolled to obtain a more stable estimate?

Fleming's design prioritizes the former possibility. Simon-style designs commonly prioritize continued estimation after promising interim results.

When Fleming's Design May Be Particularly Useful

A Fleming-style design can be attractive when:

  • The treatment is being evaluated in a single-arm Phase II setting.
  • The endpoint is binary.
  • Rapid screening is important.
  • Early futility stopping is clinically valuable.
  • Early efficacy stopping is also considered useful.
  • The maximum sample size must be tightly controlled.
  • The operating characteristics can be prespecified before enrollment.

When Another Design May Be Preferable

Fleming's design is not automatically optimal for every Phase II study.

Other approaches may be preferable when:

  • The primary endpoint is continuous rather than binary.
  • Time-to-event information is central.
  • There is a randomized control group.
  • The treatment effect is better represented by a continuous parameter.
  • Additional patients should be enrolled after promising early results.
  • Multiple treatment arms are being compared.
  • The trial requires more complex adaptive decision rules.

Exact Enumeration of the Design

Because the response counts are discrete, Fleming's design can be evaluated exactly by enumerating every possible first-stage response count.

For each possible value of \(X_1\):

  1. Determine whether the trial stops for futility.
  2. Determine whether the trial stops for efficacy.
  3. If neither occurs, calculate the probability of crossing the final boundary in Stage 2.

This produces the exact operating characteristics without relying on a normal approximation.

R Implementation

The design can be evaluated directly using the binomial distribution in R.

p0 <- 0.10
p1 <- 0.30

n1 <- 10
n  <- 29
n2 <- n - n1

a1 <- 1
r1 <- 5
r  <- 6

Here:

  • a1 is the Stage 1 futility boundary.
  • r1 is the Stage 1 efficacy boundary.
  • r is the final efficacy boundary.

Calculate Stage 1 Probabilities

stage1_futility <- pbinom(
  a1,
  size = n1,
  prob = p0
)

stage1_efficacy <- 1 - pbinom(
  r1 - 1,
  size = n1,
  prob = p0
)

stage1_continue <- 1 -
  stage1_futility -
  stage1_efficacy

stage1_futility
stage1_efficacy
stage1_continue

For \(p_0=0.10\), the probability of continuing is approximately:

stage1_continue
# approximately 0.2623

Calculate the Type I Error

The following code evaluates every possible Stage 1 response count that leads to Stage 2.

alpha <- stage1_efficacy

for (x1 in (a1 + 1):(r1 - 1)) {

  p_x1 <- dbinom(
    x1,
    size = n1,
    prob = p0
  )

  p_stage2 <- pbinom(
    r - x1 - 1,
    size = n2,
    prob = p0,
    lower.tail = FALSE
  )

  alpha <- alpha + p_x1 * p_stage2
}

alpha

The resulting value is approximately:

alpha
# approximately 0.0473

Calculate Power

power <- 1 - pbinom(
  r1 - 1,
  size = n1,
  prob = p1
)

for (x1 in (a1 + 1):(r1 - 1)) {

  p_x1 <- dbinom(
    x1,
    size = n1,
    prob = p1
  )

  p_stage2 <- pbinom(
    r - x1 - 1,
    size = n2,
    prob = p1,
    lower.tail = FALSE
  )

  power <- power + p_x1 * p_stage2
}

power

The resulting power is approximately:

power
# approximately 0.8052

Calculate Probability of Early Termination

Under any response probability \(p\), early termination occurs when the first stage crosses either boundary.

pet <- function(p) {

  futility <- pbinom(
    a1,
    size = n1,
    prob = p
  )

  efficacy <- 1 - pbinom(
    r1 - 1,
    size = n1,
    prob = p
  )

  futility + efficacy
}

pet(p0)
pet(p1)

At the null response rate:

pet(p0)
# approximately 0.7377

Thus approximately 73.8% of trials terminate after Stage 1 under the null.

Calculate Expected Sample Size

expected_n <- function(p) {

  continue <- 1 -
    pbinom(a1, n1, p) -
    (1 - pbinom(r1 - 1, n1, p))

  n1 + continue * n2
}

expected_n(p0)
expected_n(p1)

The expected sample sizes are approximately:

expected_n(p0)
# approximately 14.98

expected_n(p1)
# approximately 23.31

Creating an Operating Characteristic Function

It is often useful to evaluate the probability of declaring efficacy over an entire range of possible response probabilities.

prob_success <- function(p) {

  result <- 1 - pbinom(
    r1 - 1,
    size = n1,
    prob = p
  )

  for (x1 in (a1 + 1):(r1 - 1)) {

    p_x1 <- dbinom(
      x1,
      size = n1,
      prob = p
    )

    p_stage2 <- pbinom(
      r - x1 - 1,
      size = n2,
      prob = p,
      lower.tail = FALSE
    )

    result <- result +
      p_x1 * p_stage2
  }

  result
}

prob_success(0.10)
prob_success(0.20)
prob_success(0.30)
prob_success(0.40)
prob_success(0.50)

This function gives the probability that the trial will declare efficacy for any specified true response probability.

Interpreting the Operating Characteristic Curve

Suppose the true response probability is substantially below 10%. The probability of declaring efficacy should be very small.

As the true response probability increases, the probability of declaring efficacy increases.

At the two design points:

$$ R(0.10)\approx0.047 $$

and:

$$ R(0.30)\approx0.805 $$

The function between these points describes the behavior of the design in the gray zone.

Searching for a Fleming Design

In practice, investigators generally do not choose \(n_1\), \(n\), \(a_1\), \(r_1\), and \(r\) by hand.

Instead, candidate integer designs are enumerated and evaluated against the required operating characteristics.

A generic search considers:

  • Candidate Stage 1 sample sizes
  • Candidate maximum sample sizes
  • Candidate Stage 1 futility boundaries
  • Candidate Stage 1 efficacy boundaries
  • Candidate final efficacy boundaries

For each candidate design, calculate:

  • Type I error
  • Power
  • Probability of early termination
  • Expected sample size

Designs that fail the type I error or power constraints are eliminated.

Design optimization: There can be multiple Fleming designs satisfying the same type I error and power requirements. The final choice can therefore depend on whether the investigator wants to minimize expected sample size, maximum sample size, or some other design criterion.

Optimal vs. Minimax Thinking

Two common ways of evaluating two-stage designs are:

Minimax Design

A minimax design attempts to minimize the maximum possible sample size:

$$ \min N_{\max} $$

This is attractive when controlling the maximum number of exposed patients or the maximum trial duration is especially important.

Optimal Design

An optimal design may instead minimize the expected sample size under a specified response probability, often under the null:

$$ \min E_{p_0}(N) $$

This is attractive when the investigator wants to minimize the average number of patients enrolled when the treatment is ineffective.

These Objectives Can Conflict

A design with the smallest possible maximum sample size does not necessarily have the smallest expected sample size.

Likewise, a design that is highly efficient under the null may have a larger maximum sample size.

Design Objective Primary Concern
Minimax Smallest maximum sample size
Optimal under \(H_0\) Smallest expected sample size when treatment is ineffective
Optimal under \(H_A\) Small expected sample size when treatment is active
Admissible Balanced compromise between competing criteria

Why Integer Constraints Matter

The response count is discrete.

You cannot require:

$$ X_1\ge4.37 $$

The boundary must be an integer.

Similarly, the sample size must be an integer.

This discreteness means that the exact operating characteristics can differ from the nominal values.

For example, the target might be:

$$ \alpha=0.05 $$

but the selected integer design might produce:

$$ \alpha=0.0473 $$

which is acceptable because it does not exceed the prespecified type I error constraint.

Protocol Considerations

The protocol should clearly state the design before enrollment begins.

At minimum, specify:

  • Primary binary endpoint
  • Definition of response
  • Null response rate \(p_0\)
  • Alternative response rate \(p_1\)
  • Type I error
  • Power
  • Stage 1 sample size
  • Maximum sample size
  • Stage 1 futility boundary
  • Stage 1 efficacy boundary
  • Final efficacy boundary
  • Rules for handling unevaluable patients
  • Analysis population
  • Timing of response assessment

Unevaluable Patients Require Special Attention

The simple Fleming calculations assume that every enrolled patient contributes an evaluable binary response.

Real trials may contain:

  • Patients who withdraw before assessment
  • Patients who violate eligibility criteria
  • Patients who receive inadequate treatment
  • Patients with missing response assessments
  • Patients who are lost to follow-up

The protocol should prespecify how these patients affect the primary endpoint and whether replacement is allowed.

Do not simply replace patients after seeing the response. Replacement rules can alter the operating characteristics if they are not incorporated into the original design.

Timing of Response Assessment

A two-stage design also depends on when the endpoint is observed.

If response requires several months of follow-up, the nominal Stage 1 enrollment may finish long before the Stage 1 response data are mature.

Therefore, investigators should distinguish between:

  • Enrollment time
  • Response assessment time
  • Database lock
  • Stage transition

A design that looks efficient mathematically may not produce a rapid go/no-go decision operationally if response assessment is slow.

Safety Monitoring Is Separate

The Fleming efficacy boundaries should not be interpreted as a complete safety monitoring strategy.

A Phase II protocol may require separate rules for:

  • Serious adverse events
  • Dose-limiting toxicity
  • Excessive treatment-related mortality
  • Laboratory abnormalities
  • Other predefined safety signals

Those safety rules should be coordinated with the efficacy design but should not be confused with the Fleming response boundaries.

Common Mistakes

  1. Confusing Fleming with Simon. Fleming permits early efficacy stopping; Simon's commonly used two-stage framework generally does not.
  2. Using ordinary repeated hypothesis tests. The interim and final boundaries must be incorporated into the design.
  3. Ignoring the actual type I error. Because the binomial endpoint is discrete, the achieved type I error may differ from the nominal target.
  4. Reporting only the maximum sample size. Expected sample size and probability of early termination are important operating characteristics.
  5. Changing the boundaries after Stage 1. Doing so invalidates the original operating characteristics unless the adaptation was incorporated into the design.
  6. Assuming 80% power applies to every response rate. Power is a function of the true response probability.
  7. Ignoring the clinical meaning of \(p_0\) and \(p_1\). The statistical design cannot compensate for poorly chosen clinical thresholds.
  8. Failing to specify how unevaluable patients are handled. Missing response assessments can materially affect the effective operating characteristics.
  9. Using a Fleming design automatically. The design should be selected based on the scientific and operational goals of the study.

A Practical Fleming Design Workflow

1
Define the primary binary efficacy endpoint.
2
Define the clinically unacceptable response rate \(p_0\).
3
Define the clinically interesting response rate \(p_1\).
4
Specify the one-sided type I error.
5
Specify the desired power.
6
Enumerate candidate Stage 1 and maximum sample sizes.
7
Identify Stage 1 futility and efficacy boundaries.
8
Identify the final efficacy boundary.
9
Calculate exact type I error and power.
10
Calculate PET and expected sample size.
11
Evaluate the operating characteristics across plausible response rates.
12
Prespecify the final design and analysis rules in the protocol.

What Should Be Reported in a Statistical Analysis Plan?

For a Fleming two-stage study, the statistical documentation should make the decision rules completely reproducible.

A useful statistical section should state:

  • Primary endpoint definition
  • Null response probability
  • Alternative response probability
  • Type I error
  • Target power
  • Stage 1 sample size
  • Stage 2 sample size
  • Maximum total sample size
  • Stage 1 futility boundary
  • Stage 1 efficacy boundary
  • Final efficacy boundary
  • Expected sample size under relevant response probabilities
  • Probability of early termination
  • Method used to derive the operating characteristics
  • Handling of missing or unevaluable responses

Worked Example Summary

The complete design can be summarized in one table.

Component Value
Endpoint Binary response
\(p_0\) 0.10
\(p_1\) 0.30
\(\alpha\) 0.05
Target power 0.80
Stage 1 N 10
Stage 2 additional N 19
Maximum N 29
Stage 1 futility 0–1 responses
Stage 1 efficacy 5+ responses
Stage 1 continuation 2–4 responses
Final efficacy 6+ total responses
Actual type I error Approximately 0.0473
Actual power Approximately 0.8052
Expected N under \(p_0\) Approximately 15.0
Expected N under \(p_1\) Approximately 23.3

The Most Important Concept

The most important conceptual point is that a Fleming design is not simply a smaller clinical trial.

It is a carefully constructed sequential decision procedure in which the probabilities of all possible paths through the trial are controlled.

At Stage 1, the trial can:

  • Stop because there is too little activity.
  • Stop because there is exceptionally strong activity.
  • Continue because the evidence is intermediate.

If it continues, the accumulated response count is evaluated against the final boundary.

The resulting design balances:

  • Type I error
  • Power
  • Maximum sample size
  • Expected sample size
  • Early futility stopping
  • Early efficacy stopping
Bottom line: Fleming's two-stage design is a prespecified sequential design for single-arm Phase II studies with binary endpoints. Unlike the commonly used Simon two-stage design, Fleming's framework permits early termination for both futility and efficacy. The design is constructed by selecting integer sample sizes and response boundaries that control the type I error and achieve the desired power. Once the design is fixed, its operating characteristics—including probability of early termination and expected sample size—can be calculated directly from the binomial distribution.

References

Fleming, T.R. (1982). One-sample multiple testing procedure for phase II clinical trials. Biometrics, 38, 143–151.
Simon, R. (1989). Optimal two-stage designs for phase II clinical trials. Controlled Clinical Trials, 10(1), 1–10.
Fleming, T.R. & Harrington, D.P. (1991). Counting Processes and Survival Analysis. Wiley.
Chen, T.T. (2013). Optimal, minimax, and admissible two-stage designs for phase II clinical trials. Contemporary Clinical Trials.
Rubinstein, L.V., Korn, E.L., Freidlin, B., Hunsberger, S., Ivy, S.P. & Smith, M.A. (2005). Design issues of randomized phase II trials and a proposal for phase II screening trials. Journal of Clinical Oncology.
Zhou, Y., et al. (2020). Optimal, minimax and admissible two-stage design for phase II oncology clinical trials. BMC Medical Research Methodology.