survmixture_f.Rd
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.
survmixture_f(t, ascale_r, ascale_nr, bshape = 1, p)
t | 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 |
This function returns the survival function evaluated at t based on a mixture model of responders and non-responders.
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
Marta Bofill Roig.
survmixture_f(t=0.2,ascale_r=8,ascale_nr=5.6,p=0.2)#> [1] 0.9669947