getD_proportionally {OneArmPhaseTwoStudy} | R Documentation |
Calculates the conditional error for all possible outcomes at the interim analysis (different number of responses) spending "rest alpha" (difference between nominal alpha level and actual alpha level) proportionally.
getD_proportionally(design, alpha)
design |
a dataframe containing all critical values for a Simon's two-stage design defined by the colums "r1", "n1", "r", "n" and "p0".
|
alpha |
overall significance level the trial was planned for. |
Englert S., Kieser M. (2012): Adaptive designs for single-arm phase II trials in oncology. Pharmaceutical Statistics 11,241-249.
getD_equally
, getD_distributeToOne
, getD_none
#Calculate a Simon's two-stage design design <- getSolutions()$Solutions[3,] #minimax-design for the default values. ce_prop <- getD_proportionally(design, 0.05) ce_prop