Min-Han Tan wrote:
Hi,

Sorry to trouble the list. I have a problem which I'm not sure how to resolve.

I have a Cox model with 1 independent variable with 2 categories (and
thus 2 survival curves on plotting survfit)

How can I get an estimate of survival for each category at a
particular time point, with standard error?
Looking through ?cph and ?coxph, I'm not quite sure how to go about
that. I would really appreciate any direction here.


Thanks a million!

Min-Han

The survest function in the Design package makes this easy. You can also probably do it without a lot of hassle using standard survival package routines. With survest you can easily specify covariate combinations for which to obtain predictions.


--
Frank E Harrell Jr   Professor and Chair           School of Medicine
                     Department of Biostatistics   Vanderbilt University

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to