Skip to content
Back to formatted view

Raw Message

Message-ID: <49A56A30.1060407@dlr.de>
Date: 2009-02-25T15:56:32Z
From: Bernhard Reinhardt
Subject: survival::predict.coxph

Hi,

if I got it right then the survival-time we expect for a subject is the 
integral over the specific survival-function of the subject from 0 to t_max.

If I have a trained cox-model and want to make a prediction of the 
survival-time for a new subject I could use
survfit(coxmodel, newdata=newSubject) to estimate a new 
survival-function which I have to integrate thereafter.

Actually I thought predict(coxmodel, newSubject) would do this for me, 
but I?m confused which type I have to declare. If I understand the 
little pieces of documentation right then none of the available types is 
exactly the predicted survival-time.
I think I have to use the mean survival-time of the baseline-function 
times exp(the result of type linear predictor).

Am I right?

Regards

Bernhard