A Conceptual Approach to Survival Analysis - PowerPoint PPT Presentation

1 / 89
About This Presentation
Title:

A Conceptual Approach to Survival Analysis

Description:

National Center for Complementary and Alternative Medicine. November 28, 2005 ... not 85 (or 72) to 44. For NIH Only: List of statistical units and contact ... – PowerPoint PPT presentation

Number of Views:106
Avg rating:3.0/5.0
Slides: 90
Provided by: lauralee
Category:

less

Transcript and Presenter's Notes

Title: A Conceptual Approach to Survival Analysis


1
A Conceptual Approach to Survival Analysis
  • Laura Lee Johnson, Ph.D.
  • Statistician
  • National Center for Complementary and Alternative
    Medicine
  • November 28, 2005
  • johnslau_at_mail.nih.gov

2
NOTES
  • Slide 48 last class
  • 170 ? 44
  • not 85 (or 72) to 44
  • For NIH Only List of statistical units and
    contact information for all ICs (even those of
    you without a statistical branch)

3
List Rules
  • Do Not Email everyone on this list
  • Do Contact the appropriate person for your
    IC/Division.
  • If you have problems contact LL Johnson or Benita
    Bazemore (IPPCR)

4
Objectives
  • Vocabulary used in survival analysis
  • Present a few commonly used statistical methods
    for time to event data in medical research
  • The Big Picture

5
Take Away Message
  • Survival analysis deals with making inference
    about EVENT RATES
  • Rate at t Rate among those at risk at t
  • Look at Median survival (50) not Mean survival
  • Mean need everyone to have an event

6
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

7
Vocabulary
  • Survival vs. time-to-event
  • Outcome variable event time
  • Examples of events
  • Death, infection, MI, hospitalization
  • Recurrence of cancer after treatment
  • Marriage, soccer goal
  • Light bulb fails, computer crashes
  • Balloon filling with air bursts

8
Define the Outcome Variable
  • What is the event?
  • Where is the time origin?
  • What is the time scale?
  • Could do a logistic regression model
  • Yes/No outcome
  • Not focus of lecture

9
Choice of Time Scale
  • Scale Origin Comment
  • Study time Dx or Rx Clinical Trials
  • Study time First Exposure (Occupational)
    Epidemiology
  • Age Birth (subject) Epidemiology

10
Example
  • 9 month post-resection survival is 25
  • 25 is the probability the time from surgical
    treatment to death is greater than 9 months
  • S(9) P T 9 0.25
  • 0 S(t) 1

11
Treatment for a Cancer
  • Event death
  • Time origin date of surgery
  • Time scale time (months)
  • T time from surgical treatment to death
  • Graph P T t vs t

12
(No Transcript)
13
Time Notation
  • t for time axis
  • t 0 is the time origin
  • T random outcome variable
  • time at which event occurs

14
Herpes Example
  • Recurrence of Herpes Lesions After Treatment for
    a Primary Episode
  • Event recurrence
  • needs well defined criteria
  • Time origin end of primary episode
  • Time scale months from end of primary episode
  • T time from end of primary episode to first
    recurrence

15
Toxin Effect on Lung Cancer Risk
  • Occupational exposure at nickel refinery
  • Event death from lung cancer
  • Origin first exposure
  • Employment at refinery
  • Scale years since first exposure
  • T time first employed to death from LC

16
Population Mortality
  • Event death
  • Time origin date of birth
  • Time scale age (years)
  • T age at death

17
Volume of Air a Balloon Can Tolerate
  • Event balloon bursts
  • t ml of air infused
  • Origin 0 ml of air in the balloon
  • T ml of air in balloon when it bursts

18
Unique Features of Survival Analysis
  • Event involved
  • Progression on a dimension (usually time) until
    the event happens
  • Length of progression may vary among subjects
  • Event might not happen for some subjects

19
Sample Size Considerations
  • Event may not ever happen for some subjects
  • Sample sizes based on number of events
  • Work backwards to figure out of subjects
  • Covariates must be considered (age, total
    exposure, etc)

20
Notation
  • T event time
  • T observation time
  • T if event occurs
  • Follow-up time otherwise
  • ? failure indicator
  • 1 if T T
  • 0 if T lt T
  • censor or censor indicator

21
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

22
Truncation and Censoring
  • Truncation is about entering the study
  • Right Event has occurred (e.g. cancer registry)
  • Left staggered entry
  • Censoring is about leaving the study
  • Right Incomplete follow-up (common)
  • Left Observed time gt survival time
  • Independence is key

23
Left Truncation
24
Left Truncation
  • More in epi than in medical studies
  • Key Assumption
  • Those who enter the study at time t are a random
    sample of those in the population still at risk
    at t.
  • Allows one to estimate the hazard function ?(t)
    in a valid way

25
Example Seizures
  • Observational study of seizures in young children
  • What is the relation between vaccine immunization
    and risk of first seizure?
  • Time axis age
  • Some children observed from birth
  • Others move in to the area at a later time
  • Included at the time of entry into the cohort

26
Censoring
  • Incomplete observations
  • Right
  • Incomplete follow-up
  • Common and Easy to deal with
  • Left
  • Event has occurred before T0, but exact time is
    unknown
  • Not easy to deal with

27
One Form of Right CensoringWithdrawals
  • Must be unrelated to the subsequent risk of event
    for independent censoring to hold
  • Accidental death is usually ok
  • Moves out of area (moribund unlikely to move)

28
Left Censoring
  • Age smoking starts
  • Data from interviews of 12 year olds
  • 12 year old reports regular smoking
  • Does not remember when he started smoking
    regularly
  • Study of incidence of CMV infection in children
  • Two subjects already infected at enrollment

29
Types of Censoring
  • Type I censoring
  • T same for all subjects
  • Everyone followed for 1 year
  • Type II censoring
  • Stop observation when a set number of events have
    occurred
  • Replace all light bulbs when 4 have failed
  • Random censorship
  • Our focus, more general than Type I

30
Key Assumption Independent Censoring
  • Those still at risk at time t in the study are a
    random sample of the population at risk at time
    t, for all t
  • This assumption means that the hazard function
    (?(t)) can be estimated in a fair/unbiased/valid
    way

31
Independent Censoring If you have Covariates
  • Censoring must be independent within group
  • Censoring must be independent given X
  • Censoring can depend on X
  • Among those with the same values of X, censored
    subjects must be at similar risk of subsequent
    events as subjects with continued follow-up
  • Censoring can be different across groups

32
Age Example
  • Early in trial older subjects are not enrolled
  • Condition on age ok
  • Do not condition on age the estimates will be
    biased because censoring is not independent

33
Study Types
  • Clinical studies
  • Time origin enrollment
  • Time axis time on study
  • Right censoring common
  • Epidemiological studies
  • Time axis age
  • Right censoring common
  • Left truncation common

34
Bottom Line
  • Standard methods to deal with right censoring and
    left truncation
  • Key assumption is that those at risk at t are a
    random sample from the population of interest at
    risk at t

35
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

36
Survival Function
  • S(t) P T t 1 P T lt t
  • Plot Y axis alive, X axis time
  • Proportion of population still without the event
    by time t

37
Survival Curve
38
Survival Function in English
  • Event death, scale months since Rx
  • S(t) 0.3 at t 60
  • The 5 year survival probability is 30
  • 70 of patients die within the first 5 years
  • Everyone dies ? S(8) 0

39
Hazard Function
  • Incidence rate, instantaneous risk, force of
    mortality
  • ?(t) or h(t)
  • Event rate at t among those at risk for an event
  • Key function
  • Estimated in a straightforward way
  • Censored
  • Truncated

40
Hazard Function in English
  • Event death, scale months since Rx
  • ?(t) 1 at t 12 months
  • At 1 year, patients are dying at a rate of 1
    per month
  • At 1 year the chance of dying in the following
    month is 1

41
Hazard Function Instantaneous
  • 120,000 die in 1 year
  • 10,000 die in 1 month
  • 2,500 die in a week
  • 357 die in a day
  • Instantaneous move one increment in time

42
Survival Analysis
  • Models mostly for the hazard function
  • Accommodates incomplete observation of T
  • Censoring
  • Observation of T is right censored if we
    observed only that T gt last follow-up time for a
    subject

43
Example Typical Intervention Trial
  • Accrual into the study over 2 years
  • Data analysis at year 3
  • Reasons for exiting a study
  • Died
  • Alive at study end
  • Withdrawal for non-study related reasons (LTFU)
  • Died from other causes

44
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

45
Competing Risks
  • Multiple causes of death/failure
  • Special considerations of competing risk events
    described in the literature
  • Example
  • event cancer
  • death from MI competing risk
  • No basis for believing the independence assumption

46
Competing Risks
  • Interpretation of ?(t) risk of cancer at t
    when the risk of death from MI does not exist
    isnt practically meaningful
  • Rather, interpret ?(t) risk of cancer among
    those at risk of cancer at t
  • This will exclude MI deaths (if you are dead from
    an MI you are not at risk of cancer) and that is
    ok

47
Bottom Line
  • We make inference about ?obs(t) event rate
    among subjects under observation at t
  • We can interpret it as ?(t) event rate among
    subjects with T t, if censoring is independent

48
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

49
Kaplan Meier
  • One way to estimate survival
  • Nice, simple, can compute by hand
  • Can add stratification factors
  • Cannot evaluate covariates like Cox model
  • No sensible interpretation for competing risks

50
Kaplan Meier
  • Multiply together a series of conditional
    probabilities

51
Kaplan Meier Curve
52
Kaplan Meier Estimator
  • One estimate of S(t)
  • Need independent censoring
  • If high risk subjects enter the study late then
    early on the K-M curve will come down faster than
    it should
  • Censored observations provide information about
    risk of death while on study

53
Kaplan Meier
  • Just the outcome is in many models
  • One or more stratification variables may be added
  • Intervention
  • Gender
  • Age categories
  • Quick and Dirty

54
How to Test? At a Given Time
  • H0 S1(t) S2(t)
  • Form test statistic
  • Arbitrary time choosing t post hoc
  • Not using all of the data

55
Inference
  • For single event data inference about rates ?
    inference for S(t)
  • No time dependent covariates, no recurrent
    events, no competing risk events
  • Logrank statistics compare event rates and allow
    the same generality as right censoring, left
    truncation, etc.

56
Log Rank
  • H0 S1(.) S2(.)
  • Test overall survival
  • 2 independent samples from the same population
  • Observed events vs. Expected
  • Software statistician should check
  • Some variations and some assumptions

57
Log Rank
  • Confounding
  • Are prognostic factors balanced between treatment
    groups?
  • Can see a difference using logrank, but just bias

58
Stratified Log Rank
  • Compare survival within each stratum
  • Essentially perform test within each stratum
  • Can prognostic factor be categorized?
  • Enough people per stratum?
  • Loss of power
  • Significance test, no estimates of difference

59
Proportional Hazards Cox
  • Cox Proportional Hazards model
  • ?(t) ?0(t) exp ß1 X1 ßp Xp
  • ?0(t) baseline hazard
  • ß1,, ßp regression coefficients
  • X1,, Xp prognostic factors
  • ß 0 ? hazard ratio 1
  • Two groups have the same survival experience

60
Cox Proportional Hazards Model
  • Add covariates to the model
  • No need to stratify
  • Change in a prognostic factor ? proportional
    change in the hazard (on the log scale)
  • Statistical software
  • Can test the effect of the prognostic factor as
    in linear regression - H0 ß0

61
Cox Model for Event Rates
  • Provides a framework for making inference about
    covariate effects
  • Semi-parametric
  • ?0(t) completely unspecified
  • Multiplicative - eßx
  • Effect of covariate is to multiply the rate by a
    factor

62
Cox cont.
  • Requires either that
  • RR is constant over time (proportional hazards),
    or
  • That we model RR over time
  • Allows time-dependent covariates and
    stratification factors

63
Age Example
  • Early in trial older subjects are not enrolled
  • If age is not in the Kaplan Meier then the KM
    estimate is biased because censoring is not
    independent
  • Put age in the Cox model conditioned on age ok

64
Testing Proportional Hazards
  • ?(t) ?0(t) exp ß1 age ß2 drug
  • exp ß1ageß2drugß3ageln(t)ß4 drug ln(t)
  • Look at p-values associated with ß3 and ß4 (Wald
    tests)
  • Do a partial likelihood ratio test comparing the
    two models
  • Look at Schoenfeld residual plots

65
Testing Proportional Hazards
66
Testing Proportional Hazards
67
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

68
Example
  • Randomized clinical trial at Mayo survival of
    patients with liver cirrhosis (NEJM 1982)
  • Two year survival probability of 0.88, calculated
    with Kaplan Meier
  • Compare a new treatment, D-penicillamine with
    placebo

69
Trial Information
  • Data collected at randomization
  • Presence/absence of ascites
  • Prothrombin time in seconds -10
  • Cox model
  • ?(t) ?0(t) exp -0.135 XTRT1.737 XA0.346 XP

70
How to say it in English
  • ?(t) ?0(t) exp -0.135 XTRT1.737 XA0.346 XP
  • XTRT 1 D-penicillamine, 0 placebo
  • XA 1 ascites, 0 no ascites
  • XP Prothrombin time 10
  • Continuous, in seconds
  • ?0(t) is the event rate at time t in the placebo
    arm for subjects without ascites with a
    prothrombin time of 10 seconds

71
?(t) ?0(t) exp -0.135 XTRT1.737 XA0.346 XP
  • Relative rate of death two years post
    randomization for a subject on this trial who
    received the new treatment, had ascites at
    randomization and a prothrombin time of 10
    seconds compared to a similar subject who
    received placebo?
  • RR exp -0.135 0.87

72
Worked Out
73
RR at Three Years?
  • Relative rate does not vary with time according
    to the proportional hazards model.
  • At the years the previously described RR is also
    exp -0.135
  • Can work out RR for lots of other subject
    comparisons

74
But
  • Physicians were initially reluctant to enter
    patients with ascites on the trial because of
    potential toxicity concerns
  • After about a year and a half recruitment became
    more representative of the clinic population

75
How does this Effect the Validity of the Kaplan
Meier Estimator?
  • Censoring is not independent
  • At large t, the risk sets will not include
    patients with ascites because they were not
    recruited early enough and therefore are censored
    early.
  • The hazard function will be biased too small for
    larger t and so will be larger than the
    population survival function at large t.

76
Cox Model Doomed Regression Coefficient
Estimates?
  • No bias because conditional on covariates
    (including XA)
  • Censoring must be independent GIVEN X
  • Censoring is independent and that is all that is
    required for consistency of the partial
    likelihood estimator (i.e. the coefficients)

77
Outline
  • How to Measure Time and Events
  • Truncation and Censoring
  • Survival and Hazard Functions
  • Competing Risks
  • Models and Hypothesis Testing
  • Example
  • Conclusions

78
Survival Picture
  • Survival analysis deals with making inference
    about EVENT RATES
  • Rate at t Rate among those at risk at t
  • Look at Median survival (50) not Mean survival
  • If you look at the mean you need everyone to have
    an event

79
Survival Analysis Can Handle
  • Right censoring
  • Left truncation
  • Recurrent events
  • Competing risks, etc.
  • Because we have available representative risk
    sets at t which allow us to estimate/model event
    rates.

80
Kaplan Meier
  • One way to estimate survival
  • Nice, simple, can compute by hand
  • Can add stratification factors
  • Cannot evaluate covariates like Cox model
  • No sensible interpretation for competing risks

81
Cox Model for Event Rates
  • Provides a framework for making inference about
    covariate effects
  • Semi-parametric
  • ?0(t) completely unspecified
  • Multiplicative - eßx
  • Effect of covariate is to multiply the rate by a
    factor

82
Cox cont.
  • Requires either that
  • RR is constant over time (proportional hazards),
    or
  • That we model RR over time
  • Allows time-dependent covariates and
    stratification factors

83
Inference
  • Logrank statistics compare event rates and allow
    the same generality as right censoring, left
    truncation, etc.
  • For single event data inference about rates ?
    inference for S(t)
  • No time dependent covariates, no recurrent
    events, no competing risk events

84
Truncation and Censoring
  • Independence is key
  • Truncation is about entering the study
  • Right Event has occurred (e.g. cancer registry)
  • Left staggered entry
  • Censoring is about leaving the study
  • Right Incomplete follow-up (common)
  • Left Observed time gt survival time

85
Course in General
  • Lots of assumptions
  • What is your n? Probably small?
  • Try to have some intuition of data
  • Exploratory Data Analysis (EDA)
  • Mean, median, variance or standard deviation,
    quartiles
  • Plots histograms, box and scatter plots

86
Analyses
  • Fancy methods
  • Bread and butter
  • T-tests, Wilcoxon tests, chi-square
  • Linear or logistic regression
  • Basic survival (K-M, Cox PH)
  • Extensive EDA
  • Plots to match analysis

87
Your Question Comes First
  • May need to rewrite
  • If you change your question later
  • May not have the power
  • May not have the data
  • COME TO THE STATISTICAN EARLY AND COME OFTEN

88
Analysis Follows Design
  • Questions ? Hypotheses ?
  • Experimental Design ? Samples ?
  • Data ? Analyses ?Conclusions
  • Take all of your design information to a
    statistician early and often
  • Guidance
  • Assumptions

89
Questions?
Write a Comment
User Comments (0)
About PowerShow.com