Displaying 1 result from an estimated 1 matches for "survfit_cond".
2006 Jan 29
0
actuarial prevalence plots
...ssentially the prevalence is the
Kaplan-Meier prob[having the condition at time t] - KM prob[recovery by
time t] (also divided by 1-KM[death by t], although death is not an
issue with this data).
I can easily produce the relevant actuarial data for either the
condition or recovery using survfit(eg survfit_cond$time ,
survfit_cond$surv, survfit_rec$time, survfit_rec$surv). I then have to
calculate (survfit_cond$surv-survfit_rec$surv) at each event time point.
Can anyone help me with an easy method to implement this? Or suggest an
easier method? I cant find a similar method after searching the
contributed...