sample_size | R Documentation |
Calculate the sample size for each arm in a two-arm trial
sample_size(kappa, mA, hr, ta, tf, diff, P)
kappa |
the shape parameter of weibull distribution |
mA |
the median survival time of arm A |
hr |
the hazard ratio of arm B to arm A |
ta |
the accrual duration |
tf |
the follow-up duration |
diff |
the equivalence margin |
P |
the chance of correctly selecting the superior arm |
sample_size()
returns required sample size for each arm
Chia-Wei Hsu, Haitao Pan, Jianrong Wu
Jianrong Wu, Haitao Pan, Chia-Wei Hsu (2021). "Two-Stage Screened Selection Designs for Randomized Phase II Trials with Time-to-Event Endpoints." Submitted
sample_size(kappa = 1, mA = 2.4, hr = 0.60, ta = 24, tf = 3, diff = 0.25, P = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.