Thank you very much! I am analyzing software stress test data using R, and fiting data by coxph. I think the survfit.coxph can give the estimated baseline survival S_0(t_i), and we can calculated the survival S(t_i) by using S_0(t_i) and the x(t_i).
Then can I use the function lambda={S(t_(i-1))-S(t_i)}/S(t_(i-1)) to calculate the hazard at time t_i ? Koshihaku -- View this message in context: http://r.789695.n4.nabble.com/How-does-the-survfit-coxph-calculate-the-survival-value-tp3847179p3853923.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.