sample_size {frequentistSSD} | R Documentation |
Calculate the sample size for each arm
Description
Calculate the sample size for each arm in a two-arm trial
Usage
sample_size(kappa, mA, hr, ta, tf, diff, P)
Arguments
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 |
Value
sample_size()
returns required sample size for each arm
Author(s)
Chia-Wei Hsu, Haitao Pan, Jianrong Wu
References
Jianrong Wu, Haitao Pan, Chia-Wei Hsu (2021). "Two-Stage Screened Selection Designs for Randomized Phase II Trials with Time-to-Event Endpoints." Submitted
Examples
sample_size(kappa = 1, mA = 2.4, hr = 0.60, ta = 24,
tf = 3, diff = 0.25, P = 0.9)
[Package frequentistSSD version 0.1.1 Index]