0

我的 cox 回归模型的协变量之一有 3 个类别:0、1、2。当我运行模型时,结果只显示一个风险比。我了解 R 仅将 1 和 2 与 0(基线)进行比较?有没有办法可以比较 0 和 1、0 和 2、1 和 2,都在我的模型中?

谢谢

    model <- coxph(Surv(time1, time2, treatment) 
               ~ period, data = two, ties="efron")
summary(model)

Results:
     coef exp(coef) se(coef)     z Pr(>|z|)
period 0.2225    1.2491   0.1764 1.261    0.207

       exp(coef) exp(-coef) lower .95 upper .95
period     1.249     0.8005     0.884     1.765
4

0 回答 0