A class for simulation results survival in enrichment designs.
accrualIntensityThe absolute accrual intensities. Is a numeric vector of length kMax.
accrualTimeThe assumed accrual time intervals for the study. Is a numeric vector.
adaptationsIndicates whether or not an adaptation takes place at interim k. Is a logical vector of length kMax minus 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 single positive numeric value.
calcEventsFunctionAn optional function that can be entered to define how event size is recalculated. By default, recalculation is performed with conditional power with specified minNumberOfEventsPerStage and maxNumberOfEventsPerStage.
conditionalPowerThe conditional power at each stage of the trial. Is a single numeric value between 0 and 1.
conditionalPowerAchievedThe calculated conditional power, under the assumption of observed or assumed effect sizes. Is a numeric matrix.
cumulativeEventsPerStageThe cumulative number of events per stage. Is a numeric matrix.
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 single logical value.
dropoutRate1The assumed drop-out rate in the treatment group. Is a single numeric value between 0 and 1.
dropoutRate2The assumed drop-out rate in the control group. Is a single numeric value between 0 and 1.
dropoutTimeThe assumed time for drop-out rates in the control and treatment group. Is a single numeric value.
observedDropoutProportion1Mean replication-specific cumulative observed dropout proportion in arm 1 at each stage, counting dropout before the event and by that stage's analysis time. Only replications contributing at that stage with a finite analysis time and positive enrolled-subject denominator contribute; NA if none contribute. Stopped trials and discontinued groups do not contribute to later stages; overlapping populations include their shared subjects. Numeric matrices with stage rows and scenario columns for two-arm trials. In multi-arm trials, arm 1 has dimensions stage, scenario, and active arm; arm 2 is a stage-by-scenario matrix for shared control. In enrichment trials, both arms have dimensions stage, scenario, and population (subpopulations followed by the full population). A single active arm or population uses a stage-by-scenario matrix. Stage and scenario dimensions are always retained. NULL for test-statistic-based simulation. Both proportions are hidden in print and summary output when both input dropout rates are zero, but remain in the object.
observedDropoutProportion2Mean replication-specific cumulative observed dropout proportion in arm 2 at each stage, counting dropout before the event and by that stage's analysis time. Only replications contributing at that stage with a finite analysis time and positive enrolled-subject denominator contribute; NA if none contribute. Stopped trials and discontinued groups do not contribute to later stages; overlapping populations include their shared subjects. Numeric matrices with stage rows and scenario columns for two-arm trials. In multi-arm trials, arm 1 has dimensions stage, scenario, and active arm; arm 2 is a stage-by-scenario matrix for shared control. In enrichment trials, both arms have dimensions stage, scenario, and population (subpopulations followed by the full population). A single active arm or population uses a stage-by-scenario matrix. Stage and scenario dimensions are always retained. NULL for test-statistic-based simulation. Both proportions are hidden in print and summary output when both input dropout rates are zero, but remain in the object.
dropoutObservationTime1Mean stage analysis time in arm 1 over exactly the replications contributing to the corresponding stage's observed dropout proportion, in the same units as accrual and survival times. NA if no replication contributes. Numeric matrices with stage rows and scenario columns for two-arm trials. In multi-arm trials, arm 1 has dimensions stage, scenario, and active arm; arm 2 is a stage-by-scenario matrix for shared control. In enrichment trials, both arms have dimensions stage, scenario, and population (subpopulations followed by the full population). A single active arm or population uses a stage-by-scenario matrix. Stage and scenario dimensions are always retained. NULL for test-statistic-based simulation. Retained in the object but omitted from print and summary output.
dropoutObservationTime2Mean stage analysis time in arm 2 over exactly the replications contributing to the corresponding stage's observed dropout proportion, in the same units as accrual and survival times. NA if no replication contributes. Numeric matrices with stage rows and scenario columns for two-arm trials. In multi-arm trials, arm 1 has dimensions stage, scenario, and active arm; arm 2 is a stage-by-scenario matrix for shared control. In enrichment trials, both arms have dimensions stage, scenario, and population (subpopulations followed by the full population). A single active arm or population uses a stage-by-scenario matrix. Stage and scenario dimensions are always retained. NULL for test-statistic-based simulation. Retained in the object but omitted from print and summary output.
earlyStopThe probability to stopping the trial either for efficacy or futility. Is a numeric vector.
effectListThe list of subsets, prevalences and effect sizes with columns and number of rows reflecting the different situations to be considered.
effectMeasureCriterion for treatment arm/population selection, either based on test statistic ("testStatistic") or effect estimate ("effectEstimate"). Is a single character value.
epsilonValueNeeds to be specified if typeOfSelection = "epsilon". Is a single numeric value.
eventsPerStageDeprecated: use singleEventsPerStage or cumulativeEventsPerStage instead Is a numeric matrix.
eventTimeThe assumed time under which the event rates are calculated. Is a single numeric value.
expectedNumberOfEventsThe expected number of events under specified alternative. Is a numeric vector.
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.
intersectionTestThe multiple test used for intersection hypotheses in closed systems of hypotheses. Is a single character value.
iterationsThe number of iterations used for simulations. Is a single numeric value representing a whole number.
kappaThe shape of the Weibull distribution if kappa!=1. Is a single numeric value.
maxNumberOfIterationsThe number of simulation iterations. Is a single numeric value representing a whole number.
maxNumberOfSubjectsThe maximum number of subjects for power calculations. Is a numeric vector.
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 kMax containing 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 kMax containing whole numbers.
numberOfPopulationsThe number of populations in an enrichment 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 kMax containing whole numbers.
populationsThe number of populations in an enrichment design. Is a single numeric value representing a whole number.
populationEventsPerStageMean number of events within each population and stage. Is a numeric array with dimensions stage, scenario, and population.
rejectAtLeastOneThe probability to reject at least one of the (multiple) hypotheses. Is a numeric vector.
rejectedPopulationsPerStageThe simulated number of rejected populations per stage.
rValueNeeds to be specified if typeOfSelection = "rBest". Is a single numeric value.
seedThe seed used for random number generation. Is a single numeric value.
selectedPopulationsThe selected populations in enrichment designs.
selectPopulationsFunctionAn optional function that can be entered to define the way of how populations are selected.
singleEventsPerStageThe single number of events per stage. Is a numeric matrix.
singleEventsPerSubsetAndStageMean number of events within each subgroup and stage. Is a numeric array with dimensions stage, scenario, and subgroup.
singleNumberOfEventsPerStageDeprecated: use singleEventsPerArmAndStage or singleEventsPerSubsetAndStage instead
simulationTypeThe simulation approach used: "patientWise" or
"testStatisticBased".
stratifiedAnalysisFor enrichment designs, typically a stratified analysis should be chosen. When testing means and rates, a non-stratified analysis can be performed on overall data. For survival data, only a stratified analysis is possible. Is a single logical value.
studyDurationThe study duration for specified effect size. Is a positive numeric vector.
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 single character value.
successPerStageThe simulated success probabilities per stage where success is defined by user. Is a numeric matrix.
thetaH0The difference or assumed effect under H0. Is a single numeric value.
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 effectMeasure exceeds threshold. Either a single numeric value or a numeric vector of length activeArms referring to a separate threshold condition for each treatment arm.
typeOfSelectionThe way the treatment arms or populations are selected at interim. Is a single character value.
analysisTimeThe estimated time of analysis. Is a numeric matrix.
eventsNotAchievedThe simulated number of cases how often the number of events was not reached. Is a numeric matrix.
numberOfSubjectsIn simulation results data set: The number of subjects under consideration when the interim analysis takes place.
piecewiseSurvivalTimeThe time intervals for the piecewise definition of the exponential survival time cumulative distribution function. Is a numeric vector.
maxNumberOfEventsPerStageDetermines the maximum number of events per stage for data-driven sample size recalculation. Is a numeric vector of length kMax containing whole numbers.
minNumberOfEventsPerStageDetermines the minimum number of events per stage for data-driven sample size recalculation. Is a numeric vector of length kMax containing whole numbers.
plannedEventsDetermines the number of cumulated (overall) events in survival designs when the interim stages are planned. For two treatment arms, is the number of events for both treatment arms. For multi-arm designs, refers to the overall number of events for the selected arms plus control. Is a numeric vector of length kMax containing whole numbers.
maxStudyDurationThe maximum study duration in survival designs. Is a numeric vector.
Use getSimulationEnrichmentSurvival()
to create an object of this type.