Eleni Rapsomaniki
2009-Feb-16 13:24 UTC
[R] How do i compute predicted failure time from a cox model?
Given a cox model: library(Hmisc); library(survival); (library(Design); cox.model=cph(Surv(futime, fustat) ~ age, data=ovarian, surv=T) str(cox.model) What I need is the total estimated time until failure (death), not the probability of failing at a given time (survival probability), or hazard etc, which is what I get from survest and predict for example. I suspect the answer is embarrassing simple... Eleni Rapsomaniki Research Associate Strangeways Research Laboratory Department of Public Health and Primary Care [[alternative HTML version deleted]]
Eleni Rapsomaniki
2009-Feb-16 13:49 UTC
[R] How do i compute predicted failure time from a cox model?
Given a cox model: ? library(Hmisc); library(survival); (library(Design); cox.model=cph(Surv(futime,? fustat) ~ age, data=ovarian, surv=T) str(cox.model) ? What I need is the total estimated time until failure (death), not the probability of failing at a given time (survival probability), or hazard etc, which is what I get from survest and predict for example. ? I suspect the answer is embarrassing simple... (BTW sorry for the duplicate email, the earlier HTML version of my message could not be viewed) Eleni Rapsomaniki ? Research Associate Strangeways Research Laboratory Department of Public Health and Primary Care ? ? ?