The function `survmixture_f` computes the survival distribution as a mixture of responders and non-responders. The responders and non-responders distributions are assumed to be Weibull distributions.
time at which the survival distribution is evaluated
ascale_r
scale parameter for the Weibull distribution for responders
ascale_nr
scale parameter for the Weibull distribution for non-responders
bshape
shape parameter for the Weibull distribution
p
event rate for the response
Value
This function returns the survival function evaluated at t based on a mixture model of responders and non-responders.
References
Design of phase III trials with long-term survival outcomes based on short-term binary results. Marta Bofill Roig, Yu Shen, Guadalupe Gomez Melis. arXiv:2008.12887