Displaying 1 result from an estimated 1 matches for "newsubject".
Did you mean:
newobject
2009 Feb 25
3
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...