Displaying 1 result from an estimated 1 matches for "childrensmerci".
Did you mean:
childrensmercy
2011 Jul 10
1
Package "survival" --- Difference of coxph strata with subset?
[code]>require("survival")
> coxph(Surv(futime,fustat)~age + strata(rx),ovarian)
Call:
coxph(formula = Surv(futime, fustat) ~ age + strata(rx), data = ovarian)
coef exp(coef) se(coef) z p
age 0.137 1.15 0.0474 2.9 0.0038
Likelihood ratio test=12.7 on 1 df, p=0.000368 n= 26, number of events= 12
> coxph(Surv(futime,fustat)~age, ovarian, subset=rx==1)