design <- getDesignGroupSequential(
sided = 2,
alpha = 0.05,
beta = 0.2,
informationRates = c(0.3, 0.6, 1),
typeOfDesign = "asOF")January 14, 2026
getDesignGroupSequential()).getSampleSizeMeans(), getSampleSizeRates(), getSampleSizeSurvival(), getSimulationxxx(), getPowerxxx()).getDesignInverseNormal() yields the same results as getDesignGroupSequential(), it has an effect only for simulation and analysis.getDesignFisher() provides no planning calculation, use the simulation tools instead.Function getDesignGroupSequential() derives group-sequential boundaries in the mathematically simplest case:
Group-sequential boundaries and properties of the design apply to all endpoints!
informationRates: information fractions at which interim and final analysis are conducted.typeOfDesign = "asOF": O’Brien and Fleming type \(\alpha\)-spending.Argument typeOfDesign:
# Example: non-binding futility boundary at first interim in
# case estimated treatment effect is null or in "the wrong
# direction", no futility at second interim
design <- getDesignGroupSequential(
sided = 1,
alpha = 0.025,
beta = 0.2,
informationRates = c(0.3, 0.6, 1),
typeOfDesign = "asOF",
futilityBounds = c(0, -Inf),
bindingFutility = FALSE)
summary(design)futilityBounds: Vector on \(z\)-value scale for interim analyses (excluding final analysis).z = 0: Futility if “null effect or effect in wrong direction”z = -Inf: No futility at this interim analysisbindingFutility = FALSE (default): no effect on efficacy boundaries.futilityBounds only supported for one-sided testing.Sequential analysis with a maximum of 3 looks (group sequential design)
O’Brien & Fleming type alpha spending design, non-binding futility, one-sided overall significance level 2.5%, power 80%, undefined endpoint, inflation factor 1.0718, ASN H1 0.8826, ASN H01 0.8852, ASN H0 0.695.
| Stage | 1 | 2 | 3 |
|---|---|---|---|
| Planned information rate | 30% | 60% | 100% |
| Cumulative alpha spent | <0.0001 | 0.0038 | 0.0250 |
| Stage levels (one-sided) | <0.0001 | 0.0038 | 0.0238 |
| Efficacy boundary (z-value scale) | 3.929 | 2.670 | 1.981 |
| Futility boundary (z-value scale) | 0 | -Inf | |
| Cumulative power | 0.0096 | 0.3359 | 0.8000 |
| Futility probabilities under H1 | 0.056 | 0 |
Group sequential design characteristics
Number of subjects fixed: for abstract design without interim analyses.Shift: Maximal sample size for abstract design with interim analyses.Inflaction factor: Maximum sample size increase of sequential design relative to design without interim analyses.Ratio expected vs fixed sample size: Reduction in expected sample size of sequential relative to fixed design.Power and average sample size (ASN)
User defined parameters
Output
Legend
Power and average sample size (ASN)
User defined parameters
Output
Legend
E.g., vignette Defining group-sequential boundaries with rpact, written with Marcel Wolbers.
Also contains information on:
rpact objectsrpact objects