R 中的生存分析
Heidi Seibold
Statistician at LMU Munich
$\rightarrow$ 半参数模型
$\rightarrow$ 分布假设更宽松

不满足时:

Cox 模型:
cxmod <- coxph(Surv(time, cens) ~ horTh,
data = GBSG2)
coef(cxmod)
horThyes
-0.3640099
Weibull 模型:
wbmod <- survreg(Surv(time, cens) ~ horTh,
data = GBSG2)
coef(wbmod)
(Intercept) horThyes
7.6084486 0.3059506
R 中的生存分析