getBound | R Documentation |
Obtains the efficacy stopping boundaries for a group sequential design.
getBound(
k = NA,
informationRates = NA,
alpha = 0.025,
typeAlphaSpending = "sfOF",
parameterAlphaSpending = NA,
userAlphaSpending = NA,
spendingTime = NA,
efficacyStopping = NA
)
k |
Look number for the current analysis. |
informationRates |
Information rates up to the current look. Must be increasing and less than or equal to 1. |
alpha |
The significance level. Defaults to 0.025. |
typeAlphaSpending |
The type of alpha spending. One of the following: "OF" for O'Brien-Fleming boundaries, "P" for Pocock boundaries, "WT" for Wang & Tsiatis boundaries, "sfOF" for O'Brien-Fleming type spending function, "sfP" for Pocock type spending function, "sfKD" for Kim & DeMets spending function, "sfHSD" for Hwang, Shi & DeCani spending function, "user" for user defined spending, and "none" for no early efficacy stopping. Defaults to "sfOF". |
parameterAlphaSpending |
The parameter value for the alpha spending. Corresponds to Delta for "WT", rho for "sfKD", and gamma for "sfHSD". |
userAlphaSpending |
The user defined alpha spending. Cumulative alpha spent up to each stage. |
spendingTime |
A vector of length |
efficacyStopping |
Indicators of whether efficacy stopping is allowed at each stage. Defaults to true if left unspecified. |
If typeAlphaSpending
is "OF", "P", or "WT", then the boundaries
will be based on equally spaced looks.
A numeric vector of critical values up to the current look.
Kaifeng Lu, kaifenglu@gmail.com
getBound(k = 2, informationRates = c(0.5,1),
alpha = 0.025, typeAlphaSpending = "sfOF")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.