
Class for Simulation Results Multi-Arm Means
Source:R/class_simulation_results.R
SimulationResultsMultiArmMeans.RdA class for simulation results means in multi-arm designs.
Details
Use getSimulationMultiArmMeans() to create an object of this type.
Fields
activeArmsThe number of active treatment arms to be compared with control. Is a numeric vector of length 1 containing a whole number.
adaptationsIndicates whether or not an adaptation takes place at interim k. Is a logical vector of length
kMaxminus 1.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.calcSubjectsFunctionAn optional function that can be entered to define how sample size is recalculated. By default, recalculation is performed with conditional power with specified
minNumberOfSubjectsPerStageandmaxNumberOfSubjectsPerStage.conditionalPowerThe conditional power at each stage of the trial. Is a numeric vector of length 1 containing a value between 0 and 1.
conditionalPowerAchievedThe calculated conditional power, under the assumption of observed or assumed effect sizes. Is a numeric matrix.
earlyStopThe probability to stopping the trial either for efficacy or futility. Is a numeric vector.
effectMatrixThe matrix of effect sizes with
activeArmscolumns and number of rows reflecting the different situations to consider.effectMeasureCriterion for treatment arm/population selection, either based on test statistic (
"testStatistic") or effect estimate ("effectEstimate"). Is a character vector of length 1.epsilonValueNeeds to be specified if
typeOfSelection = "epsilon". Is a numeric vector of length 1.expectedNumberOfSubjectsThe expected number of subjects under specified alternative.
futilityPerStageThe per-stage probabilities of stopping the trial for futility. Is a numeric matrix.
futilityStopIn simulation results data set: indicates whether trial is stopped for futility or not.
gED50The ED50 of the sigmoid Emax model. Only necessary if
typeOfShape = "sigmoidEmax"has been specified. Is a numeric vector of length 1.intersectionTestThe multiple test used for intersection hypotheses in closed systems of hypotheses. Is a character vector of length 1.
iterationsThe number of iterations used for simulations. Is a numeric vector of length 1 containing a whole number.
maxNumberOfIterationsThe number of simulation iterations. Is a numeric vector of length 1 containing a whole number.
maxNumberOfSubjectsPerStageDetermines the maximum number of subjects per stage for data-driven sample size recalculation. For two treatment arms, is the number of subjects for both treatment arms. For multi-arm designs, is the minimum number of subjects per selected active arm. Is a numeric vector of length
kMaxcontaining whole numbers.minNumberOfSubjectsPerStageDetermines the minimum number of subjects per stage for data-driven sample size recalculation. For two treatment arms, is the number of subjects for both treatment arms. For multi-arm designs, is the minimum number of subjects per selected active arm. Is a numeric vector of length
kMaxcontaining whole numbers.muMaxVectorThe range of effect sizes for the treatment group with highest response for
"linear"and"sigmoidEmax"model. Is a numeric vector.numberOfActiveArmsThe number of active arms in a multi-armed design. Is a numeric matrix.
plannedSubjectsDetermines the number of cumulated (overall) subjects when the interim stages are planned. For two treatment arms, is the number of subjects for both treatment arms. For multi-arm designs, refers to the number of subjects per selected active arm. Is a numeric vector of length
kMaxcontaining whole numbers.rejectAtLeastOneThe probability to reject at least one of the (multiple) hypotheses. Is a numeric vector.
rejectedArmsPerStageThe simulated number of rejected arms per stage.
rValueNeeds to be specified if
typeOfSelection = "rBest". Is a numeric vector of length 1.sampleSizesThe sample sizes for each group and stage. Is a numeric vector of length number of stages times number of groups containing whole numbers.
seedThe seed used for random number generation. Is a numeric vector of length 1.
selectArmsFunctionAn optional function that can be entered to define how treatment arms are selected.
selectedArmsThe selected arms in multi-armed designs.
slopeThe slope of the sigmoid Emax model, if
typeOfShape = "sigmoidEmax"Is a numeric vector of length 1.stDevThe standard deviation used for sample size and power calculation. Is a numeric vector of length 1.
stDevH1The standard deviation under which the conditional power or sample size recalculation is performed. Is a numeric vector of length 1.
successCriterionDefines when the study is stopped for efficacy at interim.
"all"stops the trial if the efficacy criterion has been fulfilled for all selected treatment arms/populations,"atLeastOne"stops if at least one of the selected treatment arms/populations is shown to be superior to control at interim. Is a character vector of length 1.successPerStageThe simulated success probabilities per stage where success is defined by user. Is a numeric matrix.
thetaH1The assumed effect under the alternative hypothesis. For survival designs, refers to the hazard ratio. Is a numeric vector.
thresholdThe selection criterion: treatment arm/population is only selected if
effectMeasureexceedsthreshold. Either a single numeric value or a numeric vector of lengthactiveArmsreferring to a separate threshold condition for each treatment arm.typeOfSelectionThe way the treatment arms or populations are selected at interim. Is a character vector of length 1.
typeOfShapeThe shape of the dose-response relationship over the treatment groups. Is a character vector of length 1.