design <- getDesignOptimalConditionalErrorFunction(
alpha = 0.025, alpha1 = 0.001, alpha0 = 0.5,
conditionalPower = 0.9, delta1 = 0.25, useInterimEstimate = FALSE,
firstStageInformation = 40, likelihoodRatioDistribution = "maxlr"
)
getSecondStageInformation(
firstStagePValue = c(0.05, 0.1, 0.2), design = design
)
Run the code above in your browser using DataLab