Chang Liu
2008-May-12 18:24 UTC
[R] what kind of residuals are the ones calculated in coxph?
Hi Gurus: In the coxph() objects in Survival package, there is an attribute called residuals. Usually, there are several kinds for censored survival data. I can't seem to find in the documentation as to which one this is calculating. Anyone knows? Karen _________________________________________________________________ [[alternative HTML version deleted]]
Roland Rau
2008-May-13 14:24 UTC
[R] what kind of residuals are the ones calculated in coxph?
Hi Karen, those are martingale residuals. You don't have to be a Guru to find it out. Did you check ?coxph Under values it tells you "an object of class "coxph". See coxph.object for details." So you can ask for help for coxph.object ?coxph.object and then you will see among the components: residuals the martingale residuals. I hope this helps, Roland Chang Liu wrote:> Hi Gurus: > > In the coxph() objects in Survival package, there is an attribute called residuals. Usually, there are several kinds for censored survival data. I can't seem to find in the documentation as to which one this is calculating. Anyone knows? > > Karen > _________________________________________________________________ > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >