Re: [R] predicting cumulative hazard for coxph using predict

2009-02-24 Thread Terry Therneau
> I am estimating the following coxph function with stratification and > frailty, where each person had multiple events. > m <- coxph(Surv(dtime1,status1) ~ gender +cage +uplf+ strata(enum)+ > frailty(id), xmodel) >I want to predict the cumulative hazard for each person for their

[R] predicting cumulative hazard for coxph using predict

2009-02-23 Thread Zainab Jamal
Hi I am estimating the following coxph function with stratification and frailty where each person had multiple events. m<-coxph(Surv(dtime1,status1)~gender+cage+uplf+strata(enum)+frailty(id),xmodel)   > head(xmodel) id enumdtime status gender cage uplf 1 10086661 2259.14120