powered by
predicting two-arm clinical trial
ObsTime.TwoArm( N.0 = NULL, N.1 = NULL, ratio = NULL, d = NULL, gamma.c = NULL, alpha0.t = NULL, nu0.t, alpha1.t, nu1.t, s, m, design2 = NULL )
This function returns a list containing all design parameters, including the calculated observation time l
l
number of subjects plan to be enrolled in control arm
number of subjects plan to be enrolled in experimental arm
randomization ratio between two arms: N.1 / N.0
N.1
N.0
expected number of events observed at time l
parameter of the exponential distribution of censoring time
shape parameter of weibull survival distribution for control arm
scale parameter of weibull survival distribution for control arm
shape parameters of weibull survival distribution for experimental arm
scale parameter of a weibull survival distribution for control arm
enrollment time
maximum follow-up time for a subject
a list containing all the above parameters for two-arm design
# calculate the observation time ObsTime.TwoArm(N.0=100,N.1=100,d=10,gamma.c=1,alpha0.t = 1,nu0.t=5,alpha1.t=2,nu1.t=4,s=5,m=4)
Run the code above in your browser using DataLab