curedata {survextrap} | R Documentation |
Simulated data for testing mixture cure models
Description
Survival times of 200 fake people. The cure probability is 0.5
for x=0
, and the log odds ratio for cure is 0.5, so that the
cure probability is about 0.62 for x=1
. The uncured population
have survival times distributed as a Weibull with shape 1.5 and
scale 1.2.
Usage
curedata
Format
t
Survival times, right-censored at 10 years.
status
. 1 for an observed death and 0 for censoring.
x
. A numeric variable with value of 0 for 100 individuals, and 1 for the other 100.
Source
Simulated.
[Package survextrap version 1.0 Index]