Basic class for trial designs.
kMax
The maximum number of stages K
.
Is a positive integer of length 1 (default value is 3
).
The maximum selectable kMax
is 20
for group sequential or inverse normal and
6
for Fisher combination test designs.
alpha
The significance level alpha, default is 0.025
.
Is a positive numeric of length 1.
stages
The stage numbers of the trial. Is an integer vector of length kMax
.
informationRates
The information rates (that must be fixed prior to the trial),
default is (1:kMax) / kMax
. Is a numeric vector of length kMax
(the maximum number of stages).
userAlphaSpending
The user defined alpha spending.
Numeric vector of length kMax
containing the cumulative
alpha-spending (Type I error rate) up to each interim stage: 0 <= alpha_1 <= ... <= alpha_K <= alpha
.
criticalValues
The critical values for each stage of the trial.
Is a numeric vector of length kMax
(the maximum number of stages).
stageLevels
The levels for each stage.
alphaSpent
The cumulative alpha spent at each stage.
Is a numeric vector with length kMax
(the maximum number of stages).
bindingFutility
Logical. If bindingFutility = TRUE
is specified the calculation of
the critical values is affected by the futility bounds and the futility threshold is binding in the
sense that the study must be stopped if the futility condition was reached (default is FALSE
).
tolerance
The numerical tolerance, default is 1e-06
. Is a positive numeric of length 1.
TrialDesign
is the basic class for
TrialDesignFisher
,
TrialDesignGroupSequential
, and
TrialDesignInverseNormal
.