Chen_2016_event_time_abovetime0 {EventPredInCure} | R Documentation |
Function to generate event time based on Chen 2016 method for ongoing subject
Description
generate event time under the delay-treatment effect and cured population setting given T>time0
Usage
Chen_2016_event_time_abovetime0(u, distribution, p, time0, a, b, mu, sd)
Arguments
u |
a scalar with between 0 and 1 |
distribution |
the distribution for the control arm, valid values of inputs include: exponential, weibull, log-normal, log-logistic |
p |
the proportion of cured population in the control arm |
time0 |
the observed ongoing survival time |
a |
the shape parameter in the Weibull or the log-logistic distribution |
b |
the scale parameter in the exponential, Weibull or the log-logistic distribution |
mu |
the mean in the log-normal distribution |
sd |
the standard deviation in the log-normal distribution |
Value
the event time
References
Chen, Tai-Tsang. "Predicting analysis times in randomized clinical trials with cancer immunotherapy." BMC medical research methodology 16.1 (2016): 1-10.
[Package EventPredInCure version 1.0 Index]