Skip to content
Prev 350238 / 398506 Next

Predict in glmnet for Cox family

On 04/21/2015 05:00 AM, r-help-request at r-project.org wrote:
The answer is that you cannot predict survival time, in general.  The reason is that most 
studies do not follow the subjects for a sufficiently long time.  For instance, say that 
the data set comes from a study that enrolled subjects and then followed them for up to 5 
years, at which time 35% had experienced mortality (using the usual Kaplan-Meier).  Fit a 
model to the data and ask "what is the predicted survival time for a low risk subject". 
The answer will at best be "greater than 5 years".   The program cannot say if it is 6 or 
10 or even 1000.  A bigger data set does not help.

Terry Therneau