Skip to contents

Introduction

When clinical trials include overall survival (OS) as a secondary or exploratory endpoint, regulators may recommend not only monitoring for early evidence of efficacy and futility, but also for potential harm — that is, evidence that the experimental treatment may be worsening survival relative to control. This article demonstrates how the gsDesign package supports group sequential designs with three boundaries: an efficacy (upper) bound, a futility (lower) bound, and a harm bound, using test.type = 7 (binding) and test.type = 8 (non-binding). The section Fixed-size overall survival harm monitoring comes first: it uses test.type = 6 (harm without a separate futility rule), then test.type = 8 (adding optional non-binding futility), exact binomial boundary calculations, and exact repeated confidence intervals with event-based or calendar-based spending. The later sections describe the general three-boundary framework.

Regulatory context: FDA guidance on OS monitoring in oncology

The August 2025 FDA draft guidance Approaches to Assessment of Overall Survival in Oncology Clinical Trials (U.S. Food and Drug Administration 2025) discusses OS as a safety endpoint even when another endpoint establishes efficacy. It remains draft, nonbinding guidance, not a requirement to use the method illustrated here. Sections II, III.A, and III.B.2 discuss:

  • Indolent diseases and long survival, where demonstrating OS superiority may be impractical.
  • Prespecified harm assessments, justified thresholds, sufficient events, and precision to assess clinically relevant mortality detriment.
  • Event-driven interim analyses when appropriate, with independent data monitoring. Some small trials or trials with low event rates may not warrant interim OS analyses.
  • The distinction between identifying a harm signal and ruling out an unacceptable degree of harm.

The guidance does not prescribe 0.1/Pocock spending or a separate futility boundary in every trial. Types 7 and 8 are useful when both futility and harm are wanted; type 6 can instead supply a non-binding harm bound alone on the lower side. The design and its assumptions require context-specific justification.

The harm bound implemented in gsDesign is a new method that is easy to use — a principled, straightforward extension of the widely used group sequential spending function framework. While we believe this approach is understandable, useful, and flexible, other methods for monitoring potential harm may also be considered. However, there are limitations with this approach. The fixed-size example that follows examines what the approach can and cannot establish when deaths are uncommon. The later general examples have higher mortality risk than many cases.

Design framework overview

In a standard two-sided asymmetric group sequential design (test.type = 3 or 4), there are two boundaries:

  • Efficacy (upper) bound: Reject \(H_0\) if the test statistic exceeds this boundary (evidence of treatment benefit).
  • Futility (lower) bound: Consider stopping for futility if the test statistic falls below this boundary (insufficient evidence of treatment benefit).

The harm bound extension (test.type = 7 or 8) adds a third boundary:

  • Harm bound: Signal that the experimental treatment may be harming patients (evidence of a detrimental effect).

The harm bound lies below the futility bound. At each analysis, there are four possible outcomes:

  1. Cross the efficacy bound (above): Stop for efficacy.
  2. Between the efficacy and futility bounds: Continue the trial.
  3. Cross the futility bound but not the harm bound (between futility and harm): Consider stopping for futility.
  4. Cross the harm bound (below): Stop for harm.

The harm bound is intended to flag sufficiently small observed p-values favoring control. The nominal threshold depends on the analysis schedule and spending specification; it is not a fixed p-value cutoff at every look. That is, the harm bound flags evidence that the experimental treatment may be worsening survival — a negative treatment effect on the log hazard ratio scale.

Fixed-size overall survival harm monitoring

This section leads with a fixed-size design that has a planned number of deaths and sparse events: type 6 without a separate futility rule, followed by type 8 with optional non-binding futility. It then shows how exact repeated confidence intervals can be computed with an overall survival (OS) event clock or a calendar clock. The scenarios are hypothetical and the results are bounded to unstratified proportional-hazards monitoring.

Type 6: a harm bound without a separate futility bound

Consider a randomized trial with a primary efficacy endpoint other than OS, such as progression-free survival, and relatively few expected deaths. A prespecified mortality harm signal can be useful without requiring a separate rule for stopping because OS benefit appears unlikely. This is a hypothetical illustration, not an FDA-specified disease scenario or recommended protocol.

Use test.type = 6: its lower Z-bound spends under the null hypothesis and is non-binding for efficacy Type I error. Here we interpret that lower bound as harm; there is no additional beta spending futility bound. For type 6 the inputs are astar = 0.1 and sfl = sfLDPocock, not sfharm. The default astar is already 0.1, but sfl must be supplied explicitly because type 6 retains its general-purpose HSD lower spending default. We specify both for clarity. The lower boundary is stored in lower, even if a generic summary labels it as futility. Its clinical interpretation in this example is harm.

We plan analyses at 6, 23, and 40 total deaths, with 1:1 randomization, enrollment of 100 participants per month for 16 months, no dropout, and a constant control mortality hazard of 0.001 per month. An HR of 0.8 is used only as a planning scenario for the expected timing and power, not as evidence of mortality benefit. gsSurvPower() evaluates this fixed event schedule; it does not increase the event target to obtain 90% OS power.

sparse <- gsSurvPower(
  k = 3, test.type = 6,
  alpha = .025, sided = 1,
  astar = .1, sfl = sfLDPocock,
  targetEvents = c(6, 23, 40),
  lambdaC = .001, hr = .8, hr0 = 1,
  gamma = 100, R = 16, ratio = 1, eta = 0
)
# Use the planned final event count as the explicit spending denominator.
event_fraction <- sparse$n.I / tail(sparse$n.I, 1)
sparse_exact <- toBinomialExact(
  sparse, usTime = event_fraction, lsTime = event_fraction
)

The example retains an OS efficacy boundary to illustrate non-binding harm monitoring alongside an alpha-controlled efficacy test. It does not allocate alpha to another primary endpoint or supply a multiple endpoint testing strategy. If OS is solely a safety endpoint, the efficacy stopping rules and operating characteristics should be specified accordingly rather than claiming an OS efficacy objective that the trial does not have.

Integer death count boundaries

In the exact binomial representation the direction reverses: a high count of experimental arm deaths signals harm. upper$bound is therefore the harm cutoff, while lower$bound is the efficacy cutoff. The probabilities account for stopping at any earlier active boundary.

approx_hr <- function(x, n) ifelse(x >= 0 & x <= n, x / (n - x), NA_real_)
data.frame(
  `Total deaths` = sparse_exact$n.I,
  `Experimental deaths for harm (at least)` = sparse_exact$upper$bound,
  `Approximate HR at harm cutoff` =
    approx_hr(sparse_exact$upper$bound, sparse_exact$n.I),
  `Cumulative harm probability under HR=1` =
    cumsum(sparse_exact$upper$prob[, 1]),
  `Experimental deaths for efficacy (at most)` = sparse_exact$lower$bound,
  `Approximate HR at efficacy cutoff` =
    approx_hr(sparse_exact$lower$bound, sparse_exact$n.I),
  check.names = FALSE
) |> lt() |> lt_format(columns = c(3, 4, 6), decimals = 3) |>
  lt_header("Exact boundaries, approximate hazard ratios and null harm crossing probabilities")

# Efficacy Type I error is evaluated ignoring the non-binding harm boundary.
efficacy_without_harm <- gsBinomialExact(
  k = sparse_exact$k, theta = .5, n.I = sparse_exact$n.I,
  a = sparse_exact$lower$bound, b = sparse_exact$n.I + 1L
)
stopifnot(sum(efficacy_without_harm$lower$prob) <= sparse$alpha + 1e-10)

The approximate hazard ratios are \(x/(n - x)\) for \(x\) experimental arm deaths among \(n\) total deaths with 1:1 randomization (NA where no efficacy cutoff is available, and infinite where all deaths must be experimental). They summarize the event proportion cutoffs on a survival scale; they are not confidence limits. For plot(sparse_exact, plottype = 3), the display is on the event proportion scale, so transform with \(HR = p/(1 - p)\) (for 1:1 randomization) before interpreting it as a hazard ratio.

At the first look, a signal requires all six deaths to be in the experimental arm. At later looks the cumulative cutoff is applied only if no earlier stopping boundary has been crossed. The total null harm crossing probability is 7.8%, below the 10% target because only integer death counts are available. The efficacy Type I error without harm stopping is 1.96%, below 2.5%.

Adding optional non-binding futility (type 8)

The same fixed event schedule can add an interim futility rule that does not apply at the final analysis. Here futility spending is Hwang–Shih–DeCani with parameter \(-2\) and is calibrated at the planning HR of 0.8. Because only 40 deaths are planned, achieved \(\beta\) is large (about 0.9), so the rule mainly illustrates the stopping and calibration mechanics rather than a recommended trial design.

sparse8 <- gsSurvPower(
  k = 3, test.type = 8,
  alpha = .025, sided = 1,
  astar = .1, sfharm = sfLDPocock,
  sfl = sfHSD, sflpar = -2, testLower = c(TRUE, TRUE, FALSE),
  targetEvents = c(6, 23, 40),
  lambdaC = .001, hr = .8, hr0 = 1,
  gamma = 100, R = 16, ratio = 1, eta = 0
)
sparse8_exact <- toBinomialExact(
  sparse8, usTime = event_fraction, lsTime = event_fraction
)
data.frame(
  `Total deaths` = sparse8_exact$n.I,
  `Experimental deaths for harm (at least)` = sparse8_exact$harm$bound,
  `Experimental deaths for futility (at least)` = sparse8_exact$futility$bound,
  `Experimental deaths for efficacy (at most)` = sparse8_exact$lower$bound,
  check.names = FALSE
) |> lt() |>
  lt_header("Type 8 exact boundaries (futility is inactive at the final analysis)")

Harm calibration retains the efficacy and harm stops but ignores separate futility. Hence the harm cutoffs are the same as for type 6. The probabilities reported for the type 8 design, however, assume monitoring ends at futility, so harm can be detected less often than without the futility rule:

compare <- data.frame(
  `True HR` = c(1, .8),
  `Type 6 harm` = colSums(sparse_exact$upper$prob),
  `Type 8 harm` = colSums(sparse8_exact$harm$prob),
  `Type 8 futility` = colSums(sparse8_exact$futility$prob),
  check.names = FALSE
)
stopifnot(identical(sparse_exact$upper$bound, sparse8_exact$harm$bound))
compare |> lt() |> lt_format(columns = 2:4, decimals = 3) |>
  lt_header("Harm and futility stopping probabilities with and without futility")

Ending monitoring at futility reduces later harm detection: under HR = 1 the harm probability falls from 7.8% to 5.7%. Capping and discreteness can also make achieved spending lower than the specified spending.

What the probabilities mean

Several error rates are easy to confuse:

  • Efficacy Type I error is calculated ignoring non-binding harm and futility stops. It is controlled at the one-sided \(\alpha = 0.025\) (up to discreteness).
  • False harm signals are crossings of the harm boundary when HR = 1. The total 0.1 is a target under the null calibration that retains efficacy and harm stops; the achieved probability is lower because of integer counts, and lower still when monitoring ends at futility.
  • Missed clinically important harm is the chance of no harm signal when the true HR is, for example, 1.5. This is large with 40 planned deaths (see the next subsection).
  • Design \(\beta\) versus achieved power. A design \(\beta\) calibrates futility spending. With a fixed number of deaths, the achieved \(\beta\) under the planning HR is reported separately and can be far from the design value.

Sensitivity to excess mortality

For balanced exposure and uncommon events, approximate the probability that a death is in the experimental arm by \(p = HR/(1 + HR)\), where \(HR = \lambda_E/\lambda_C\). More generally the corresponding conditional Poisson model uses \(p = HR\,r/(1 + HR\,r)\) with exposure ratio \(r\). The recursion below is exact for independent binomial event increments with constant \(p\), not automatically exact for arbitrary censored survival data. Risk set imbalance, differential censoring, or changing hazards can invalidate the simple mapping from randomization ratio and HR. Such settings need appropriate survival model calculations or simulation.

harm_hr <- c(1, 1.25, 1.5, 2)
harm_oc <- gsBinomialExact(
  k = sparse_exact$k, theta = harm_hr / (1 + harm_hr),
  n.I = sparse_exact$n.I,
  a = sparse_exact$lower$bound, b = sparse_exact$upper$bound
)
data.frame(
  `True mortality HR` = harm_hr,
  `Probability of a harm signal` = colSums(harm_oc$upper$prob),
  check.names = FALSE
) |> lt() |> lt_format(columns = 2, decimals = 3) |>
  lt_header("Probability of a harm signal by mortality hazard ratio")

Even at HR = 1.5, the chance of a signal is only 38.8% in this example. Failure to cross the boundary therefore cannot establish that a clinically important mortality increase has been excluded. Increasing harm spending can improve sensitivity, but also increases false signals; it cannot replace information from additional deaths and follow-up. A non-binding designation concerns efficacy alpha calculations, not the clinical importance of reviewing a signal.

Detecting harm versus ruling out harm

A harm monitoring test asks whether data provide evidence of excess mortality relative to HR = 1. A reassurance objective instead asks whether the data can exclude a prespecified unacceptable HR, such as 1.5. The latter value is an illustration, not a universal safety margin. One approach is to require an appropriately constructed upper confidence bound to fall below that margin.

To illustrate the lack of precision, suppose a single fixed analysis has 20 deaths in each arm. Under the same binomial model, transform a one-sided 95% upper bound for the experimental share into an upper HR bound:

p_upper <- binom.test(20, 40, alternative = "less", conf.level = .95)$conf.int[2]
hr_upper <- p_upper / (1 - p_upper)
data.frame(
  `Experimental deaths` = 20, `Control deaths` = 20,
  `One-sided 95% upper HR bound` = hr_upper,
  check.names = FALSE
) |> lt() |> lt_format(columns = 3, decimals = 2) |>
  lt_header("Mortality precision at a single fixed analysis")

Despite a balanced observed count, this upper bound exceeds 1.5. This is a fixed analysis precision illustration, not a sequentially adjusted interval for the monitored trial. Repeated or stopping-selected reassurance assessments require an interval or test valid for that monitoring plan. A vignette example must not turn “no harm signal” into a claim of safety: the harm margin, precision, event target, follow-up, and operating characteristics for ruling out harm all need their own justification. The next section constructs intervals valid across the monitoring plan.

Exact repeated confidence intervals and spending clocks

repeatedCIBinomialExact() inverts the exact sequential tests in both directions to obtain repeated confidence intervals at every review. Efficacy is reported as \(1 - HR\), so the hazard ratio limits are 1 - conf.high (lower) and 1 - conf.low (upper). Both tails use the same specified spending function, spending times and count ordering; the upper tail is the mirror image of the lower tail with experimental and control counts exchanged. That mirrored tail is not the design’s beta-spending futility rule.

A central 80% interval has 0.10 in each tail. Specifying sfu = sfLDPocock with conf.level = 0.8 gives Pocock spending with 0.10 per tail without modifying the monitoring design, which retains its separate efficacy (0.025) and harm (0.10) specifications. Matching the harm total astar = 0.1 is a nominal-budget interpretation: it does not mean the numerical cutoffs are equal, because the stopping conventions differ. The design’s 0.025 efficacy and 0.10 harm allocations do not form a central 80% interval themselves, and its futility rule is not the mirrored interval tail.

OS-event and calendar clocks at fixed calendar reviews

Suppose reviews are scheduled at fixed calendar times: the expected times to 15%, 57.5% and 100% of planned deaths. The observed number of deaths then varies, and can be zero, unchanged between reviews, or beyond plan. The OS-event clock spends at min(observed deaths / planned final deaths, 1); the calendar clock spends at min(elapsed time / planned final calendar time, 1). Both use the original planned denominator, never a future realized final count or time. The OS information always determines the probability calculation. Event-based spending makes the interim HR thresholds predictable from the observed death counts, whereas calendar spending does not depend on them. At the scheduled final review use finalReview to spend the remaining budget; neither the last supplied review nor an early crossing triggers that override, and earlier spending is unchanged. Full spending is a target: discreteness can leave an achieved shortfall.

reviews_deaths <- c(5, 19, 37)
reviews_exp <- c(3, 9, 17)
calendar_clock <- sparse$T / tail(sparse$T, 1)
ci_os <- repeatedCIBinomialExact(
  sparse, n.I = reviews_deaths, x = reviews_exp,
  conf.level = .8, sfu = sfLDPocock,
  usTime = reviews_deaths / 40
)
ci_calendar <- repeatedCIBinomialExact(
  sparse, n.I = reviews_deaths, x = reviews_exp,
  conf.level = .8, sfu = sfLDPocock,
  usTime = calendar_clock, finalReview = 3
)
ci_hr <- function(ci, clock) data.frame(
  Clock = clock, Review = ci$Analysis, Deaths = ci$n.I,
  `Experimental deaths` = ci$x,
  `Estimated HR` = 1 - ci$estimate,
  `Lower HR limit` = 1 - ci$conf.high,
  `Upper HR limit` = 1 - ci$conf.low,
  check.names = FALSE
)
rbind(ci_hr(ci_os, "OS events"), ci_hr(ci_calendar, "Calendar")) |>
  lt() |> lt_format(columns = 5:7, decimals = 2) |>
  lt_header("Repeated 80% intervals (Pocock, 0.10 per tail) with two clocks")

A review with no deaths is handled directly: the estimate is NA and the interval is uninformative, as are zero or unchanged event increments and reviews after spending has reached its total.

zero <- repeatedCIBinomialExact(
  sparse, n.I = c(0, 5, 19, 19), x = c(0, 3, 9, 9),
  conf.level = .8, sfu = sfLDPocock,
  usTime = c(.15, calendar_clock[1:2], 1), finalReview = 4
)
data.frame(
  Review = zero$Analysis, Deaths = zero$n.I,
  `Lower HR limit` = 1 - zero$conf.high,
  `Upper HR limit` = 1 - zero$conf.low,
  check.names = FALSE
) |> lt() |> lt_format(columns = 3:4, decimals = 2) |>
  lt_header("Zero-death and unchanged-count reviews")

The same usTime, finalReview, sfu and sfupar arguments are available in sequentialCIBinomialExact(), repeatedPValueBinomialExact() and sequentialPValueBinomialExact(). Omitting them retains event-based spending with the design’s upper spending function.

Gaps in the values not rejected

Exact cutoffs are integers, and probability left unspent at one review is carried forward. Raising the candidate HR can raise an earlier cutoff, which spends more there and lowers a later cutoff. The cutoffs are therefore not monotone in the candidate HR, and the values not rejected can contain small gaps. repeatedCIBinomialExact() reports the smallest and largest values not rejected (the convex hull), found by tracing every change in the integer cutoffs. This can only widen the interval and increase coverage, and any value outside the interval is rejected by the sequential test at that value. The converse does not hold:

gap <- repeatedCIBinomialExact(
  sparse, n.I = c(6, 23, 40), x = c(3, 10, 18),
  conf.level = .9, sfu = sfLDPocock, usTime = event_fraction
)
round(c(
  `Lower HR limit` = 1 - gap$conf.high[3],
  `Upper HR limit` = 1 - gap$conf.low[3]
), 3)
#> Lower HR limit Upper HR limit 
#>          0.428          1.551

With 18 of 40 deaths at the final review, the test with 0.05 in each tail rejects every HR from about 1.485 to 1.526 but not 1.527 to 1.550. The upper limit is therefore 1.55, although HR = 1.5 is rejected. A claim about a prespecified value, such as excluding a harm margin, should rest on the sequential test at that value rather than on the interval limit. Gaps tend to be widest at reviews with little or no new spending, where the cutoff uses only probability left unspent earlier. Repeated p-values follow the same convention on the alpha scale: the reported p-value is the largest level at which the count does not cross, so the count crosses at every larger level.

Coverage evidence from the harm-spending paper

A companion simulation (1,725,000 trials: 200,000 at HR = 1 and 125,000 at each of HR = 0.8, 1.5 and 2, for each planned final death count 20, 40 and 80) evaluated stopped repeated 80% intervals with OS-event and calendar clocks, with and without a separate futility rule. Coverage is the probability that every interval from the first review through and including the stopping review contains the true HR; post-stop analyses are excluded.

  • The minimum asymptotic simultaneous coverage was 79.89% (95% Monte Carlo limits 79.71%–80.07%).
  • Exact intervals were conservative in the evaluated cells. They were computed by bisection between non-rejected and rejected values; the convex hull limits reported by the package contain those intervals, so their coverage is at least as high.
  • Adding futility increased simultaneous coverage by 2.43–4.96 percentage points, because it truncates an otherwise identical interval path. That is higher coverage, not better harm detection: stopping at futility can reduce the chance of detecting harm later.

These full-grid results are archived in the gsHarmSpendingPaper repository and are not rerun when this vignette is built. They apply to the studied unstratified proportional-hazards scenarios. The calendar reviews do not simulate joint PFS/OS triggering, and interval coverage does not validate every analytical power forecast. Three references should not be conflated: logrank asymptotics, Chan–Bohidar conditional-binomial methods (Chan and Bohidar 1998) and repeated-confidence-interval inversion (Jennison and Turnbull 1984; Coe and Tamhane 1993). Exactness is conditional on the binomial increment model. A boundary crossing is a prespecified signal for DMC review; it is not itself a decision to stop.

Relationship to types 5 and 6

The lower bound for test.type = 5 and the harm bound for test.type = 7 use the same null-spending construction. The corresponding non-binding pair is test.type = 6 and test.type = 8. Compare lower$bound for types 5/6 with harm$bound for types 7/8, not their separate futility bounds.

For equality, match astar, sfl/sflpar to sfharm/sfharmparam, spending times, active lower/harm looks, information fractions, and efficacy bounds; harm must not be capped at futility. Types 6 and 8 retain matching efficacy bounds because lower stopping is non-binding. Additional binding futility in type 7 can change the efficacy bounds, so equality with type 5 is not unconditional. All four types default to astar = 0.1. Before version 4.0.0, types 5/6 defaulted to astar = 1 - alpha. The input astar = 0 still selects that value, with a deprecation warning; specify astar = 1 - alpha instead.

Design with non-binding bounds (test.type = 8)

We demonstrate a survival design using gsSurvCalendar() with test.type = 8 (non-binding futility and harm bounds). The scenario is based on a 1:1 randomized trial monitoring overall survival with:

  • Median control survival: 3 years (36 months), i.e., \(\lambda_C = \log(2)/36\).
  • Target hazard ratio: HR = 0.75 (25% reduction in hazard).
  • Power: 90% (\(\beta = 0.1\)).
  • One-sided \(\alpha\): 0.0125 (e.g., the OS component of a trial with multiplicity adjustment).
  • Enrollment: Uniform enrollment over 18 months.
  • Study duration: 5 years (60 months) with planned analyses at years 1, 2, 3, 4, and 5 from start of enrollment.

The astar parameter controls the total spending for the harm bound under \(H_0\). The defaults are astar = 0.1 and sfharm = sfLDPocock. We specify these explicitly below for clarity. The 10% target describes harm crossing under \(H_0\) if futility stopping is ignored, while still accounting for earlier efficacy and harm stops. Actual harm stopping can be less frequent when futility is followed. The existing cap that keeps harm at or below an active futility boundary can reduce spending at that look. The joint calibration carries the shortfall to later active harm looks, where the cumulative target is sought again. Full spending is not guaranteed if later caps or the absence of further active harm looks prevent recovery.

Spending function specification

We specify:

  • Efficacy bound: Lan-DeMets O’Brien-Fleming (sfLDOF) spending function (conservative, spending little \(\alpha\) at early analyses).
  • Futility bound: Hwang-Shih-DeCani (HSD) spending function with \(\gamma = -2\) (moderate \(\beta\)-spending under \(H_1\)).
  • Harm bound: Lan-DeMets Pocock (sfLDPocock) spending function (spending under \(H_0\) for detecting harm).
x8 <- gsSurvCalendar(
  test.type = 8,
  alpha = 0.0125,
  beta = 0.1,
  astar = 0.1,
  calendarTime = c(12, 24, 36, 48, 60),
  sfu = sfLDOF,
  sfl = sfHSD, sflpar = -2,
  sfharm = sfLDPocock,
  lambdaC = log(2) / 36,
  hr = 0.75,
  R = 18,
  minfup = 42
)

Summary

The summary() method provides a concise description of the design:

cat(strwrap(summary(x8), width = 65), sep = "\n")
#> Asymmetric two-sided group sequential design with non-binding
#> futility and harm bounds, 5 analyses, time-to-event outcome with
#> sample size 1148 and 657 events required, 90 percent power, 1.25
#> percent (1-sided) Type I error (sample size/power method:
#> Lachin-Foulkes) to detect a hazard ratio of 0.75. Enrollment and
#> total study durations are assumed to be 18 and 60 months,
#> respectively. Efficacy bounds derived using a Lan-DeMets
#> O'Brien-Fleming approximation spending function (no parameters).
#> Futility bounds derived using a Hwang-Shih-DeCani spending
#> function with gamma = -2. Harm bounds derived using a Lan-DeMets
#> Pocock approximation spending function.

Detailed boundary table

The gsBoundSummary() function produces a tabular summary with columns for each boundary. By default, B-value, Spending, CP, CP H1, PP, and the optional no-futility probability rows are excluded. We note that for the first interim analysis, the efficacy bound is so extreme it is effectively impossible to cross. However, the harm and futility bounds are more moderate, allowing for early stopping if there is evidence of harm or futility. The futility bound is an indicator of why bounds are often non-binding — the futility bound is not intended to be a strict stopping rule, but rather a signal that the trial may be unlikely to succeed if it continues. Crossing the harm bound is a stronger indication that the treatment may be harmful, and the trial should be at least paused with a recommendation to review the safety and other endpoint data.

gsBoundSummary(x8) |>
  lt() |>
  lt_header("Non-binding design: boundary summary")

Interpreting the boundaries

The design has five analyses at calendar times of 12, 24, 36, 48, and 60 months. At each analysis, the test statistic (Z-value) is compared against three boundaries:

bounds <- data.frame(
  Analysis = 1:x8$k,
  Month = x8$T,
  Events = ceiling(x8$n.I),
  Harm = round(x8$harm$bound, 2),
  Futility = round(x8$lower$bound, 2),
  Efficacy = round(x8$upper$bound, 2)
)
bounds |>
  lt() |>
  lt_header("Z-value boundaries at each analysis")

Decision rules at an analysis where all three bounds are active:

  • If \(Z >\) efficacy bound: Stop for efficacy (reject \(H_0\)).
  • If futility bound \(< Z \leq\) efficacy bound: Continue the trial.
  • If harm bound \(< Z \leq\) futility bound: Consider stopping for futility.
  • If \(Z \leq\) harm bound: Stop for harm.

When both lower bounds are active, the harm bound is always at or below the futility bound. If futility is skipped but harm is tested, the harm bound is the sole active lower stopping boundary. The harm and futility bounds may coincide when the uncapped harm boundary would exceed the futility boundary; the cap can prevent full harm spending.

Boundary crossing probabilities

We examine the operating characteristics under two scenarios: no treatment effect (HR = 1, i.e., under \(H_0\)) and the design alternative (HR = 0.75). When harm and futility are both active, x8$lower$prob and x8$harm$prob are reported as mutually exclusive stopping outcomes. Thus, the probability of crossing the futility threshold is the sum of the two lower tail components. For comparison, we also show harm crossing when futility is ignored and the cumulative harm spending target. The target is defined under \(H_0\) only; under \(H_1\), the no-futility column describes a hypothetical procedure, not a spending target or an actual stopping probability.

harm_no_futility <- gsProbability(
  k = x8$k, theta = x8$theta, n.I = x8$n.I,
  a = x8$harm$bound, b = x8$upper$bound
)$lower$prob
probs <- data.frame(
  Scenario = c(rep("Under H0 (HR=1)", x8$k), rep("Under H1 (HR=0.75)", x8$k)),
  Analysis = rep(1:x8$k, 2),
  Month = rep(x8$T, 2),
  `P(Efficacy)` = c(cumsum(x8$upper$prob[, 1]), cumsum(x8$upper$prob[, 2])),
  `P(Futility only)` = c(cumsum(x8$lower$prob[, 1]), cumsum(x8$lower$prob[, 2])),
  `P(Harm)` = c(cumsum(x8$harm$prob[, 1]), cumsum(x8$harm$prob[, 2])),
  `P(Harm, no futility)` = c(
    cumsum(harm_no_futility[, 1]), cumsum(harm_no_futility[, 2])
  ),
  `Harm spending (H0)` = c(cumsum(x8$harm$spend), rep(NA_real_, x8$k)),
  `P(Futility or Harm)` = c(
    cumsum(x8$lower$prob[, 1] + x8$harm$prob[, 1]),
    cumsum(x8$lower$prob[, 2] + x8$harm$prob[, 2])
  ),
  check.names = FALSE
)
probs |>
  lt() |>
  lt_format(columns = 4:9, decimals = 4) |>
  lt_header("Cumulative boundary crossing probabilities") |>
  lt_footnote(
    paste(
      "No-futility harm probabilities retain earlier harm and efficacy stops.",
      "Compare with the cumulative harm spending target under H0 only.",
      "Do not add this column to actual stopping probabilities."
    ),
    where = "column", columns = "P(Harm, no futility)"
  )

Under \(H_0\), the actual cumulative probability of stopping for harm is approximately 0.0417 when all active stopping rules are followed. This need not equal astar: trials that stop for futility cannot subsequently stop for harm. The cumulative probability of crossing the futility threshold, inclusive of harm, is approximately 0.9888. Under \(H_1\) (HR = 0.75), crossing the harm bound is very unlikely (0.0004), since the treatment is beneficial.

Harm calibration versus actual stopping

For both binding and non-binding designs, harm calibration ignores futility stopping. This avoids making a harm threshold near zero merely to spend a specified amount among the selected trials that survived earlier futility monitoring. Efficacy and earlier harm stopping are still included.

The following example tests harm at all three looks, skips efficacy at IA1, and tests futility only at IA1. It uses the new harm defaults. We compare the target spending, harm crossing without futility, and actual harm stopping:

xh <- gsDesign(
  test.type = 8, timing = c(.5, .75),
  testUpper = c(FALSE, TRUE, TRUE),
  testLower = c(TRUE, FALSE, FALSE),
  testHarm = TRUE
)
harm_without_futility <- gsProbability(
  k = xh$k, theta = 0, n.I = xh$n.I,
  a = xh$harm$bound, b = xh$upper$bound
)
data.frame(
  Analysis = c("IA1", "IA2", "Final"),
  `Harm Z` = xh$harm$bound,
  `Nominal harm p` = pnorm(xh$harm$bound),
  `Cumulative target` = cumsum(xh$harm$spend),
  `Harm without futility` = cumsum(harm_without_futility$lower$prob[, 1]),
  `Harm with futility` = cumsum(xh$harm$prob[, 1]),
  check.names = FALSE
) |> lt() |> lt_format(columns = 2:6, decimals = 4) |>
  lt_header("Harm calibration versus actual stopping under H0") |>
  lt::lt_footnote(
    paste(
      "Harm without futility retains earlier harm and efficacy stops.",
      "Harm with futility follows all active stopping rules;",
      "the latter is the cumulative harm$prob stored in the design."
    ),
    where = "column", columns = "Harm without futility"
  )

At IA2 the probability of an actual harm stop includes only paths that continued past IA1. Thus the cumulative harm probability is \(P_0(Z_1 \le h_1) + P_0(Z_1 > f_1, Z_2 \le h_2)\), where \(h_i\) denotes a harm boundary and \(f_1\) the IA1 futility boundary. Calibration without futility instead uses \(h_1\) in place of \(f_1\) in the second term.

gsBoundSummary() reports actual cumulative stopping probabilities in ordinary P(Cross) rows for all bounds. These follow all active stopping rules and agree with the design’s probability arrays.

To inspect calibration separately, request the optional P(Cross, no futility) rows by omitting "No futility" from exclude:

gsBoundSummary(
  xh, exclude = c("B-value", "Spending", "CP", "CP H1", "PP")
) |> lt() |>
  lt_header("Boundary summary with optional no-futility harm probabilities")

Only the Harm column is populated in these rows. The values retain earlier harm and efficacy stops but ignore futility. Under the null they describe the harm-calibration probability; a cap may delay spending to a later active look or prevent full spending. Under the alternative they describe a hypothetical procedure without futility, not the actual harm-stop probability or a calibration target. Never add these optional values to ordinary stopping probabilities. The table footnote explains the difference and is also available in console, RTF, and LaTeX output through xprint().

The optional Spending rows report incremental spending targets, not these cumulative crossing probabilities. Also, its p (1-sided) rows use the efficacy direction; the nominal p-value favoring harm is pnorm(xh$harm$bound), the complement of that displayed p-value. print(xh) labels the harm direction values as Nominal p.

Changing the example to test.type = 7 retains the same harm calibration convention. Binding status changes efficacy calibration: type 7 accounts for both lower stopping rules in protecting alpha, whereas type 8 ignores them for that purpose. Power and actual stopping probabilities include both rules in either design. Ignoring a binding futility rule in practice can inflate efficacy Type I error, even though it was ignored for harm calibration.

Visualization

All standard plot() types are supported for test.type = 7 and 8 designs, with a third line (or set of lines) shown for the harm bound.

Z-value boundaries

The default plot shows Z-value boundaries at each analysis. Three boundaries are displayed: efficacy (upper), futility (lower), and harm (below futility).

plot(x8)
Z-value boundaries for non-binding harm bound design

Z-value boundaries for non-binding harm bound design

Boundary crossing probabilities

The power plot (plottype = 2) shows cumulative boundary crossing probabilities as a function of the treatment effect. Three sets of lines appear: upper bound (cumulative efficacy crossing probability), 1-(Futility or harm), and 1-Harm. Because the harm boundary is nested below the futility boundary when both are active, crossing the futility threshold includes both futility-only and harm stops. The 1-(Futility or harm) curve therefore subtracts x8$lower$prob + x8$harm$prob, while the 1-Harm curve subtracts harm crossings only. This aggregation is performed only for plotting: the probability arrays stored in x8 remain mutually exclusive so that efficacy, futility-only, and harm outcomes add without double counting. When the underlying treatment effect favors control, the high probability of crossing the harm bound indicates that the harm bound is sensitive and serves its intended purpose.

plot(x8, plottype = 2)
Boundary crossing probabilities for non-binding harm bound design

Boundary crossing probabilities for non-binding harm bound design

Approximate treatment effect at boundaries

The effect size plot (plottype = 3) shows the approximate treatment effect at each boundary. For survival designs, this is expressed as the approximate hazard ratio at the boundary.

plot(x8, plottype = 3)
Approximate treatment effect at boundaries

Approximate treatment effect at boundaries

Spending function plot

The spending function plot (plottype = 5) shows the three spending functions: \(\alpha\) (efficacy), \(\beta\) (futility), and harm.

plot(x8, plottype = 5)
Spending functions for non-binding harm bound design

Spending functions for non-binding harm bound design

B-values at boundaries

B-values (plottype = 7) are Z-values scaled by \(\sqrt{t}\) where \(t\) is the information fraction. As discussed by Proschan et al. (2006), the expected value of B-values increases linearly with the information fraction under the assumption of a constant treatment effect (proportional hazards). This linear relationship makes B-values useful for visual assessment of treatment effect trends across interim analyses: departures from linearity may suggest non-proportional hazards or other changes in treatment effect over time. Three boundary lines are shown: efficacy, futility, and harm.

plot(x8, plottype = 7)
B-values at boundaries

B-values at boundaries

Design with binding bounds (test.type = 7)

Most readers can skip this worked binding design and continue with efficacy bounds at alternate alpha levels. The later practical guidance discusses when to choose binding rather than non-binding bounds.

For test.type = 7, both the futility and harm bounds are binding — meaning the computation of the efficacy bound assumes the trial will stop if either bound is crossed. This yields a slightly less conservative efficacy bound (easier to cross), but at the cost of inflated Type I error if the stopping rule is not strictly followed.

We first create a binding design with \(\alpha = 0.0125\) to compare with the non-binding design above:

x7 <- gsSurvCalendar(
  test.type = 7,
  alpha = 0.0125,
  beta = 0.1,
  astar = 0.1,
  calendarTime = c(12, 24, 36, 48, 60),
  sfu = sfLDOF,
  sfl = sfHSD, sflpar = -2,
  sfharm = sfLDPocock,
  lambdaC = log(2) / 36,
  hr = 0.75,
  R = 18,
  minfup = 42
)

Comparing binding and non-binding

comparison <- data.frame(
  Bound = c("Efficacy", "Futility", "Harm"),
  `Binding (type 7)` = c(
    paste(round(x7$upper$bound, 3), collapse = ", "),
    paste(round(x7$lower$bound, 3), collapse = ", "),
    paste(round(x7$harm$bound, 3), collapse = ", ")
  ),
  `Non-binding (type 8)` = c(
    paste(round(x8$upper$bound, 3), collapse = ", "),
    paste(round(x8$lower$bound, 3), collapse = ", "),
    paste(round(x8$harm$bound, 3), collapse = ", ")
  ),
  check.names = FALSE
)
comparison |>
  lt() |>
  lt_header("Comparison of binding vs. non-binding Z-value boundaries")

Note that the efficacy bounds for test.type = 7 (binding) are slightly lower (easier to cross) than for test.type = 8 (non-binding). The maximum number of events for test.type = 7 (639) is also slightly smaller than for test.type = 8 (657), reflecting the assumption that the trial will stop at the lower bounds.

gsBoundSummary(x7) |>
  lt() |>
  lt_header("Binding design: boundary summary")

Efficacy bounds at alternate \(\alpha\) levels

The gsBoundSummary() function accepts an alpha argument to display efficacy bounds at one or more alternate \(\alpha\) levels alongside the original design. Each alternate alpha column retains the testUpper schedule from the design, so an efficacy analysis that was skipped remains inactive and every efficacy characteristic at that analysis, including cumulative crossing probability, is NA. Here we show the non-binding design (x8) with efficacy bounds for both \(\alpha = 0.0125\) (the design level) and \(\alpha = 0.025\):

gsBoundSummary(x8, alpha = 0.025) |>
  lt() |>
  lt_header("Non-binding design: efficacy bounds at alternate alpha levels")

Alternate alpha summaries are supported for test.type = 8, where both futility and harm bounds are non-binding. They are not supported for test.type = 7: a binding harm or futility bound is outside the non-binding sequential p-value framework used for Maurer–Bretz graphical multiple testing.

Practical considerations

Choice of spending functions

The choice of spending functions for the three boundaries should reflect regulatory and scientific considerations:

  • Efficacy: A conservative spending function such as Lan-DeMets O’Brien-Fleming (sfLDOF) is typical, spending very little \(\alpha\) at early interim analyses when limited information is available.
  • Futility: Moderate spending (e.g., HSD with \(\gamma = -2\)) allows early stopping for futility when the treatment effect is clearly absent.
  • Harm: The Lan-DeMets Pocock (sfLDPocock) spending function provides more aggressive spending at early analyses, which is appropriate for harm monitoring since detecting a detrimental effect early is critical for patient safety.

Total harm spending and the number of analyses

Lan–DeMets Pocock spending with total 0.1 allocates cumulative probability \(A(t) = 0.1\log\{1 + (e-1)t\}\) by spending time \(t\). It allocates relatively more spending early than a conservative O’Brien–Fleming choice, helping to flag moderately small nominal p-values favoring harm throughout monitoring. The total 0.1 is a repeated monitoring probability under the null, not a nominal 0.1 cutoff at every analysis. Neither the total nor the spending function guarantees that any particular nominal p-value will trigger harm stopping at every look.

With more analyses, a user may wish to choose a larger total harm spending (astar) to retain similarly permissive nominal thresholds. This increases the allowed probability of a false harm signal under the null. It does not mean increasing futility spending (beta), which has a different purpose and is calibrated under the design alternative. Inspect the actual thresholds for the intended timing and number of analyses. For example:

harm_nominal <- function(k, astar) {
  d <- gsDesign(k = k, test.type = 8, astar = astar)
  data.frame(
    Analyses = k, Total = astar, Look = seq_len(k),
    `Nominal harm p` = pnorm(d$harm$bound), check.names = FALSE
  )
}
rbind(harm_nominal(3, .1), harm_nominal(6, .1), harm_nominal(6, .2)) |>
  lt() |> lt_format(columns = 4, decimals = 4) |>
  lt_header("Nominal harm thresholds by number of analyses and total spending")

The larger total in this illustration is a sensitivity analysis, not a universal recommendation. The choice requires considering both sensitivity to potential harm and false harm signals.

Interpreting the harm bound

The harm bound is crossed when the observed p-value favoring control is at or below the analysis-specific nominal harm threshold. In terms of the test statistic, a negative Z-value indicates that the hazard rate is higher in the experimental arm than the control arm — i.e., the experimental treatment appears to be worsening survival. When the Z-value falls below the harm bound, this constitutes a statistical signal that the treatment may be harmful, and the trial should be stopped with a recommendation to review the safety data.

The harm spending is computed under \(H_0\) (no treatment effect), ignoring futility stopping but retaining efficacy stopping. It budgets the probability of a false harm signal under those assumptions; following futility can reduce the actual probability further.

Harm bound capping

In the implementation, the harm bound is automatically capped so it never exceeds the futility bound when both are active. This ensures the ordering harm bound \(\leq\) futility bound \(\leq\) efficacy bound at analyses where all three are tested, while allowing harm to be the active lower boundary when futility is skipped.

When to use test.type = 7 vs. test.type = 8

  • test.type = 8 (non-binding) is most often preferred in practice. Regulators will generally expect non-binding bounds, which preserve Type I error control regardless of whether the stopping rules are strictly followed. Since Data Monitoring Committees (DMCs) typically retain discretion to continue or stop a trial based on the totality of the evidence, the non-binding approach ensures that the statistical validity of the efficacy analysis is maintained even if a futility or harm boundary is crossed but the trial continues.
  • test.type = 7 (binding) is appropriate when there is a firm commitment to stop the trial upon crossing any boundary. This provides a small efficiency gain (slightly easier efficacy bounds and fewer required events) but requires strict protocol adherence. If the trial does not stop after crossing a binding boundary, Type I error may be inflated.

In most regulatory settings, test.type = 8 is the safer and more common choice.

Binding and non-binding harm monitoring

When futility and harm are both tested at an analysis, the harm boundary lies below the futility boundary and therefore does not add another stopping region. Crossing probabilities are nevertheless partitioned into mutually exclusive harm, futility, and efficacy outcomes.

When harm is tested at an analysis where futility is skipped, the harm boundary is the active lower stopping boundary. This stopping probability is included in sample size derivation and, for test.type = 7, in the binding efficacy bound calculation. For test.type = 8, efficacy bounds continue to use the non-binding Type I error convention, while power and expected information account for actual harm and futility stopping.

Adjusting the boundaries

The boundaries are adjustable through several design parameters:

  • Alternate astar: Controls the Type I error allocated to excess OS harm detection.
  • Alternate spending functions: Different spending functions for efficacy, futility, and harm boundaries change the aggressiveness of each boundary across analyses.
  • Alternate timing of analyses: Changing the calendar times of interim analyses shifts the information available at each look.

Regardless of the statistical design, bounds must be clinically, ethically, and statistically sound. As previously noted, this approach is one option to address the regulatory expectation for OS harm monitoring, but other approaches may also be considered.

References

Chan, Ivan SF, and Norman R Bohidar. 1998. “Exact Power and Sample Size for Vaccine Efficacy Studies.” Communications in Statistics-Theory and Methods 27 (6): 1305–22.
Coe, Paul R., and Ajit C. Tamhane. 1993. “Exact Repeated Confidence Intervals for Bernoulli Parameters in a Group Sequential Clinical Trial.” Controlled Clinical Trials 14 (1): 19–29.
Jennison, Christopher, and Bruce W. Turnbull. 1984. “Repeated Confidence Intervals for Group Sequential Clinical Trials.” Controlled Clinical Trials 5 (1): 33–45.
Proschan, Michael A., K. K. Gordon Lan, and Janet Turk Wittes. 2006. Statistical Monitoring of Clinical Trials: A Unified Approach. Springer.
U.S. Food and Drug Administration. 2025. Approaches to Assessment of Overall Survival in Oncology Clinical Trials: Draft Guidance for Industry. Https://www.fda.gov/media/188274/download.