View source: R/functions_multiarm_binary.R
ss_binary | R Documentation |
Depending on the results of phase II and our strategy ,i.e. whether we proceed only with the best promising treatment (l = 1) or with all promising treatments (l = 2), this program calculates the number of participants in phase III.
l=1: according to Schoenfeld to guarantee power for the log rank test to detect treatment effect of phase II;
l=2: according to Dunnett to guarantee y any-pair power (Horn & Vollandt)
ss_binary(alpha, beta, p0, p11, y, l)
alpha |
significance level |
beta |
1-beta power for calculation of sample size for phase III |
p0 |
assumed true rate of control group |
p11 |
assumed true rate of treatment group |
y |
hat_theta_2; estimator in phase II |
l |
number of treatments in phase III:
|
the function ss_binary() returns the total sample size for phase III trial with l treatments and equal allocation ratio
res <- ss_binary(alpha = 0.05, beta = 0.1, p0 = 0.6, p11 = 0.3, y = 0.5, l = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.