[R] calculating martingale residual on new data using "predict.coxph"
Shi, Tao
shidaxia at yahoo.com
Tue Nov 23 02:33:22 CET 2010
Thank you, Terry!
----- Original Message ----
> From: Terry Therneau <therneau at mayo.edu>
> To: "Shi, Tao" <shidaxia at yahoo.com>
> Cc: r-help at r-project.org; dieter.menne at menne-biomed.de; r_tingley at hotmail.com
> Sent: Mon, November 22, 2010 6:11:15 AM
> Subject: Re: calculating martingale residual on new data using
"predict.coxph"
>
> This feature has been added in survival 2.36-1, which is now on CRAN.
> (2.36-2 should appear in another day or so)
> Terry T.
>
> ---------begin included message --------
> I was trying to use "predict.coxph" to calculate martingale residuals on
> a test
> data, however, as pointed out before
>
> http://tolstoy.newcastle.edu.au/R/e4/help/08/06/13508.html
>
> predict(mycox1, newdata, type="expected") is not implemented yet.
>
>
More information about the R-help
mailing list