Displaying 1 result from an estimated 1 matches for "colondeath".
2008 Jan 08
1
Problem in anova with coxph object
Dear R users,
I noticed a problem in the anova command when applied on
a single coxph object if there are missing observations in
the data:
This example code was run on R-2.6.1:
> library(survival)
> data(colon)
> colondeath = colon[colon$etype==2, ]
> m = coxph(Surv(time, status) ~ rx + sex + age + perfor, data=colondeath)
> m
Call:
coxph(formula = Surv(time, status) ~ rx + sex + age + perfor,
data = colondeath)
coef exp(coef) se(coef) z p
rxLev -0.028895 0.972 0.11037 -0...