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]]
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]]