Download presentation
Presentation is loading. Please wait.
1
Using time-dependent covariates in the Cox model THIS MATERIAL IS NOT REQUIRED FOR YOUR METHODS II EXAM With some examples taken from Fisher and Lin (1999) American Review of Public Health.
2
Examples of time-dependent covariates 1)Discrete events (recurrent MIs) 2)Exposure Histories (smoking history) 3)History of vital measures (heart-rate every 4 months)
3
Time Covariate Value t How to model the effect of covariate history on the hazard? h(t)
4
-Instantaneous effect -Lagged effect -Cumulative effect - Attenuation after a spike in exposure How to model the effect of covariate history on the hazard?
5
Time Current Smoker death yes no Example: Using current smoking status to model the hazard of death
6
Example: Cholesterol-lowering drugs Covariate Value High blood lipid levels lipid build-up in vascular lesions Low blood lipid levels leaching from established build-up Lipid build-up hazard of death
7
“Simplest” case involves a single instantaneous change in an otherwise constant value.
8
Time Treatment Initiated Models for treatment effects: Constant effect of treatment 0 1 V(t)
9
Time Treatment Initiated Models for treatment effects: Time Treatment Initiated Temporary Benefit Increasing Effect 0 0
10
Time Long-term Risks associated with interventions: Time Year 1 Time Intervention period 0 1 0 1 0 1
11
Time-dependent covariates lead to complex modeling decisions: - Many more modeling options compared to fixed covariates - Models can be very interesting, or very misleading - The choice of a model and the interpretation of its fit to data can depend heavily on background knowledge. - Danger of overfitting is increased
12
Time-dependent covariates create more opportunities for confounding: Are marker and event both associated with some underlying temporal process? Example: Circadian Rhythms: Time Underlying Circadian Rhythm Drug plasma level Hazard of Death
13
Time-dependent covariates create more opportunities for confounding: Treatment assignment and health status: Consider a bad health outcome that increases the hazard of death and also triggers a particular treatment assignment. Age: Things that accumulate over time are associated with age, and therefore with the hazard of death. Important to appropriately control for age.
14
With time-dependent covariates, standard methods may not be Appropriate for predicting survival With fixed covariates, we can estimate Pr( survive beyond time t given baseline measures) The corresponding quantity for a model with time dependent covariates is Pr( survive beyond time t given covariate history ) The properties of this quantity depend on the kinds of covariates In our model.
15
“External” covariates - External to the failure process. - Future covariate values don’t depend on whether or not the patient dies today. -Equivalently, a patient’s prob. of instant death depends only the covariate history up to the present, not on future covariate values. - Examples: Air Pollution, pre-defined treatment regimes, fixed covariates. If all of our covariates are external then we can estimate Pr( survive beyond time t given covariate history ) as long as we plug in a covariate history (but where do we get that?).
16
“External” covariates - External to the failure process. - Future covariate values don’t depend on whether or not the patient dies today. -Equivalently, a patient’s prob. of instant death depends only the covariate history up to the present, not on future covariate values. - Examples: Air Pollution, pre-defined treatment regimes, fixed covariates. If all of our covariates are external then we can estimate Pr( survive beyond time t given covariate history ) as long as we plug in a covariate history (but where do we get that?).
17
-For external covariates: A patient’s prob. of instant death depends only the covariate history up to the present, not on future covariate values. -This is a special property—not true for all covariates—even though we model the hazard only as a function of past history. Consider: Asthma exacerbation / air pollution stroke / ICU visit Does knowing the covariate value on Thursday tell you anything more about the probability of event on Wednesday given that you know all covariate values up to and including Wednesday’s?
18
“Internal” covariates - Internal to the failure process. - Formally, not external - Can require survival of patient for measurement -Examples: blood pressure, or any other vital measure, number of recurrent events, etc. If our model contains internal covariates then we often know Pr( survive beyond time t given covariate history ) with certainty—it is either 0 or 1 depending on whether we have measurements at time t.
19
Of course one can always condition on covariate history and survival up to a certain point in time, say t0, then stratify patients and compute empirical survival curves for times beyond t0 for each group. This doesn’t use a model for the hazard to predict survival for individual patients. It just gives an aggregate prediction for each group. Suppose our time-varying covariate is time of recurrent MI. Can we just divide the population into two groups, those with and without recurrent MI, and estimate survival curves in each group?
20
Implementation issues for time-dependent covariates
21
Follow-up time Patient Histories Censored survival data
22
Follow-up time Patient Histories … with time-dependent covariates
23
Follow-up time Patient Histories
24
Follow-up time Patient Histories
25
Follow-up time Patient Histories Cox model’s view of survival data with time-dependent covariates
26
Follow-up time Patient Histories a ba b 1) Split each subject’s history into little intervals between successive failure times 2) Assign each interval the covariate Values at its endpoint. 3) Unless the interval ends in an observed failure, code it as censored. d c
27
Note that this process will generate a table with approximately (num. patients) x (num unique failure times) / 2 rows. In a large trial with ~14,000 patients and 900 unique failure time This would give > 6 million rows!
28
Follow-up time Patient Histories When the covariate only changes value a few times, it may be easier to Split the data only at these change points:
29
This will lead to roughly (num. patients) + (num change-points) rows in the table. - It’s best to chose the splitting strategy that results in the fewest intervals - Of course if the time-dependent covariate is continuous, we must split by every failure time. - Once the data have been appropriately split, they can be fed into any program that fits Cox models for fixed covariates.
30
Example
31
Basline (index MI) Recurrent MI t ME For patients with recurrent MI:
32
Basline (index MI) Recurrent MI t RE Hypothesis is that durations R and E should influence the hazard of death at time t when there is a recurrent MI. How should we model the effect of R and E ?
34
Is it better to have an early or later recurrent MI?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.