powered by
stage_1_evaluation is used to evaluate the efficacy of the subgroup selected at the end of the first stage of GSED.
stage_1_evaluation
stage_1_evaluation(keep, Z_1j, f, u)
A list is returned, consisting of:
Integer containing the current step. Value is 1 by default, or -1 if the trial stops earlier for efficacy after this evaluation step.
Vector containing the indices of the subgroups selected at stage 1 (=keep).
keep
Vector containing the indices of the subgroups selected at stage 1.
Vector containing the Z-statistics (standard normal under H0) for each subgroup. Must be of length N_subsets.
N_subsets
Vector containing the prevalence rates of each subgroup.
Vector containing the upper boundaries for stagewise decisions.
Marie-Karelle Riviere-Jourdan eldamjh@gmail.com
Baldur P. Magnusson and Bruce W. Turnbull. Group sequential enrichment design incorporating subgroup selection. Statistics in Medicine, 2013. <doi:10.1002/sim.5738>
stage_1_evaluation(keep=c(2,3), Z_1j=c(-0.49,1.07,1.44), f=c(0.6,0.2,0.2), u=c(2.7625,2.5204))
Run the code above in your browser using DataLab