The Cox Model

Survival Analysis in R

Heidi Seibold

Statistician at LMU Munich

Why use a Cox model?

$\rightarrow$ semiparametric model

$\rightarrow$ less strict distributional assumptions

Survival Analysis in R

The proportional hazards assumption

Not possible:

Survival Analysis in R

Computing the Cox model

Cox model:

cxmod <- coxph(Surv(time, cens) ~ horTh, 
               data = GBSG2)
coef(cxmod)
horThyes 
-0.3640099 

Weibull model:

wbmod <- survreg(Surv(time, cens) ~ horTh, 
                 data = GBSG2)
coef(wbmod)
(Intercept)    horThyes 
  7.6084486   0.3059506
Survival Analysis in R

Let's practice computing Cox models

Survival Analysis in R

Preparing Video For Download...