Re: [R] variance explained in a cox ph model

2012-02-22 Thread Federico Calboli
On 22 Feb 2012, at 14:01, Terry Therneau wrote: > --- begin included message --- > I have a left truncated, right censored cox model: > > coxph(Surv(start, stop, censor) ~ x + y, mydata) > > I would like to know how much of the observed variance (as a number > between 0 and 1) is explained by ea

Re: [R] variance explained in a cox ph model

2012-02-22 Thread Terry Therneau
--- begin included message --- I have a left truncated, right censored cox model: coxph(Surv(start, stop, censor) ~ x + y, mydata) I would like to know how much of the observed variance (as a number between 0 and 1) is explained by each variable. How could I do that? Adding terms sequentially an

[R] variance explained in a cox ph model

2012-02-21 Thread Federico Calboli
Hi All, I have a left truncated, right censored cox model: coxph(Surv(start, stop, censor) ~ x + y, mydata) I would like to know how much of the observed variance (as a number between 0 and 1) is explained by each variable. How could I do that? Adding terms sequentially and then using anova(