Hi, thank you all for those who helped me on prediction of newdata for
linear model,
 it is my new question on the prediction of coxph for newdata, for example,

i have the model:

coxout<-coxph( Surv(time, status) ~ x

predict(coxout) will give the fitted values

I have tried predict(coxout, newdata), it still gave me the fitted values
only.

Can anyone hlep me on how to do prediction for coxph? thank you very much!

Lisa

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to