Ka Shing Centre, Robinson Way.
Cambridge CB2 0RE
England
From: Therneau, Terry M., Ph.D. [thern...@mayo.edu]
Sent: Wednesday, January 29, 2014 2:35 PM
To: Oscar Rueda; r-help@r-project.org
Subject: Re: [R] anova.coxph with subsets of data
--- begin
--- begin included message ---
But If I do
fit <- coxph(Surv(futime, fustat) ~ resid.ds *rx + ecog.ps, data = ovarian,
subset=ovarian$age>50)
anova(fit)
fit2 <- coxph(Surv(futime, fustat) ~ resid.ds +rx + ecog.ps, data=ovarian,
subset=ovarian$age>50)
anova(fit2,fit)
The first p-value s
cs.
University of Cambridge. Cancer Research UK Cambridge Institute.
Li Ka Shing Centre, Robinson Way.
Cambridge CB2 0RE
England
From: David Winsemius [dwinsem...@comcast.net]
Sent: Wednesday, January 29, 2014 12:10 AM
To: Oscar Rueda
Cc: r-help@r-proj
On Jan 28, 2014, at 10:32 AM, Oscar Rueda wrote:
> Dear list,
> I'm using the rms package to fit some Cox models. I run anova() on them to
> obtain sequential p-values, but I'm getting strange results when I run it on
> a subset of the data.
>
> Following the example on the help page of anov
Dear list,
I'm using the rms package to fit some Cox models. I run anova() on them to
obtain sequential p-values, but I'm getting strange results when I run it on a
subset of the data.
Following the example on the help page of anova.coxph:
> library(rms)
> data(ovarian)
> fit <- coxph(Surv(fut
5 matches
Mail list logo