powered by
stage_1_selection is used to determine the subgroup selected at the end of the first stage of GSED.
stage_1_selection
stage_1_selection(N_subsets, Z_1j, l, ordering, increasing_theta=FALSE)
A vector containing the indices of the subgroups selected is returned.
Integer representing the number of possible subgroups.
Vector containing the Z-statistics (standard normal under H0) for each subgroup. Must be of length N_subsets.
N_subsets
Vector containing the lower boundaries for stagewise decisions.
Boolean indicating if the subgroups (theta) are ordered.
Boolean indicating if greater values of theta parameters represent better treatment effects. The default value is set at FALSE.
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_selection(N_subsets=3, Z_1j=c(-0.49,1.07,1.44), l=c(0.7962,2.5204), ordering=FALSE)
Run the code above in your browser using DataLab