Message-ID: <4188EF1F.2070409@vanderbilt.edu>
Date: 2004-11-03T14:45:51Z
From: Frank E Harrell Jr
Subject: Estimating survival?
In-Reply-To: <7902152a04110218062993bcdd@mail.gmail.com>
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