On Dec 19, 2011, at 10:05 PM, Bill Hyman wrote:
Dear all,
Does any one know how to calculate the risk (death rate) at some
time point (say 5 yrs) based on Kaplan-Meier curve in coxph model in
R? I know how to fit the survival data with coxph. But need to
calculate risk at some time point. Many thanks.
Have you looked at either:
?survfit.coxph
?predict.coxph # with type ="expected"
This seems to be a particularly common question this week. Is there
some sort of class project that is due before the holidays?
--
David Winsemius, MD
West Hartford, CT
______________________________________________
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.