The function returns a list, including design_Karm, designs,
flag.dp, flag.mp, and flag.dpmp.
design_Karm contains the design parameters for the K-experimental arm trial including:
K, the number of experimental arms
n1, the sample size for each of the K experimental
arms
n0_1, the sample size of the common control arm
N1 the total sample size of a K-experimental arm trial
z_alpha1, the critical value for the comparison between any of the K
experimental arms and the control
FWER1, the family-wise error rate
z_beta1, the quantile of the marginal power, i.e., qnorm(marginal
power)
Power1, the disjunctive power
cor0, the correlation of Z-test statistics between any two of the K
experimental arms
delta, the standardized effect size expected to be detected in the
K-experimental arm trial
designs contains the recommended optimal design parameters for the K+M-experimental arm
trial including:
n2 and n0_2, the sample sizes of each of the K+M experimental
arms and its corresponding concurrent control, respectively
nt and n0t, the number of patients already enrolled on each
of the K initial experimental arms and the control arm, respectively, at the time the M new
arms are added
nc, the total sample size of the control arm for the k+M trial, i.e.
, the sum of the concurrent (n0_2) and nonconcurrent (n0t) controls
N2, the total sample size of the two-period K+M-experimental arm trial
A1, the allocation ratio (control to experimental arm) before the
M new experimental arms are added and after the initial K experimental arms end
A2, the allocation ratio (control to experimental arm) after the M
new experimental arms are added and before the initial K experimental arms end
cor1, the correlation of Z-test statistics between any two of the K
initial experimental arms (or between any two of the M new arms)
cor2, the correlation of Z-test statistics between any pair of one
initially opened and one newly added experimental arm
critical_value2, the critical value for the comparison between each
experimental arm and the concurrent control in the K+M-experimental arm trial
mariginal.power2, the marginal power for the K+M-experimental arm trial
disjunctive.power2, the disjunctive power for the K+M-experimental arm trial
FWER2, the family-wise type-I error rate for the K+M-experimental arm trial
delta, the standardized effect size expected to be detected in the
K+M-experimental arm trial
save, the number of patients saved in the K+M-experimental arm trial compared to
conducting one K-experimental arm and one M-experimental arm trial separately.
flag.dp, flag.mp, and flag.dpmp indicate if the lower limit of
disjunctive power, marginal power, or both of them has(have) met, respectively