| TrialDesignPlanRates | R Documentation |
Trial design plan for rates.
This object cannot be created directly; use getSampleSizeRates()
with suitable arguments to create a design plan for a dataset of rates.
riskRatioSpecifies if the sample size for one-sided testing of H0: pi1 / pi2 = thetaH0 has been calculated. Is a logical vector of length 1.
thetaH0The difference or assumed effect under H0. Is a numeric vector of length 1.
normalApproximationDescribes if a normal approximation was used when calculating p-values. Default for means is FALSE and TRUE for rates and hazard ratio. Is a logical vector of length 1.
conservativeConservative sample size calculation enabled or not Is a logical vector of length 1.
pi1The assumed probability or probabilities in the active treatment group in two-group designs, or the alternative probability for a one-group design.
pi2The assumed probability in the reference group for two-group designs. Is a numeric vector of length 1 containing a value between 0 and 1.
groupsThe group numbers. Is a numeric vector.
allocationRatioPlannedThe planned allocation ratio (n1 / n2) for the groups. For multi-arm designs, it is the allocation ratio relating the active arm(s) to the control. Is a positive numeric vector of length 1.
optimumAllocationRatioThe allocation ratio that is optimum with respect to the overall sample size at given power. Is a logical vector of length 1.
directionUpperSpecifies the direction of the alternative, only applicable for one-sided testing. Default is TRUE which means that larger values of the test statistics yield smaller p-values. Is a logical vector of length 1.
effectThe effect for randomly creating normally distributed responses. Is a numeric vector of length kMax.
overallRejectThe overall rejection probability. Is a numeric vector.
rejectPerStageThe probability to reject a hypothesis per stage of the trial. Is a numeric matrix.
futilityStopIn simulation results data set: indicates whether trial is stopped for futility or not.
futilityPerStageThe per-stage probabilities of stopping the trial for futility. Is a numeric matrix.
earlyStopThe probability to stopping the trial either for efficacy or futility. Is a numeric vector.
expectedNumberOfSubjectsThe expected number of subjects under specified alternative.
nFixedThe sample size in a fixed (one-stage) design. Is a positive numeric vector.
nFixed1The sample size in treatment arm 1 in a fixed (one-stage) design. Is a positive numeric vector.
nFixed2The sample size in treatment arm 2 in a fixed (one-stage) design. Is a positive numeric vector.
informationRatesThe information rates (that must be fixed prior to the trial), default is (1:kMax) / kMax. Is a numeric vector of length kMax containing values between 0 and 1.
maxNumberOfSubjectsThe maximum number of subjects for power calculations. Is a numeric vector.
maxNumberOfSubjects1The maximum number of subjects in treatment arm 1. Is a numeric vector.
maxNumberOfSubjects2The maximum number of subjects in treatment arm 2. Is a numeric vector.
numberOfSubjectsIn simulation results data set: The number of subjects under consideration when the interim analysis takes place.
numberOfSubjects1In simulation results data set: The number of subjects under consideration in treatment arm 1 when the interim analysis takes place.
numberOfSubjects2In simulation results data set: The number of subjects under consideration in treatment arm 2 when the interim analysis takes place.
expectedNumberOfSubjectsH0The expected number of subjects under H0. Is a numeric vector.
expectedNumberOfSubjectsH01The expected number of subjects under a value between H0 and H1. Is a numeric vector.
expectedNumberOfSubjectsH1The expected number of subjects under H1. Is a numeric vector.
criticalValuesEffectScaleThe critical values for each stage of the trial on the effect size scale.
criticalValuesEffectScaleLowerThe lower critical values for each stage of the trial on the effect size scale. Is a numeric matrix.
criticalValuesEffectScaleUpperThe upper critical values for each stage of the trial on the effect size scale. Is a numeric matrix.
criticalValuesPValueScaleThe critical values for each stage of the trial on the p-value scale.
futilityBoundsEffectScaleThe futility bounds for each stage of the trial on the effect size scale. Is a numeric matrix.
futilityBoundsEffectScaleLowerThe lower futility bounds for each stage of the trial on the effect size scale. Is a numeric matrix.
futilityBoundsEffectScaleUpperThe upper futility bounds for each stage of the trial on the effect size scale. Is a numeric matrix.
futilityBoundsPValueScaleThe futility bounds for each stage of the trial on the p-value scale. Is a numeric matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.