Empirical Transition Matrix of Multistate Models: The etm Package - - PowerPoint PPT Presentation

empirical transition matrix of multistate models the etm
SMART_READER_LITE
LIVE PREVIEW

Empirical Transition Matrix of Multistate Models: The etm Package - - PowerPoint PPT Presentation

Introduction Package Description Illustration Summary Empirical Transition Matrix of Multistate Models: The etm Package Arthur Allignol 1 , 2 , Martin Schumacher 2 Jan Beyersmann 1 , 2 1 Freiburg Center for Data Analysis and Modeling,


slide-1
SLIDE 1

Introduction Package Description Illustration Summary

Empirical Transition Matrix

  • f Multistate Models:

The etm Package

Arthur Allignol1,2,∗ Martin Schumacher2 Jan Beyersmann1,2

1Freiburg Center for Data Analysis and Modeling, University of Freiburg 2Institute of Medical Biometry and Medical Informatics, University Medical Center Freiburg ∗arthur.allignol@fdm.uni-freiburg.de

DFG Forschergruppe FOR 534

1

slide-2
SLIDE 2

Introduction Package Description Illustration Summary

Introduction

◮ Multistate models provide a relevant modelling framework for

complex event history data

◮ MSM: Stochastic process that at any time occupies one of a set of

discrete states

◮ Health conditions ◮ Disease stages Allignol A. etm Package 2

slide-3
SLIDE 3

Introduction Package Description Illustration Summary

Introduction

◮ Multistate models provide a relevant modelling framework for

complex event history data

◮ MSM: Stochastic process that at any time occupies one of a set of

discrete states

◮ Health conditions ◮ Disease stages

◮ Data consist of:

◮ Transition times ◮ Type of transition

◮ Possible right-censoring and/or left-truncation

Allignol A. etm Package 2

slide-4
SLIDE 4

Introduction Package Description Illustration Summary

Introduction

◮ Survival data

1

Allignol A. etm Package 3

slide-5
SLIDE 5

Introduction Package Description Illustration Summary

Introduction

◮ Illness-death model with recovery

1 2

Allignol A. etm Package 3

slide-6
SLIDE 6

Introduction Package Description Illustration Summary

Introduction

◮ Time-inhomogeneous Markov process Xt∈[0,+∞)

◮ Finite state space S = {0, . . . , K} ◮ Right-continuous sample paths Xt+ = Xt Allignol A. etm Package 4

slide-7
SLIDE 7

Introduction Package Description Illustration Summary

Introduction

◮ Time-inhomogeneous Markov process Xt∈[0,+∞)

◮ Finite state space S = {0, . . . , K} ◮ Right-continuous sample paths Xt+ = Xt

◮ Transition hazards

αij(t)dt = P(Xt+dt = j | Xt = i), i, j ∈ S, i = j

◮ Completely describe the multistate process Allignol A. etm Package 4

slide-8
SLIDE 8

Introduction Package Description Illustration Summary

Introduction

◮ Time-inhomogeneous Markov process Xt∈[0,+∞)

◮ Finite state space S = {0, . . . , K} ◮ Right-continuous sample paths Xt+ = Xt

◮ Transition hazards

αij(t)dt = P(Xt+dt = j | Xt = i), i, j ∈ S, i = j

◮ Completely describe the multistate process

◮ Cumulative transition hazards

Aij(t) = t αij(u)du

Allignol A. etm Package 4

slide-9
SLIDE 9

Introduction Package Description Illustration Summary

Introduction

◮ Transition probabilities

Pij(s, t) = P(Xt = j | Xs = i), i, j ∈ S, s ≤ t

Allignol A. etm Package 5

slide-10
SLIDE 10

Introduction Package Description Illustration Summary

Introduction

◮ Transition probabilities

Pij(s, t) = P(Xt = j | Xs = i), i, j ∈ S, s ≤ t

◮ Matrix of transition probabilities

P(s, t) =

(s,t]

(I + dA(u))

◮ a (K + 1) × (K + 1) matrix Allignol A. etm Package 5

slide-11
SLIDE 11

Introduction Package Description Illustration Summary

Introduction

◮ The covariance matrix is computed using the following recursion

formula:

  • cov(ˆ

P(s, t)) = {(I + ∆ˆ A(t))T ⊗ I} cov(ˆ P(s, t−)){(I + ∆ˆ A(t)) ⊗ I} + {I ⊗ ˆ P(s, t−)} cov(∆ˆ A(t)){I ⊗ ˆ P(s, t−)T}

Allignol A. etm Package 6

slide-12
SLIDE 12

Introduction Package Description Illustration Summary

Introduction

◮ The covariance matrix is computed using the following recursion

formula:

  • cov(ˆ

P(s, t)) = {(I + ∆ˆ A(t))T ⊗ I} cov(ˆ P(s, t−)){(I + ∆ˆ A(t)) ⊗ I} + {I ⊗ ˆ P(s, t−)} cov(∆ˆ A(t)){I ⊗ ˆ P(s, t−)T}

◮ Estimator of the Greenwood type ◮ Enables integrated cumulative hazards of not being necessarily

continuous

◮ Reduces to usual Greenwood estimator in the univariate setting Allignol A. etm Package 6

slide-13
SLIDE 13

Introduction Package Description Illustration Summary

Introduction

◮ The covariance matrix is computed using the following recursion

formula:

  • cov(ˆ

P(s, t)) = {(I + ∆ˆ A(t))T ⊗ I} cov(ˆ P(s, t−)){(I + ∆ˆ A(t)) ⊗ I} + {I ⊗ ˆ P(s, t−)} cov(∆ˆ A(t)){I ⊗ ˆ P(s, t−)T}

◮ Estimator of the Greenwood type ◮ Enables integrated cumulative hazards of not being necessarily

continuous

◮ Reduces to usual Greenwood estimator in the univariate setting ◮ Found to be the preferred estimator in simulation studies for survival

and competing risks data

Allignol A. etm Package 6

slide-14
SLIDE 14

Introduction Package Description Illustration Summary

In R

◮ survival and cmprsk estimate survival and cumulative incidence

functions, respectively

◮ Outputs can be used to compute transition probabilities in more

complex models when transition probabilities take an explicit form

◮ cmprsk does not handle left-truncation ◮ Variance computation “by hand” Allignol A. etm Package 7

slide-15
SLIDE 15

Introduction Package Description Illustration Summary

In R

◮ survival and cmprsk estimate survival and cumulative incidence

functions, respectively

◮ Outputs can be used to compute transition probabilities in more

complex models when transition probabilities take an explicit form

◮ cmprsk does not handle left-truncation ◮ Variance computation “by hand”

◮ mvna estimates cumulative transition hazards ◮ changeLOS computes transition probabilities

◮ Lacks variance estimation ◮ Cannot handle left-truncation Allignol A. etm Package 7

slide-16
SLIDE 16

Introduction Package Description Illustration Summary

In R

◮ survival and cmprsk estimate survival and cumulative incidence

functions, respectively

◮ Outputs can be used to compute transition probabilities in more

complex models when transition probabilities take an explicit form

◮ cmprsk does not handle left-truncation ◮ Variance computation “by hand”

◮ mvna estimates cumulative transition hazards ◮ changeLOS computes transition probabilities

◮ Lacks variance estimation ◮ Cannot handle left-truncation

= ⇒ etm

Allignol A. etm Package 7

slide-17
SLIDE 17

Introduction Package Description Illustration Summary

Package Description

◮ The main function etm

etm(data, state.names, tra, cens.name, s, t = "last", covariance = TRUE, delta.na = TRUE)

Allignol A. etm Package 8

slide-18
SLIDE 18

Introduction Package Description Illustration Summary

Package Description

◮ The main function etm

etm(data, state.names, tra, cens.name, s, t = "last", covariance = TRUE, delta.na = TRUE)

◮ 4 methods

◮ print ◮ summary ◮ plot ◮ xyplot

◮ 2 data sets

Allignol A. etm Package 8

slide-19
SLIDE 19

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ 614 patients who received allogeneic stem cell transplantation for

chronic myeloid leukaemia between 1981 and 2002

◮ All patients achieved complete remission Allignol A. etm Package 9

slide-20
SLIDE 20

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ 614 patients who received allogeneic stem cell transplantation for

chronic myeloid leukaemia between 1981 and 2002

◮ All patients achieved complete remission

◮ Patients in first relapse were offered a donor lymphocyte infusion

(DLI)

◮ Infusion of lymphocytes harvested from the original stem cell donor ◮ DLI produces durable remissions in a substantial number of patients Allignol A. etm Package 9

slide-21
SLIDE 21

Introduction Package Description Illustration Summary

Illustration: DLI Data 2 4 6 1 3 5 7 8

Alive in Remission Dead in Remission Alive in Relapse Dead in Relapse Alive with DLI Dead with DLI in Relapse Alive in Remission Dead in Remission Alive in Relapse Allignol A. etm Package 10

slide-22
SLIDE 22

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ Current leukaemia free survival (CLFS): Probability that a patient is

alive and leukaemia-free at a given point in time after the transplant

◮ Probability of being in state 0 or 6 at time t Allignol A. etm Package 11

slide-23
SLIDE 23

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ Current leukaemia free survival (CLFS): Probability that a patient is

alive and leukaemia-free at a given point in time after the transplant

◮ Probability of being in state 0 or 6 at time t

  • CLFS(t) = ˆ

P00(0, t) + ˆ P06(0, t)

Allignol A. etm Package 11

slide-24
SLIDE 24

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ Current leukaemia free survival (CLFS): Probability that a patient is

alive and leukaemia-free at a given point in time after the transplant

◮ Probability of being in state 0 or 6 at time t

  • CLFS(t) = ˆ

P00(0, t) + ˆ P06(0, t) ˆ P06(s, t) =

  • s<u≤v≤r≤t

ˆ P(s, u−)dN02(u) Y0(u) ˆ P22(u, v−) × dN24(v) Y2(v) × ˆ P44(v, r−)dN46(r) Y4(r) ˆ P66(r, t)

Allignol A. etm Package 11

slide-25
SLIDE 25

Introduction Package Description Illustration Summary

Illustration: DLI Data

◮ Current leukaemia free survival (CLFS): Probability that a patient is

alive and leukaemia-free at a given point in time after the transplant

◮ Probability of being in state 0 or 6 at time t

  • CLFS(t) = ˆ

P00(0, t) + ˆ P06(0, t)

  • var(

CLFS(t)) =

  • var(ˆ

P00(0, t)) + var(ˆ P06(0, t)) + 2 cov(ˆ P00(0, t), ˆ P06(0, t))

Allignol A. etm Package 11

slide-26
SLIDE 26

Introduction Package Description Illustration Summary

Illustration: DLI Data

> tra <- matrix(FALSE, 9, 9) > tra[1, 2:3] <- TRUE > tra[3, 4:5] <- TRUE > tra[5, 6:7] <- TRUE > tra[7, 8:9] <- TRUE > tra 1 2 3 4 5 6 7 8 0 FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE 1 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 2 FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE 3 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 4 FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE 5 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 6 FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE 7 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 8 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE > dli.etm <- etm(dli.data, as.character(0:8), tra, "cens", s = 0)

Allignol A. etm Package 12

slide-27
SLIDE 27

Introduction Package Description Illustration Summary

Illustration: DLI Data

> clfs <- dli.etm$est["0", "0", ] + dli.etm$est["0", "6", ] > var.clfs <- dli.etm$cov["0 0", "0 0", ] + + dli.etm$cov["0 6", "0 6", ] + 2 * dli.etm$cov["0 0", "0 6", ]

Allignol A. etm Package 13

slide-28
SLIDE 28

Introduction Package Description Illustration Summary

Illustration: DLI Data

> clfs <- dli.etm$est["0", "0", ] + dli.etm$est["0", "6", ] > var.clfs <- dli.etm$cov["0 0", "0 0", ] + + dli.etm$cov["0 6", "0 6", ] + 2 * dli.etm$cov["0 0", "0 6", ]

5 10 15 20 0.0 0.2 0.4 0.6 0.8 1.0 Year Probability

CLFS LFS Allignol A. etm Package 13

slide-29
SLIDE 29

Introduction Package Description Illustration Summary

Summary

◮ etm provides a way to easily estimate and display the matrix of

transition probabilities from multistate models

◮ Permits to compute interesting quantities that depend on the matrix

  • f transition probabilities

◮ Empirical transition matrix valid under the Markov assumption

◮ Stage occupation probability estimates still valid for more general

models

Allignol A. etm Package 14

slide-30
SLIDE 30

Introduction Package Description Illustration Summary

Bibliography

Allignol, A., Schumacher, J. and Beyersmann, J. (2009). A note on variance estimation of the Aalen-Johansen Estimator of the cumulative incidence function in competing risks, with a view towards left-truncated data. Under revision. Andersen, P. K., Borgan, O., Gill, R. D. and Keiding, N. (1993). Statistical Models Based on Counting Processes. Springer-Verlag, New-York. Datta, S. and Satten, G. A. (2001). Validity of the Aalen-Johansen Estimators of Stage Occupation Probabilities and Nelson-Aalen Estimators of Integrated Transition Hazards for non-Markov Models. Statistics & Probability Letters, 55:403–411. Klein, J. P., Szydlo, R. M., Craddock, C. and Goldman, J. M. (2000) Estimation of Current Leukaemia-Free Survival Following Donor Lymphocyte Infusion Therapy for Patients with Leukaemia who Relapse after Allografting: Application of a Multistate Model Statistics in Medicine, 19:3005–3016. ◮ Thanks to Mei-Jie Zhang (Medical College of Wisconsin) for providing us

with the DLI data

Allignol A. etm Package 15

slide-31
SLIDE 31

Introduction Package Description Illustration Summary

Empirical Transition Matrix

◮ A(t) the matrix of cumulative transition hazards

Allignol A. etm Package 16

slide-32
SLIDE 32

Introduction Package Description Illustration Summary

Empirical Transition Matrix

◮ A(t) the matrix of cumulative transition hazards

◮ Non-diagonal entries estimated by the Nelson-Aalen estimator

ˆ Aij(t) =

  • tk≤t

∆Nij(tk) Yi(tk) , i = j

Allignol A. etm Package 16

slide-33
SLIDE 33

Introduction Package Description Illustration Summary

Empirical Transition Matrix

◮ A(t) the matrix of cumulative transition hazards

◮ Non-diagonal entries estimated by the Nelson-Aalen estimator

ˆ Aij(t) =

  • tk≤t

∆Nij(tk) Yi(tk) , i = j

◮ Diagonal entries

ˆ Aii(t) = −

  • j=i

ˆ Aij(t)

Allignol A. etm Package 16

slide-34
SLIDE 34

Introduction Package Description Illustration Summary

Empirical Transition Matrix

◮ Empirical transition matrix

ˆ P(s, t) =

(s,t]

(I + d ˆ A(u))

Allignol A. etm Package 17

slide-35
SLIDE 35

Introduction Package Description Illustration Summary

Empirical Transition Matrix

◮ Empirical transition matrix

ˆ P(s, t) =

(s,t]

(I + d ˆ A(u))

◮ ˆ

A(t) is a matrix of step-functions with a finite number of jumps on (s, t] ˆ P(s, t) =

  • s<tk≤t
  • I + ∆ˆ

A(tk)

  • ◮ ∆ˆ

A(t) = ˆ A(t) − ˆ A(t−)

Allignol A. etm Package 17

slide-36
SLIDE 36

Introduction Package Description Illustration Summary

DLI Example

Current Leukaemia Free Survival

5 10 15 20 0.0 0.2 0.4 0.6 0.8 1.0 Time Current Leukaemia Free Survival

Early Late

Allignol A. etm Package 18