[R] calculating martingale residual on new data using "predict.coxph"

Shi, Tao shidaxia at yahoo.com
Fri Nov 19 18:32:33 CET 2010

Hi list,

I was trying to use "predict.coxph" to calculate martingale residuals on a test 
data, however, as pointed out before


predict(mycox1, newdata, type="expected") is not implemented yet.  Dieter 
suggested to use 'cph' and 'predict.Design', but from my reading so far, I'm not 
sure they can do that.

Do you other ways to calculate martingale residuals on a new data?

Thank you very much!


More information about the R-help mailing list