Skip to content

Interim Analyses & Group Sequential Designs

A sponsor who looks at the accumulating data of a trial wants to stop early when the answer is already clear. Each look is another chance for a null result to cross the 5% threshold, so five looks at an unadjusted test are no longer a 5% test. A group sequential design fixes the number of looks in advance and sets a stricter threshold at each one, so that the whole trial keeps its type I error. This page shows the problem by simulation and the remedy with gsDesign and rpact.

The page needs no data file. Every number comes from the design assumptions below or from random draws with a fixed seed. It does not cover adaptive designs, which change the sample size, the arms, or the population at an interim analysis.

The example is a two-arm trial of a blood pressure drug. The endpoint is the reduction in systolic blood pressure at week 12, with a standard deviation of 10 mmHg between patients. The trial should detect a difference of 4 mmHg between the arms with 90% power in a two-sided test at the 5% level. Sample Size & Power covers the fixed design for a comparison of two means, and the code below computes its size with the normal formula.

The sponsor wants five analyses, one after every 27 patients per arm. The patient is the experimental unit, and each patient contributes one measurement.

The simulation below runs trials in which the drug does nothing. At each look it computes the z statistic of the mean difference from all patients so far, with the standard deviation treated as known, and it stops the trial the first time the absolute value of z exceeds a bound. Here the bound is 1.96 at every look. SimulateTrials() takes the bounds and the true effect as arguments, because later sections reuse it.

library(gsDesign)
library(rpact)
library(ggplot2)
dir.create("outputs", showWarnings = FALSE)
effect <- 4
sigma <- 10
n_looks <- 5
stage_size <- 27
n_fixed <- 2 * ((qnorm(0.975) + qnorm(0.90)) * sigma / effect)^2
#' Simulate two-arm trials that test the mean difference at each look.
#'
#' @param n_trials Number of trials to simulate.
#' @param stage_size Patients added to each arm before each look.
#' @param bounds Critical value for the absolute z statistic at each look.
#' @param effect True difference between the arm means.
#' @param sigma Known standard deviation of the endpoint.
#' @return A data frame with one row per trial: the look at which the trial
#' stopped, whether it rejected, and the estimated difference at that look.
SimulateTrials <- function(n_trials, stage_size, bounds, effect, sigma) {
stop_look <- integer(n_trials)
rejected <- logical(n_trials)
estimate <- numeric(n_trials)
for (trial in seq_len(n_trials)) {
sum_control <- 0
sum_treated <- 0
for (look in seq_along(bounds)) {
sum_control <- sum_control + sum(rnorm(stage_size, 0, sigma))
sum_treated <- sum_treated + sum(rnorm(stage_size, effect, sigma))
n_arm <- look * stage_size
difference <- (sum_treated - sum_control) / n_arm
z <- difference / (sigma * sqrt(2 / n_arm))
if (abs(z) >= bounds[look]) {
rejected[trial] <- TRUE
break
}
}
stop_look[trial] <- look
estimate[trial] <- difference
}
data.frame(stop_look, rejected, estimate)
}
set.seed(2026)
n_trials <- 50000
unadjusted <- rep(qnorm(0.975), n_looks)
naive <- SimulateTrials(n_trials, stage_size, unadjusted, 0, sigma)
cat(sprintf("Fixed design: %.2f patients per arm\n", n_fixed))
cat("look n_per_arm first_rejections rejected_so_far\n")
for (look in seq_len(n_looks)) {
cat(sprintf("%4d %9d %16d %15.4f\n", look, look * stage_size,
sum(naive$rejected & naive$stop_look == look),
mean(naive$rejected & naive$stop_look <= look)))
}
naive_error <- mean(naive$rejected)
cat(sprintf("Type I error with five looks: %.4f (Monte Carlo SE %.4f)\n",
naive_error, sqrt(naive_error * (1 - naive_error) / n_trials)))
cat(sprintf("Five independent tests at 0.05: %.4f\n", 1 - 0.95^n_looks))
Fixed design: 131.34 patients per arm
look n_per_arm first_rejections rejected_so_far
1 27 2550 0.0510
2 54 1622 0.0834
3 81 1190 0.1072
4 108 977 0.1268
5 135 765 0.1421
Type I error with five looks: 0.1421 (Monte Carlo SE 0.0016)
Five independent tests at 0.05: 0.2262

The fixed design needs 131.34 patients per arm. Five groups of 27 reach 135 per arm, and a later section shows where that number comes from.

At the first look the test keeps its promise: 5.10% of the null trials reject, in both languages. Each later look adds trials that had not rejected before. After two looks 8.3% of the null trials have rejected. After five looks the proportion is 14.21% in R and 14.18% in Python, with a Monte Carlo standard error of 0.16 percentage points. R and Python use different random number generators, so the same seed gives different trials, and the two results agree within that error.

The drug does nothing in these trials, so every rejection is a false claim, and the trial that calls itself a 5% test makes one almost three times as often. The error stays below the 22.62% of five independent tests because the looks share data: the patients of look 1 are still in look 2. Multiple Testing covers the same inflation for separate hypotheses.

A group sequential design replaces 1.96 with a boundary, one critical value per look, chosen so that the probability of crossing at any look is 5% under the null. Two classic shapes exist. The Pocock boundary uses the same critical value at every look. The O’Brien-Fleming boundary is the final critical value divided by the square root of the information fraction, so it is very strict early and close to 1.96 at the end. The information fraction is the share of the final information that a look has, here the share of the patients.

In gsDesign, test.type = 2 asks for a symmetric two-sided design, and alpha is the one-sided level, so 0.025 means 5% two-sided. In rpact, sided = 2 takes the two-sided 0.05. SciPy and statsmodels have no function for group sequential boundaries. The Python tab solves the same two boundaries by numerical integration: it carries the density of the trials that have not yet crossed from one look to the next. When rpact loads, it prints a reminder that its installation qualification has not been run. The reminder concerns regulated environments, and it does not change any result.

#' Print the boundary of a symmetric two-sided design.
#'
#' @param label Name of the design.
#' @param fractions Information fraction at each look.
#' @param bounds Critical value for the absolute z statistic at each look.
#' @param spent Cumulative two-sided alpha spent at each look.
#' @return Invisibly, the nominal two-sided p-value at each look.
PrintBoundary <- function(label, fractions, bounds, spent) {
nominal <- 2 * pnorm(-bounds)
cat(label, "\n", sep = "")
cat("look fraction z_bound nominal_p alpha_spent\n")
cat(sprintf("%4d %8.1f %7.4f %9.4f %11.4f\n", seq_along(bounds),
fractions, bounds, nominal, spent), sep = "")
invisible(nominal)
}
obf <- gsDesign(k = n_looks, test.type = 2, alpha = 0.025, beta = 0.10,
sfu = "OF", n.fix = n_fixed)
pocock <- gsDesign(k = n_looks, test.type = 2, alpha = 0.025, beta = 0.10,
sfu = "Pocock", n.fix = n_fixed)
obf_spent <- 2 * cumsum(obf$upper$spend)
pocock_spent <- 2 * cumsum(pocock$upper$spend)
PrintBoundary("O'Brien-Fleming", obf$timing, obf$upper$bound, obf_spent)
PrintBoundary("Pocock", pocock$timing, pocock$upper$bound, pocock_spent)
cat(sprintf("Alpha spent at look 1: O'Brien-Fleming %.1e, Pocock %.4f\n",
obf_spent[1], pocock_spent[1]))
rpact_obf <- getDesignGroupSequential(kMax = n_looks, alpha = 0.05,
sided = 2, beta = 0.10,
typeOfDesign = "OF")
rpact_pocock <- getDesignGroupSequential(kMax = n_looks, alpha = 0.05,
sided = 2, beta = 0.10,
typeOfDesign = "P")
bound_gap <- max(abs(obf$upper$bound - rpact_obf$criticalValues),
abs(pocock$upper$bound - rpact_pocock$criticalValues))
spent_gap <- max(abs(obf_spent - rpact_obf$alphaSpent),
abs(pocock_spent - rpact_pocock$alphaSpent))
cat(sprintf("Largest gap to rpact: %.1e in z, %.1e in alpha spent\n",
bound_gap, spent_gap))
O'Brien-Fleming
look fraction z_bound nominal_p alpha_spent
1 0.2 4.5617 0.0000 0.0000
2 0.4 3.2256 0.0013 0.0013
3 0.6 2.6337 0.0084 0.0089
4 0.8 2.2809 0.0226 0.0256
5 1.0 2.0401 0.0413 0.0500
Pocock
look fraction z_bound nominal_p alpha_spent
1 0.2 2.4132 0.0158 0.0158
2 0.4 2.4132 0.0158 0.0275
3 0.6 2.4132 0.0158 0.0365
4 0.8 2.4132 0.0158 0.0439
5 1.0 2.4132 0.0158 0.0500
Alpha spent at look 1: O'Brien-Fleming 5.1e-06, Pocock 0.0158
Largest gap to rpact: 2.7e-07 in z, 1.8e-08 in alpha spent

The nominal p-value is the two-sided p-value that the critical value stands for at that look alone. The alpha spent is cumulative: the probability, under the null, that the trial has crossed at this look or at an earlier one. gsDesign and rpact agree to 2.7e-07 in z, and the Python integration prints the same tables as R.

The O’Brien-Fleming design spends almost nothing early. Its first critical value is 4.5617, which spends 5.1e-06 of the alpha, and after the third look, with 60% of the patients, it has spent 0.0089 of the 0.05. The reward comes at the end: the final critical value is 2.0401, a nominal p-value of 0.0413 where the fixed design uses 0.05.

The Pocock design uses 2.4132 at every look, a nominal p-value of 0.0158, and it spends 0.0158 at the first look alone. An early stop is far easier to reach. What Pocock gives up is the final analysis: a trial that runs to the end with p = 0.03 rejects under the fixed design and under O’Brien-Fleming, and it does not reject under Pocock.

shapes <- data.frame(
fraction = c(obf$timing, pocock$timing),
bound = c(obf$upper$bound, pocock$upper$bound),
design = rep(c("O'Brien-Fleming", "Pocock"), each = n_looks))
boundary_plot <- ggplot(shapes, aes(fraction, bound, color = design)) +
geom_hline(yintercept = qnorm(0.975), linetype = "dashed") +
geom_line(linewidth = 1) +
geom_point(size = 2.5) +
annotate("text", x = 0.2, y = qnorm(0.975), hjust = 0, vjust = 1.5,
label = "Fixed design, 1.96") +
scale_color_manual(values = c("#1f4e5f", "#e07a5f")) +
scale_x_continuous(breaks = obf$timing) +
expand_limits(y = 0) +
labs(x = "Information fraction", y = "Critical value for |z|",
color = "Design") +
theme_minimal(base_size = 12)
ggsave("outputs/group-sequential-bounds-r.png", boundary_plot, width = 6,
height = 4, dpi = 150)

Efficacy boundaries of the O’Brien-Fleming and Pocock designs against the information fraction, drawn with ggplot2. The O’Brien-Fleming boundary falls from 4.56 at the first look to 2.04 at the last, the Pocock boundary is flat at 2.41, and a dashed line marks 1.96.

The design is symmetric, so the boundary for harm is the mirror image below zero.

Both classic boundaries assume five looks at exactly 20%, 40%, 60%, 80% and 100% of the information. A real committee meets on a calendar date, and the fraction it sees is rarely the planned one. Lan and DeMets replaced the list of critical values with a spending function, a curve that states how much alpha the design may have spent at each information fraction. The critical value of a look then depends on the fractions of that look and of the looks before it, and on nothing after it.

sfLDOF and sfLDPocock in gsDesign are the spending functions that imitate the two classic shapes. rpact calls them asOF and asP. This section is in R only.

spend_obf <- gsDesign(k = n_looks, test.type = 2, alpha = 0.025,
beta = 0.10, sfu = sfLDOF, n.fix = n_fixed)
spend_pocock <- gsDesign(k = n_looks, test.type = 2, alpha = 0.025,
beta = 0.10, sfu = sfLDPocock, n.fix = n_fixed)
PrintBoundary("Lan-DeMets spending, O'Brien-Fleming type", spend_obf$timing,
spend_obf$upper$bound, 2 * cumsum(spend_obf$upper$spend))
PrintBoundary("Lan-DeMets spending, Pocock type", spend_pocock$timing,
spend_pocock$upper$bound,
2 * cumsum(spend_pocock$upper$spend))
rpact_spend <- getDesignGroupSequential(kMax = n_looks, alpha = 0.05,
sided = 2, beta = 0.10,
typeOfDesign = "asOF")
cat(sprintf("Largest gap to rpact, O'Brien-Fleming type: %.1e in z\n",
max(abs(spend_obf$upper$bound - rpact_spend$criticalValues))))
three_looks <- gsDesign(k = 3, test.type = 2, alpha = 0.025, beta = 0.10,
sfu = sfLDOF, timing = c(0.3, 0.7, 1),
n.fix = n_fixed)
PrintBoundary("Same spending function, looks at 30%, 70% and 100%",
three_looks$timing, three_looks$upper$bound,
2 * cumsum(three_looks$upper$spend))
Lan-DeMets spending, O'Brien-Fleming type
look fraction z_bound nominal_p alpha_spent
1 0.2 4.8769 0.0000 0.0000
2 0.4 3.3570 0.0008 0.0008
3 0.6 2.6803 0.0074 0.0076
4 0.8 2.2898 0.0220 0.0244
5 1.0 2.0310 0.0423 0.0500
Lan-DeMets spending, Pocock type
look fraction z_bound nominal_p alpha_spent
1 0.2 2.4380 0.0148 0.0148
2 0.4 2.4268 0.0152 0.0262
3 0.6 2.4102 0.0159 0.0354
4 0.8 2.3966 0.0165 0.0432
5 1.0 2.3860 0.0170 0.0500
Largest gap to rpact, O'Brien-Fleming type: 9.3e-07 in z
Same spending function, looks at 30%, 70% and 100%
look fraction z_bound nominal_p alpha_spent
1 0.3 3.9286 0.0001 0.0001
2 0.7 2.4387 0.0147 0.0148
3 1.0 2.0000 0.0455 0.0500

With five equal looks, the spending versions resemble the classic boundaries without matching them. The O’Brien-Fleming type starts at 4.8769 where the classic boundary has 4.5617, and it ends at 2.0310 where the classic one has 2.0401. The Pocock type slopes from 2.4380 down to 2.3860, where the classic boundary is flat at 2.4132. A protocol must say which of the two it means, because both carry the name O’Brien-Fleming.

The last table shows what the spending function is for. With three looks at 30%, 70% and 100% of the information, the same function gives 3.9286, 2.4387 and 2.0000, and the total alpha is still 0.0500. When a look moves, the software evaluates the function at the fraction that was observed, and the trial keeps its error rate.

Run the null simulation again with the O’Brien-Fleming critical values in place of 1.96. The R code takes them from the gsDesign object, and the Python code takes them from solve_boundary().

adjusted <- SimulateTrials(n_trials, stage_size, obf$upper$bound, 0, sigma)
adjusted_error <- mean(adjusted$rejected)
cat(sprintf("Null trials stopped before the final look: %d of %d\n",
sum(adjusted$stop_look < n_looks), n_trials))
cat(sprintf("Type I error with the boundary: %.4f (Monte Carlo SE %.4f)\n",
adjusted_error,
sqrt(adjusted_error * (1 - adjusted_error) / n_trials)))
Null trials stopped before the final look: 1238 of 50000
Type I error with the boundary: 0.0498 (Monte Carlo SE 0.0010)

With the boundary in place the type I error is 0.0498 in R and 0.0486 in Python, each with a Monte Carlo standard error of 0.0010. Both are within two standard errors of 0.05, and far from the 0.142 of the unadjusted looks. About 2.5% of the null trials stop before the final look, 1238 of 50,000 in R, which matches the 0.0256 that the table shows as spent by look 4.

The simulation uses a z-test with a known standard deviation, which is the model that the boundary is derived from.

A stricter threshold costs power, and the design buys the power back with a larger maximum sample size. The inflation factor is that maximum divided by the size of the fixed design. The gsDesign objects above were built with n.fix = n_fixed, so they report sample sizes in patients per arm, and en holds the expected sample size without an effect and with the planned effect. rpact reports the same quantities as ratios to the fixed design. This section is in R only.

obf_traits <- getDesignCharacteristics(rpact_obf)
pocock_traits <- getDesignCharacteristics(rpact_pocock)
cat("design inflation max_n mean_n_effect mean_n_null\n")
cat(sprintf("%-15s %9.4f %6.2f %13.2f %11.2f\n",
c("O'Brien-Fleming", "Pocock"),
c(obf$n.I[n_looks], pocock$n.I[n_looks]) / n_fixed,
c(obf$n.I[n_looks], pocock$n.I[n_looks]),
c(obf$en[2], pocock$en[2]), c(obf$en[1], pocock$en[1])),
sep = "")
cat(sprintf("rpact inflation factors: %.4f and %.4f\n",
obf_traits$inflationFactor, pocock_traits$inflationFactor))
cat(sprintf("rpact mean n with the effect: %.2f and %.2f\n",
obf_traits$averageSampleNumber1 * n_fixed,
pocock_traits$averageSampleNumber1 * n_fixed))
cat(sprintf("Patients per arm and look, O'Brien-Fleming: %d\n",
ceiling(obf$n.I[n_looks] / n_looks)))
design inflation max_n mean_n_effect mean_n_null
O'Brien-Fleming 1.0265 134.82 98.54 133.86
Pocock 1.2066 158.48 89.96 154.56
rpact inflation factors: 1.0265 and 1.2066
rpact mean n with the effect: 98.54 and 89.96
Patients per arm and look, O'Brien-Fleming: 27

The O’Brien-Fleming design raises the maximum from 131.34 to 134.82 patients per arm, an inflation of 2.65%. Five equal groups of 27 per arm cover it, which is the 135 per arm of the simulations. With the planned effect the trial stops after 98.54 patients per arm on average, a quarter fewer than the fixed design. Without an effect the trial nearly always runs to the end, and its mean of 133.86 is above the fixed 131.34.

Pocock costs more at the top and saves more on average when the drug works. Its maximum is 158.48 per arm, 20.66% above the fixed design, and its mean with the planned effect is 89.96. A sponsor who must fund the maximum, and who wants a final analysis close to p < 0.05, takes the O’Brien-Fleming shape. Pocock fits a trial in which a large early effect is plausible and an early stop is worth the larger commitment.

For a time-to-event endpoint the information is the number of events. The inflation factor then multiplies the events from Sample Size for Survival & Binary Endpoints, and each look takes place at a fraction of the events.

A trial can also stop because the drug is not working. A futility bound is a lower limit for z, and the trial stops for lack of effect when the statistic falls below it. Futility has a direction, so this design is one-sided: it tests for benefit at a one-sided level of 0.025.

test.type = 4 in gsDesign adds a lower bound from a beta spending function, which spreads the type II error of 0.10 over the looks as the alpha spending function spreads the type I error. The bound is non-binding. The efficacy boundary is computed as if the futility bound did not exist, so the type I error stays within 0.025 even when the committee continues a trial that crossed the futility bound. This section is in R only.

futility <- gsDesign(k = n_looks, test.type = 4, alpha = 0.025, beta = 0.10,
sfu = sfLDOF, sfl = sfLDOF, n.fix = n_fixed)
cat("look fraction efficacy_z futility_z beta_spent futility_if_null\n")
cat(sprintf("%4d %8.1f %10.4f %10.4f %10.4f %15.4f\n",
seq_len(n_looks), futility$timing, futility$upper$bound,
futility$lower$bound, cumsum(futility$lower$spend),
cumsum(futility$lower$prob[, 1])), sep = "")
cat(sprintf("Maximum n per arm: %.2f, mean n if null: %.2f\n",
futility$n.I[n_looks], futility$en[1]))
rpact_futility <- getDesignGroupSequential(
kMax = n_looks, alpha = 0.025, sided = 1, beta = 0.10,
typeOfDesign = "asOF", typeBetaSpending = "bsOF", bindingFutility = FALSE)
cat(sprintf("Largest gap to rpact futility bounds: %.1e\n",
max(abs(futility$lower$bound[-n_looks] -
rpact_futility$futilityBounds))))
look fraction efficacy_z futility_z beta_spent futility_if_null
1 0.2 4.8769 -1.9773 0.0002 0.0240
2 0.4 3.3570 -0.2070 0.0093 0.4186
3 0.6 2.6803 0.7644 0.0337 0.7833
4 0.8 2.2898 1.4468 0.0659 0.9315
5 1.0 2.0310 2.0310 0.1000 0.9776
Maximum n per arm: 144.39, mean n if null: 81.62
Largest gap to rpact futility bounds: 3.6e-07

The efficacy column repeats the O’Brien-Fleming type spending boundary of the earlier table, which is the meaning of non-binding. The futility bound starts low. At the first look the trial stops only when z is below -1.9773, a drug that looks harmful. At the third look the bound is 0.7644, so a trial with a positive but small estimate stops. At the final look the two bounds meet at 2.0310.

Without an effect, 41.86% of the trials have stopped for futility by the second look and 93.15% by the fourth. The mean sample size is 81.62 per arm, against 133.86 for the O’Brien-Fleming design that has no futility bound. The last row shows that 97.76% of the null trials end without a rejection. The remaining 2.24% is below 2.5% because the efficacy boundary ignored the futility stops.

The cost is in the maximum, 144.39 patients per arm. A trial of a working drug can cross the futility bound by chance, and the larger maximum pays for the power that those stops remove.

Now give the drug its planned effect of 4 mmHg and run the O’Brien-Fleming design. For each trial the code keeps the estimated difference at the look where the trial stopped.

working <- SimulateTrials(n_trials, stage_size, obf$upper$bound, effect,
sigma)
cat(sprintf("Power: %.4f, mean n per arm: %.1f\n", mean(working$rejected),
mean(working$stop_look) * stage_size))
cat("stop_look trials mean_estimate difference_to_cross\n")
for (look in seq_len(n_looks)) {
stopped_here <- working$stop_look == look
to_cross <- obf$upper$bound[look] * sigma * sqrt(2 / (look * stage_size))
cat(sprintf("%9d %6d %13.2f %19.2f\n", look, sum(stopped_here),
mean(working$estimate[stopped_here]), to_cross))
}
early <- working$stop_look < n_looks
cat(sprintf("Stopped early: %d trials, mean estimate %.2f\n", sum(early),
mean(working$estimate[early])))
cat(sprintf("All trials: mean estimate %.2f, true effect %.2f\n",
mean(working$estimate), effect))
Power: 0.9016, mean n per arm: 98.4
stop_look trials mean_estimate difference_to_cross
1 49 13.24 12.42
2 6228 7.14 6.21
3 17294 5.05 4.14
4 14251 3.85 3.10
5 12178 2.62 2.48
Stopped early: 37822 trials, mean estimate 4.95
All trials: mean estimate 4.38, true effect 4.00

The design delivers its power: 0.9016 in R and 0.8980 in Python, with a mean of 98.4 and 98.7 patients per arm next to the 98.54 from the design object. About three quarters of the trials stop early.

The estimates need more care. Every trial has a true effect of 4 mmHg, and the trials that stop at the second look report 7.14 mmHg on average in R. The last column shows why. To cross the boundary with 54 patients per arm, the observed difference must exceed 6.21 mmHg, so a trial stops at that look only when its estimate is well above the truth. Over all trials that stop early, the mean estimate is 4.95 mmHg in R and 4.97 in Python, about a quarter too high.

The trials that reach the final look are the mirror image, with a mean estimate of 2.62 mmHg in R. The two groups do not cancel: the mean over all trials is 4.38 mmHg, still above 4. The plain mean difference at the stopping time is biased away from zero, and the bias is largest for the earliest stops. getAnalysisResults() in rpact reports median unbiased estimates and confidence intervals that account for the design.

Do not add a look that the design does not have. One unplanned look at half of the data, followed by the planned final analysis, both at 1.96, matches the first two rows of the first table, where 8.3% of the null trials reject. The look counts even when nobody intended to stop, because a striking result would have stopped the trial.

Do not report the estimate of an early stop as if the trial had a fixed size. The simulated trials that stopped at the second look reported 7.14 mmHg for a true effect of 4 mmHg. Give the adjusted estimate, and say at which look the trial stopped.

Do not change the number of looks and keep the old critical values. The classic O’Brien-Fleming and Pocock values belong to five equally spaced looks, and they do not spend 5% on three looks or on a third look at 70%. Design the trial with a spending function, and compute each critical value from the information fraction that was observed. The calendar or the event count may set the time of a look. The interim estimate must not.

The interim comparison is unblinded, so the people who run the trial should not see it. An independent data monitoring committee reviews the interim results against the boundary and recommends whether to continue, while the sponsor and the investigators stay blind to the comparison. A crossing starts the committee’s judgment, which also weighs safety and the secondary endpoints.

Pocock, 1977 introduces group sequential testing with the same nominal significance level at every analysis.

O’Brien and Fleming, 1979 propose the boundary that is strict at early analyses and close to the fixed-design threshold at the last one.

Lan and DeMets, 1983 define the alpha spending function, which frees the design from a fixed number of equally spaced analyses.

The gsDesign package by Anderson computes group sequential boundaries, spending functions, and sample sizes for clinical trials in R.

The rpact package by Wassmer and Pahlke designs and analyzes fixed, group sequential, and adaptive confirmatory trials in R.

Wassmer and Brannath, 2025 give the theory of group sequential and confirmatory adaptive designs that rpact implements.

The gsDesign function reference defines each test.type, including the binding and non-binding futility bounds, and the arguments for unequal timing.

The gsDesign Lan-DeMets spending function reference gives the formulas of sfLDOF and sfLDPocock, the two spending functions of this page.

The rpact getDesignGroupSequential reference lists the design types and the beta spending options. The rpact getAnalysisResults reference covers the analysis side: repeated confidence intervals and median unbiased estimates for a trial that stopped early.

The ICH E9 guideline states what regulators expect of an interim analysis and of an independent data monitoring committee, in its sections on trial conduct.

Sample Size & Power computes the fixed design that the inflation factor multiplies. Sample Size for Survival & Binary Endpoints gives the events of a time-to-event trial, and Multiple Testing covers error rates over several hypotheses.