Professional Documents
Culture Documents
Andrew Hooker
2
Time to Event Examples
• Time to:
– hospitalization
– discharge from hospitals
– cardiovascular death
– progression (cancer, HIV/AIDS)
– a side effect (e.g. nausea)
– drop-out from study
(often subsetted by reason)
3
Objectives of Time To Event
analysis
• To estimate the impact of predictors on the
time-to-event:
– between two or more groups, such as
treated vs. placebo MI patients in a
randomized controlled trial
– of continuous covariates, such as:
weight, blood pressure, cholesterol or drug
4
Definitions
• TTE= time to event
the event occurs once per individual
5
The survival time response
• Usually continuous
• Time variable:
ti = time of observation
• Event variable:
DVi =1 if there was an event
DVi =0 if no event by time ti (censored)
7
ID TIM DV
E
TTE data 1 5.2 1
2 10 0
No event,
Right censored
(ti=10, DVi=0)
ID 2
Time to event
(ti=5.2, DVi=1)
End of
1
experiment
5.2 10
time 8
Interval Censoring in ID TIM
E
DV
TTE 1 7.5 1
2 10 0
Potential measurement
times
True, unknown
event time
ID 2
2.5 5 7.5 10
time 9
ID TIM DV
E
RTTE data 1 5.2 1
1 8 1
No 1st event, 1 10 1
Right censored 2 7.7 1
3 2 10 0
3 10 0
ID 2
No 2nd event,
1 Right censored
5.2 10
time 10
TTE analysis - Definitions
• Survival function= S(t)
– the probability of individual survival beyond
time t
S (t ) = Pr(T > t )
• Cumulative distribution function F(t)
– The probability of individual having an event
before, or at, time t
F (t ) = Pr(T £ t ) = 1 - S (t )
t is some time, T is a random variable denoting the time of event 11
Survival function - S(t)
• Parametric
• All components of S(t) model-based
12
Kaplan-Meier curves
Parametric confidence
interval
Handles
censoring
13
Kaplan-Meier analysis
Differences tested using the Logrank test
14
Limitations of Kaplan-Meier
• Mainly descriptive
15
Models for survival functions
• Often based on the hazard function, h(t)
– The instantaneous rate at which events occur
– The instantaneous risk of demise at time t,
conditional on survival to that time
Pr[(t £ T < t + Dt ) | T ³ t ]
h(t ) = lim
Dt ® 0 Dt
16
Your mortality is a “bathtub
hazard”…
17
Slide compliments of Nick Holford
With the Hazard we can model all
types of (R)TTE data…
• Probability of surviving beyond a time t
(right censored data, ti=t, DVi =0):
t
S (t ) = exp(- ò h(u ) ¶u )
0
Pr(t £ T < t + Dt )
f (t ) = lim = h(t ) S (t )
Dt ¾¾
®0 Dt
18
With the Hazard we can model all
types of (R)TTE data…(2)
Probability of having an event within ti-1 and ti
(Interval censored data, ti-1≤t≤ti, DVi =1):
19
Relations
f (t ) d S '(t )
Hazard: h(t) = = - ln S (t ) = -
S (t ) dt S (t )
t
ò
( - h ( u ) du ) ¥
Survival S(t) = e 0
= ò f (u )du
t
dS (t ) d
Density f (t ) = h(t ) S (t ) = - = F (t )
dt dt
t
Cumulative Hazard: H (t ) = ò h(u ) du = - log( S (t ))
0 t
Cumulative Distribution function: F (t ) = 1 - S (t ) = ò f (u )du
0
20
Cox proportional hazard model
• Semi-parametric
• Models the effect of predictors and covariates on the hazard
rate but leaves the baseline hazard rate unspecified
• Estimates relative rather than absolute risk
Studied Intensity
Model Parameters
b x1
h1 (t ) h0 (t )e b ( x1 - x2 )
h(t ) = HR = = b x2
= e
h2 (t ) h0 (t )e
Covariates
Relative risk
(Hazard Ratio)
Baseline intensity
21
Cox proportional hazard model
Assumptions:
Limitation:
Since no baseline is estimated; not suitable for simulation of
new trials
22
Cox proportional hazard model
The log partial likelihood for the Cox PH model for
all event times is expressed as:
7
23
Cox proportional hazard model
with the Breslow approximation
the log partial likelihood for the Cox PH model with the
Breslow approximation1 should be used:
7
25
Commonly used (baseline)
Survival distributions
Exponential distribution Weibull distribution
S (t ) = e - lt S (t ) = e - ( l t )a
h(t ) = l h ( t ) = la (lt )a -1
26
Weibull distribution
(2-parameter)
S (t ) = e
Survival function : - ( lt )a
λ= scale parameter
α= shape parameter
27
Different Weibull distributions
α λ
28 28
Inclusion of covariates
Covariates can be time varying or constant.
Often modeled as a change in hazard.
h0 ( t ) = la (lt )a -1
Cp
ha (t ) = h0 × (1 - )
Cp + C 50
29
Time varying PK (Cp) versus summary PK variable
(Css,av, Cmax) as predictor of TTE or RTTE
30
Goodness of fit for (R)TTE
1. Residuals
31
Residuals
• Noninformative if few events (rare event)
• Can be difficult to interpret
• Often model dependent
33
TTE VPC plot
Kaplan-Meier plot of data (blue line) and 95% prediction intervals of the Kaplan-Meier
plot (green area, 100 simulations). 34
Interpretation of results
• Median time to event ratio (MR)
− MR=2; i.e. median time to event is twice as high in group A versus
group B
− easy to interpret
− Only looks at median
35
Interpretation of HR
The hazard ratio can be misleading if used directly to
assess the amount of treatment benefit.
37