Skip to content
Prev 5872 / 398506 Next

SV: [R] Kaplan-Meier for left truncated data?

summary of "How do I ask for the 'baseline hazard' of a coxph fit??"

Thank you to Thomas Lumley, Brian Ripley, G?ran Bodstr?m and Bendix Cartensen for their tips to use 
plot(survfit(a.coxph.fit)). Thomas Lumley suggests that to get the "real baseline hazard" I should use
-log(survfit(a.coxph.fit)$surv) and set all covariates=0
in which case I need to supply these values to survfit. But how do you supply covariate values to survfit?
Shouldn't  they be supplied to coxph in some way?

Fredrik Lundgren

"Thomas Lumley wrote may 26 2000 "
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._