25
Introduction TG8 plan Competing risks On some practical issues in the analysis of survival data On behalf of STRATOS TG8 Maja Pohar Perme IBMI, University of Ljubljana STRATOS mini-symposium, ISCB, 2016

On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

On some practical issues in the analysis ofsurvival data

On behalf of STRATOS TG8

Maja Pohar Perme

IBMI, University of Ljubljana

STRATOS mini-symposium, ISCB, 2016

Page 2: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

The plan of this talk

TG8 members

Michal AbrahamowiczPer Kragh AndersenRichard CookPierre Joly

Torben MartinussenMaja Pohar PermeJeremy TaylorTerry Therneau

Outline

a few well known facts of survival analysisan outline of TG8 plancompeting risks

Page 3: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Survival analysis

Data evolving in time

Target population and censoring

Inference: parameters in the population, estimated on a sampleSurvival analysis: parameters in the population - complete data (S(t), h(t))Sample: censored data (incomplete data)The goal: drawing inference for population parameters based onincomplete data.Assumption: independent censoring

Page 4: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Independent censoring

individuals censored at any given time t should not be a biased subsampleof those who are at risk at time t .the extra information that the subject is not only alive, but also uncensoredat time t does not change the hazard:

h(t) ≈P(T∗ ≤ t + dt |T∗ > t)

dt=

P(T∗ ≤ t + dt |T∗ > t ,C > t)dt

Page 5: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Inference with independent censoring

For independent observations (Ti , δi ), where Ti = min(T∗i ,Ci ) and

δi = I(T∗i < Ci ), the likelihood can be expressed via the hazard (and

cumulative hazard H) functions:

L(θ) =∏

i

hθ(Ti )δi e−Hθ(Ti )

This is the basis for the Nelson-Aalen estimator for H and Cox partiallikelihoodUsing the relations between S and H leads to Kaplan-Meier estimator

Page 6: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

TG8 plan

Level 2 papers

Single endpointMultiple endpoints

Level 2 papers

Avoiding pitfallsChecking assumptionsUsing state-of-the-art methods

Page 7: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

TG8 plan

Single endpoint

The censoring assumptionCox model - check PH, functional formtime-varying covariates, time-dependent coefficientsAlternatives to Cox models (AFT, cure models ...)

Page 8: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

Patients on chemotherapy. Do treatment side effects improve the prognosis?

Time 0: start of chemotherapy. With time, some patients develop sideeffects.Available data: patients followed for 5 years, some developed side effects,some did not (0/1 variable)

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

Patients with side effects immortal between time 0 and time of side effects

Page 9: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

Patients on chemotherapy. Do treatment side effects improve the prognosis?

Time 0: start of chemotherapy. With time, some patients develop sideeffects.Available data: patients followed for 5 years, some developed side effects,some did not (0/1 variable)

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

Patients with side effects immortal between time 0 and time of side effects

Page 10: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

Patients on chemotherapy. Do treatment side effects improve the prognosis?

Time 0: start of chemotherapy. With time, some patients develop sideeffects.Available data: patients followed for 5 years, some developed side effects,some did not (0/1 variable)

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

Patients with side effects immortal between time 0 and time of side effects

Page 11: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

A time-varying covariate

Solution?A hazard regression model with a time-varying covariate

Conditional survival

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

It takes time to measure time ...

... and things can happen in between.

Page 12: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

A time-varying covariate

Solution?A hazard regression model with a time-varying covariateConditional survival

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

It takes time to measure time ...

... and things can happen in between.

Page 13: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Immortal time bias

A time-varying covariate

Solution?A hazard regression model with a time-varying covariateConditional survival

0 1 2 3 4 5

0.0

0.2

0.4

0.6

0.8

1.0

Time (years)

Sur

viva

l

Group 1

Group 0

It takes time to measure time ...

... and things can happen in between.

Page 14: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

TG8 plan

Multiple endpoints

Alive

Disease

Death

���*

HHHj

Introduction to multistate models:competing risksillness-death modelgeneral multistate model

Aalen Johansen estimator (no covariates)

Regression:Cause-specific hazard models (modelling hazard)Fine-Gray model (modelling probability)

Extensions (recurrent events, ...)

Page 15: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

TG8 plan

Multiple endpoints

Alive

Disease

Death

���*

HHHj?

Introduction to multistate models:competing risksillness-death modelgeneral multistate model

Aalen Johansen estimator (no covariates)

Regression:Cause-specific hazard models (modelling hazard)Fine-Gray model (modelling probability)

Extensions (recurrent events, ...)

Page 16: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

TG8 plan

Multiple endpoints

Alive Disease

Death

Tx

-

SSw

��7

��/

SSo

Introduction to multistate models:competing risksillness-death modelgeneral multistate model

Aalen Johansen estimator (no covariates)

Regression:Cause-specific hazard models (modelling hazard)Fine-Gray model (modelling probability)

Extensions (recurrent events, ...)

Page 17: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Competing risks, multistate models

Same ideas, but care needed

Everything can be defined via hazard functionsCox model can still be used for modelling hazard functionsNo one-to-one relationship between hazard and survivalMore difficult to state what is of interest

Page 18: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Competing risks example

Survival of patients on dialysis

Time 0: kidney failure, start of dialysisEvents: death (the event of interest), kidney transplantNot everyone experiences the event of interest in the complete dataTransplants are a competing risk, patients are not randomly transplantedPatients with best prognosis get transplantedIf these patients are considered as censored, survival gets underestimated

Page 19: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Single endpoint

Alive10

Dead-h(t)

In the population (complete observation):

Every one ends up in state 1The probability of being in state 1 by time t is given uniquely from thehazard:

F (t) = 1− S(t) = 1− exp(−H(t))

Page 20: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Competing risks

Alive0

Dead2

QQQQQQs

Transplanted1

������3

h1(t)

h2(t)

Several events can happenEven in the population, not every one experiences the same eventEven if only one event is of interest, one cannot see others as ’independentcensoring’

Page 21: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Relationship between rates and risks

Both rates are needed to compute one risk

Cause-specific hazards j = 1, 2:

hj (t) ≈P(state j by time t + dt | state 0 time t)

dt

Overall survival function:

S(t) = P(alive at time t) = e−[H1(t)+H2(t)]

Probability of experiencing event j at time u

P(state j at time u) ≈ S(u−)hj (u)du

Cumulative incidence function for event j

Fj (t) = P(state j by time t) =∫ t

0S(u−)hj (u)du

Page 22: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Inference

The likelihood function

For independent observations (Ti , δi · Di ), where Di =final state,Ti = min(T∗

i ,Ci ) δi = I(T∗i < Ci ), the likelihood may again be expressed via

the hazard (and cumulative hazard H) functions:

L(θ) =∏

i

h1θ(Ti )δi I(Di=1)h2θ(Ti )

δi I(Di=2)e−H1θ(Ti )−H2θ(Ti )

This likelihood can be factorized as:

L(θ) =∏

i

h1θ(Ti )δi I(Di=1)e−H1θ(Ti )

∏i

h2θ(Ti )δi I(Di=2)e−H2θ(Ti )

Page 23: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Inference

Consequence of the factorization

If the model uses different parameters for different hazards - hazardregression analysis can be performed by censoring the other causeHazards can be modeled by censoring the other risk, for probabilities, bothare neededDistinction between hazard rate and probability of an event (equal in singleevent case)

Page 24: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Back to dialysis example

What is the interest of the analysis?

How many patients are still on dialysis after 5 years: overall survivalProbability of dying in 5 years: cumulative incidence functionIs one type of dialysis (PD, HD) safer than the other: model hazards

In general

To describe the fraction ending in a state: cumulative incidence functionTo understand the mechanisms by which subjects may fail: hazardsBoth can be useful for a complete description of the competing riskssituation

Page 25: On some practical issues in the analysis of survival datastratos-initiative.org/sites/default/files/ISCB16-Pohar-TG8.pdf · On some practical issues in the analysis of survival data

Introduction TG8 plan Competing risks

Concluding remarks

The TG8 plan

Single endpoint and multistate models

Avoiding the common pitfalls:Mistaking competing risks for censoringNot recognizing a time-varying covariate

Distinction between hazard rates and probabilities in multistate models

TG8 members

Michal AbrahamowiczPer Kragh AndersenRichard CookPierre Joly

Torben MartinussenMaja Pohar PermeJeremy TaylorTerry Therneau