Survival Competing Risk
Survival Competing Risk
Janne Pitkäniemi
Tampere University
1 / 29
Points to be covered
2 / 29
Survival time time to event
Time spent (lex.dur) in a given state (lex.Cst) from its beginning till a
certain endpoint or outcome event (lex.Xst) or transition occurs, changing the
state to another.
3 / 29
Ex. Survival of 338 oral cancer patients
Important variables:
Special features:
4 / 29
Set-up of classical survival analysis
▶ Two-state model: only one type of event changes the initial state.
Transition
Alive Dead
-
(lex.Xst = 1 or 2)
▶ Censoring: Death and nal lifetime not observed for some subjects due to
emigration or closing the follow-up while they are still alive
5 / 29
Distribution concepts: hazard function
6 / 29
Distribution concepts: survival and cumulative hazard functions
Survival function
( ) = P (T > t ),
S t
= probability of avoiding the event at least up to t (the event occurs only after t ).
one to one connections between the functions, cumulative incidence function, survival
and cumulative hazard:
F (t ) = 1 − S (t )
S (t ) = exp{−Λ(t )}
7 / 29
Observed data on survival times
δi = 1{T <U } ,
i i
indicator (1/0) for the outcome event occurring rst, before
censoring.
8 / 29
Approaches for analysing survival time
n
Y
L = λ(yi )δ S (yi )
i
i =1
9 / 29
R package survival
Tools for analysis with one outcome event.
▶ Surv(time, event) -> sobj
creates a survival object sobj assuming that all start at 0, containing pairs (y , δ ),
i i
Male
Proportion
0.6
0.4
0.2
0.0
0 5 10 15 20
12 / 29
Competing risks model: causes of death
▶ Often the interest is focused on the risk or hazard of dying from one specic
cause.
λ1 (t )
1 Dead from cancer
(lex.Xst = 1)
(lex.Cst = 0)
Alive
(lex.Xst = 0) PP
PP
PP
q Dead, other causes
λ2 (t ) (lex.Xst = 2)
In many epidemiological and clinical contexts there are competing events that
may occur before the target event and remove the person from the population at
risk for the event, e.g.
14 / 29
Event-specic quantities
Fc (t ) = (
P T ≤t and C = c ), c = 1, 2,
▶
P
( )=
F t
c Fc (t ), CDF of event-free survival time T , i.e. cumulative risk of
any event by t .
15 / 29
Event-specic quantities (cont'd)
CIF = risk of event c over risk period [0, t ] in the presence of competing risks,
also obtained Z t
F c (t ) = λc (v )S (v )dv , c = 1, 2,
0
16 / 29
Warning of net risk and cause-specic survival
▶ ∗
In clinical survival studies, function S1 (t ) is often called cause-specic
survival , or net survival
▶ ∗ ∗
Yet, these *-functions, F1 (t ) and S1 (t ), lack proper probability
interpretation when competing risks exist.
▶ Hence, their use should be viewed critically (Andersen & Keiding, Stat Med,
2012)
17 / 29
Analysis with competing events
▶ Let t1 < t2 < · · · < tK be the K distinct time points at which any outcome
event was observed,
18 / 29
R tools for competing risks analysis
19 / 29
Box diagram for transitions
NOTE: entry.status has been set to "Alive" for all.
NOTE: entry is assumed to be 0 on the stime timescale.
Alive
1,913.7
122
107
Oral ca. death
Other death
20 / 29
Ex. Survival from oral cancer
▶ AJ-estimates of CIFs (solid) for both causes.
▶ Naive KM-estimates of CIF (dashed) > AJ-estimates
▶ CIF curves may also be stacked (right).
CIF for cancer death CIF for other deaths Stacked CIF
1.0
1.0
1.0
A−J
KM
Alive 0.22
0.8
0.8
0.8
0.6
0.6
0.6
Cumulative incidence
Cumulative incidence
Cumulative incidence
Other death 0.38
0.4
0.4
0.4
0.2
0.2
0.2
Oral ca death 0.4
0.0
0.0
0.0
0 5 10 15 20 0 5 10 15 20 0 5 10 15 20
21 / 29
Time Time Time
Ex. CIFs by cause in men and women
0.6 CIF for cancer death CIF for other death
0.6
0.5
0.5
0.4
0.4
Cumulative incidence
Cumulative incidence
0.3
0.3
0.2
0.2
0.1
0.1
0.0
0 5 10 15 20 0.0 0 5 10 15 20
Time Time
CIF for cancer higher in women (chance?) but for other causes higher in men (no
surprise).
22 / 29
Regression models for time-to-event data
23 / 29
Relative hazards model or Cox model
In model (b), the baseline hazard λ0 (t , α) may be given a parametric form (e.g.
Weibull) or a piecewise constant rate (exponential) structure.
λi (t ) = λ0 (t ) exp(η1 ),
24 / 29
PH model: interpretation of parameters
λi (t ) = λ0 (t ) exp(β1 xi 1 + · · · + βp xip )
′
Consider two individuals, i and i , having the same values of all other covariates
th
except the j one.
λi (t ) exp(ηi )
= = exp{βj (xij − xi ′ j )}.
λi ′ ( t ) exp(ηi ′ )
Thus e
βj
= HRj = hazard ratio or relative rate associated with a unit change in
covariate Xj .
25 / 29
Ex. Total mortality of oral ca. patients
Fitting Cox models with sex and sex + age.
▶ Individual survival times cannot be predicted but ind'l survival curves can.
PH model implies:
exp(β1 x 1 +...+β x )
i (t ) = [S0 (t )] i p ip
S
▶ From these, a survival curve for an individual with given covariate values is
predicted.
27 / 29
Modelling with competing risks
(a) Cox model for event-specic hazards λc (t ) = fc (t )/[1 − F (t )], when e.g.
the interest is in the biological eect of the prognostic factors on the fatality
of the very disease that often leads to the relevant outcome.
28 / 29
SMR
Let
29 / 29