time-dependent covariate survival more in proc … covariates “survival” more in proc phreg ......

12
1 Time-Dependent Covariates “Survival” More in PROC PHREG Fengying Xue,Sanofi R&D, China Michael Lai, Sanofi R&D, China ABSTRACT Survival analysis is a powerful tool with much strength, especially the semi-parametric analysis of COX model in PHREG, the most popular one. How to explain its enormous popularity? The most important reason is that it does not require you to choose some particular probability distribution under the proportional-hazards assumption. While in some cases, such as in long-term follow-up study or some covariates whose attribute really change over process (such as age, salary), the proportional-hazards assumption of constant hazard ratio is frequently violated, and PHREG can also make it. This is the second reason; it is relatively easy to incorporate time-dependent covariates. It provides the chance to modulate dynamic design, leading to a more robust and accurate outcome. INTRODUCTION We begin by defining a time-dependent variable and use Stanford heart transplant study as example. We also state the general formula for Cox model and how the Cox proportional hazards (PH) model can be extended to allow time- dependent variables, followed by a discussion bases on Stanford heart transplant study, including a description of the hazard ratio, two methods to handle time-dependent variable in PHREG. At last, we will check PH assumption by using multiple methods for accuracy and robustness. BRIEF BACKGROUND Time-dependent covariates are those that may change in value for a given subject over the course of observation. In contrast, time-independent covariates are those whose value remains constant over time. Take Stanford heart transplant study as example, regarding covariate TRANS (which is equal to 1 if the patient has already had a transplant at time t and 0 otherwise). In this example, we see that TRANS is time-dependent variable whose value changed after transplanted at time t 0 for the transplant one. While for the non- transplant one, its value is always 0. All in all, TRANS is a time-dependent variable for this study. Based on attribute and reason of the value change, time-dependent variables can be classified into two categories: Internal and Ancillary. For internal variable, whose value change because of “internal” characteristics or behavior of the individual while ancillary variable whose values change because of “external” characteristics. An example of an ancillary variable is air pollution index at time t for a particular geographical area. Additionally, for above Stanford heart transplant, TRANS, it is part internal and part ancillary variable, individual traits, eligible transplant criteria, is internal and available donor is ancillary. Why time-dependent analysis is so powerful in survival analysis? Firstly, since that outcome or endpoint (time to event) is a time related variable, if the explanatory variable is time-dependent variable it is probability that it is heavily correlated with each other. In such instances, it is easy to confuse the “causation” of effect and misleading the result. Secondly, some variables that are important to the risk of an endpoint will vary in individuals over the course of a study and there is no way to control them (i.e. keep them constant) by controlling the people’s risk factors, such as people’s alcohol related drinking habits, meat intake, and dairy intake. Additionally, FDA has asked for clarifying for “what estimated”, also citing “De facto” estimate as their interest, so we must be aware of this kind of variables, time- dependent. If not, treat dependent as independent, it may cause bias in the estimation, even more incorrect inference regardless of significance of effects, and it may over fit model and cost much extraneous time and without estimate improvement. So let’s extent PH COX model to extended COX model, time-depend COX model.

Upload: vuongkien

Post on 25-May-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

Time-Dependent Covariates “Survival” More in PROC PHREG Fengying Xue,Sanofi R&D, China Michael Lai, Sanofi R&D, China

ABSTRACT Survival analysis is a powerful tool with much strength, especially the semi-parametric analysis of COX model in PHREG, the most popular one. How to explain its enormous popularity? The most important reason is that it does not require you to choose some particular probability distribution under the proportional-hazards assumption. While in some cases, such as in long-term follow-up study or some covariates whose attribute really change over process (such as age, salary), the proportional-hazards assumption of constant hazard ratio is frequently violated, and PHREG can also make it. This is the second reason; it is relatively easy to incorporate time-dependent covariates. It provides the chance to modulate dynamic design, leading to a more robust and accurate outcome.

INTRODUCTION We begin by defining a time-dependent variable and use Stanford heart transplant study as example. We also state the general formula for Cox model and how the Cox proportional hazards (PH) model can be extended to allow time-dependent variables, followed by a discussion bases on Stanford heart transplant study, including a description of the hazard ratio, two methods to handle time-dependent variable in PHREG. At last, we will check PH assumption by using multiple methods for accuracy and robustness.

BRIEF BACKGROUND Time-dependent covariates are those that may change in value for a given subject over the course of observation. In contrast, time-independent covariates are those whose value remains constant over time. Take Stanford heart transplant study as example, regarding covariate TRANS (which is equal to 1 if the patient has already had a transplant at time t and 0 otherwise). In this example, we see that TRANS is time-dependent variable whose value changed after transplanted at time t0 for the transplant one. While for the non- transplant one, its value is always 0. All in all, TRANS is a time-dependent variable for this study.

      

Based on attribute and reason of the value change, time-dependent variables can be classified into two categories: Internal and Ancillary. For internal variable, whose value change because of “internal” characteristics or behavior of the individual while ancillary variable whose values change because of “external” characteristics. An example of an ancillary variable is air pollution index at time t for a particular geographical area. Additionally, for above Stanford heart transplant, TRANS, it is part internal and part ancillary variable, individual traits, eligible transplant criteria, is internal and available donor is ancillary.  

Why time-dependent analysis is so powerful in survival analysis? Firstly, since that outcome or endpoint (time to event) is a time related variable, if the explanatory variable is time-dependent variable it is probability that it is heavily correlated with each other. In such instances, it is easy to confuse the “causation” of effect and misleading the result. Secondly, some variables that are important to the risk of an endpoint will vary in individuals over the course of a study and there is no way to control them (i.e. keep them constant) by controlling the people’s risk factors, such as people’s alcohol related drinking habits, meat intake, and dairy intake. Additionally, FDA has asked for clarifying for “what estimated”, also citing “De facto” estimate as their interest, so we must be aware of this kind of variables, time-dependent. If not, treat dependent as independent, it may cause bias in the estimation, even more incorrect inference regardless of significance of effects, and it may over fit model and cost much extraneous time and without estimate improvement. So let’s extent PH COX model to extended COX model, time-depend COX model.

Page 2: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

While it’s sdependent define

function

Where

Hazard funXk time-ind

 Xk time-dep

 Following wassumptionit is beyond 

TIME DE STANFOR We would because it’internal anproceduresscientific ex As reportedcardiac patvary lengthanother 4 puntil death of the studytransplanta Following a

DOB DOA DOT DLS DEAD SURG

simple to modifyt covariates, we

PH COX modValue of varia

nction changedependent varia

pendent variab||

we use one exan. In this paperd of this scope.

EPENDENT

RD HEART T

like to use Stan’s clarify to expd part ancillarys for analysis axplanation.

d by Crowley atients who enrohs for time untilpatietns had stor the terminay was to asses

ation.

are raw variabl

Date fo birth Date of acce Date of trans Date of last s Coded 1 if d Coded 1 if p

y COX model fe need to do is

del able is constant

, so easy, meaable, HR is dete

||

ble, HR is depe ∑

ample to demor, we suppose t.

MODEL

TRANSPLAN

nford heart tranplain its meaniny time-dependeare the same. K

and Hu (1977), olled in the tras a suitable donill not received tion date. Of th

ss whether pati

es,

eptance into thesplant seen( Dead or ead at DLS; otatients had ope

for time-dependwrite (t) after t

t over time

anwhile its hazaerminded by di

enterminded by∑

ostrate how to ethat models fit

T STUDY

nsplant study ang and then weent variable. ReKnowing its type

the famous Stsplanation prognor heart was fo

transplants at he 69 transplanents receiving

e program

censored) therwise, codeden-heard suge

d covariates, tothe Xj (j>=p2) w

TV

ard ratio also ciffernece of cov

y differnece of c

estimte time-dewell and no ne

as example, noe can draw inferegardless of vae well, it will be

anford Heart Tgram between 1ound. 30 patienthe termination

nt recepients, otransplantation

d 0 ry prior to DOA

o modify PH COwhich is time de

ime-dependenValue of variable

chaged as belovariates value a

covariates valu∑

ependent covaeed to consider

ot only becauserences about o

ariable type, thee more accurat

Transloant Data1976 and 1974nts died beforen date of April only 24 were stn survived long

A; Others, code

OX model to inependent vecto

t model e differs over ti

w. and its coeffici

ue at t and coef

rites’ meaning,r its reliability, f

e it’s popular toother cases froe form of extente to know mod

a, sample cons4. After enrollme receiving tran1, 1974. Patientill alive at term

ger than patient

ed 0

ncluded time-or.

ime

ent.

 

fficient.

, how to assessfor its model fit

o everyone but m this case. It

nded Cox modedel well and pro

sistents of 103 ment patients wansplantation, whnts were follow

minantion. The ts not receiving

s PH ness,

also is part

el and ovide

aited hile

wed goal g

Page 3: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

The following are derived varibles

SURV1 DLS-DOA AGEACCPT (DOA-DOB)/365.25 AGETRANS (DOA-DOT)/365.25 WAIT DOT-DOA TRANS Coded 1 if patients were with DOT ; Others, coded 0

 MISLEADING OUTCOME There is one misleading outcome which not takes time-dependent into consideration, treat TRANS as time-indepent variable. The traditional method is using PH COX model, 1 ∗ 2 ∗3 ∗ to estimate the COX regression of SURV1 on trasplant status(TRANS), controlling for SURG and

AGEACCPT, TRANS and SURG are all treated as time-independent variables.  

  The result as below output show very strong effects on both transplant status and age at acceptance. We saw that each additionally year of age at the time of acceptance is associated with a 6 percent increase in the hazard of death. On the other hand, the hazard for those who received transplantation is only about 18 percent of the hazard for those who do not. Or equivalenetly, those who did not receive transplans are about 4.5(1/0.181-1≈4.5) times more likely to die at any given timepoint.  

  Perhaps the age effect maybe real, but the transplantation effect is almost surely an artifact. The main reason is that TRANS is actually consequence of the dependent variable: an early death prevent a patient from getting transplantation, or taking the reciprocal, the more time patient live, the more chance to receive transplantation, so it was difficult to determine if transplantation actually reduced the risk of death or if people who lived longer were more likely to receive a transplantation. Below plot shows the primary reason for this misleading model. For transplant patients, transplant win time should contribute to TRANS effect not the total survival time. In this analysis, the total survival will be favor for transplant, and then enlarge transplant effect. In fact, wait time belong to non-transplant effect the same as for non-transplant, so it will be better to split total duration of transplant patients into two ones, one is for wait time period without transplantation, another is transplant win time with transplantation. While for non-transplant patients, they are only with wait-time period. Under this split, no matter Transplant or Non-transplant, they will be treated fairly. It will make the result more accurate. This is also the primary idea for time dependent method, split into many intervals, during which hazard is constant, and then give analysis on each intervals, and combine them give a final outcome, generally. censored or death wait-time transplant win time Transplant Received transplant Total survival time   censored or death wait-time Non-Transplant Not received transplant Total survival time

Page 4: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

TIME-DEP To handle datasets antime-depenCount ProccorrespondconstructedMainwhile  COUNTING Regarding record for eestimate m For the firs 

 

For this caone for thesecond oneand DEADrecord is e ID DOA 4 03/28/1

5 05/10/1 ID DOA 4 03/28/1

4 03/28/15 05/10/1 The seconspecify a sconstant anreflects tim

PENDENT M

time-dependennd specifying tndent covariatecess method, oding to an interd, time-dependthere is a diffe

G PROCESS

counting prceseach period du

model.

st step, it reque

se, as highlighe interval betwee is the interva2=dead. Reganough since its

DOT 968 05/02/196

968

DOT 968 05/02/196

968 05/02/196968

d step is estimtarting and stond during whic

me-dependent v

ETHOD

nt covariates, Phe models. In p

es are then defon the other haval during whic

dent covariatesrent syntax nee

ss, it has two suring which all t

sts more progr

t in the first redeen acceptancel between trans

arding the secos transplantaion

DLS D8 05/05/1968 1

05/27/1968 1

DLS D8 05/05/1968 1

8 05/05/1968 105/27/1968 1

ation by PHREpping time for h the individua

variable if multi

PROC PHREGprogramming sined in programnd, there may

ch all the covars are treated aseded to specify

teps, the first sthe covariates

ramming absol

d rectangle, it ise and transplansplantation and

ond red rectaglen status remain

DEAD DUR S1 39 0

1 18 0

DEAD DUR S1 39 0

1 39 01 18 0

EG as below syeach record. I

al is continuousple intervals pe

has two methostatements metmming statemebe multiple rec

riates remain cs just like time-iy the time-depe

step is construcremain constan

utely but freely

s for patients wntation, wait-timd either dead oe, it is for patien the same with

SURG TRANS0 1

0 0

SURG TRANS0 1

0 1 0 0

yntax. The onlynterval (start, s

sly at risk and eer person and c

ods but with vethod, there is oent that is part ocords for each onstant. Once independent coendent variable

ct a dataset witnt. The second

y you can do it

who received trame, with TRANSor censoring, traents who did nohout change. T

S WAIT SURV135 38

10000 17

S WAIT SURV135 38

35 38 10000 17

y difference is tstop) stands foevent only occucovariate value

ery different waone record per of the PROC Pindividual, eacthis special daovariates in eae.

th multiply recod step is use sp

if you can think

ansplantion, it S=0 and DEADansplant win ti

ot receive transTake ID=4, 5 as

1

1 START STOP0 35

35 38 0 17

hat this syntaxr intervals in w

urred at the ende change.

ays of setting uindiviual and th

PHREG step. Inh record

ata set has beeach interval.

ords per patienpecial syntax to

k of it.

needs two recoD2=0 and the me, with TRAN

splanation. Ones example.

P TRANS(new)0

1 0

x requires us to which covariaved of intervals. I

p the he n

en

t, one o

 

ords:

NS =1 e

DEAD20

1 1

es are t also

Page 5: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

Under this model, it indicates that transplantation has no effect on the hazard of death. The effect of age at acceptance is somewhat smaller than before, it stationary relatively. It is different deeply from the previous traditionally one. This one is more accurate and more close the truth.

  PROGRAMMING STATEMENT  Programming statement is used to create or modify the values of the exlanaroty variables in the model statement. It is especially usefull in fitting models with time-dependent coavariabtes. Its syntax likes in data-step. Now let’s see how we can use SAS to create a time-dependent covariate that changes for each individual from 0 to 1 at the time of the transplantation.

 

  Perhaps there are two mysteries. The first is that a new variable is created, called ‘TRANS’ which equals 0 if the Waiting time is greater or equal than the survival time or if the waiting time is missing, otherwise TRANS=1. Does this make intuitive sense? The second is the result is magic, they are exactly the same with the result of count process. For the first question, the answer should be ‘no’, not intuitive, but it is correct. It will take a little effort to understand what this conditional statement in PHREG is doing. The point is that the conditional statement in PHREG is handled differently than in a data step. If they are the same, programming statement can’t be time-dependent data carrier. It’s more complicated than simply evaluating whether WAIT>=SURV1 for each patient.

      Let’s use a plot to see its process clearly, red stars stand for survial starting or ending points, black stars stand for event time points and red heart stands for transplantation.

SURV1 is a variable that is evaluated at each event time point, a comparison is made between the event time and each patient’s wait time. Based on those comparisons, each patient’s duration was spited into multiply intervals, and the TRANS value will be 0 or 1, time-depend variable.

Page 6: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

censored or death Wait-time transplant win time int1 int2 …. Int i int (i+1) …… int j Transplant Pt1 Received transplant Total survival time       censored or death Wait-time int1 int2 …. Int k ….. int l Not Transplant Pt2 Received transplant Total survival time Its corrsponding tables as below, suppose Pt1 is transplant patient while Pt2 is not. Transplant:

interval start end condition trans Int 1 0 Event 1 Wait>Event 1 0 Int 2 Event 1 Event 2 Wait>Event 2 0 …. …. …. …… …. Int i Event i-1 DOT Wait=DOT 0 Int i+1 DOT Event i Wait<Event i+1 1 …. …. …. …… …. Int j Event j-1 SURV1 Wait<Event j 1

Not Transplant:

interval start end condition trans Int 1 0 Event 1 Wait>Event 1 0 Int 2 Event 1 Event 2 Wait>Event 2 0 Int 3 Event 3 Event 3 Wait>Event 3 0 …. …. …. …… …. Int l Event l-1 SURV1 Wait> Event l 0

From above plots and tables we find that programming statement is the same as count process in fact, the difference is that programming statement split more interverls, if we combine all intervals by TRANS staus, we will got the same intervals as count process, so that’s not surprise we got the same result from the two method. There is another confusion, why assign 0.1 for patients who are with WAIT=0 or SURV1=0? Below are three special patients. ID DOA DOT DLS DEAD DUR SURG TRANS WARIT SURV1 3 01/06/1968 01/06/1968 01/21/1968 1 16 0 1 0 15

45 01/05/1971 01/05/1971 02/18/1971 1 45 0 1 0 44

15 09/27/1968 09/27/1968 1 1 1 0 10000 0 Patient, ID=15, who was dead once he was accepted into this study, so survial time is 0. If we treated its interval as (0, 0], this patients will be excluded from analysis in counting process. But for him, even for this study, 0 is an event time, it will lead to L1 was missed in below partial likelihood funciton. By the way, the minxium event time except this patient, is 1, so that we can assign a value, called µ , μ ⋲(0, 1), such as 0.1, it will give the chance for patient ID=15 to be an element of partial likelihood function and this is the fact. ⋯ , Where j is the event sequence by survival time. 

 While for another two patients who took transplantation once they accepted into the study, and they were at risk or not during (0, µ], there are two and only two possible.

(1) if we suppose their wait time ≥ µ, they were not transplanted during (0, µ], TRANS=0 (2) if we suppose their wait time <µ, they were transplanted during (0, µ], TRANS=1

Page 7: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

In mathematical logic, any of them is possible, we are not sure. The two will lead to different results. For (1), it is the same as the previeous example, as assign 0.1 for all three cases. It is caused by SURV1 & WAIT definition (before), without plus 1, so 0 appeared as survival time or wait time. If we use Define (after), plus one day for SURV1 and WAIT, it will avoid this issue and get the same results. It is because that its assessment is the same regardless based on value or ranked value due to the partial likelihood function, baseline hazard function is canceled out, depend only on the ranks of the event times not their numerical values. This implies that any monotonic transformation of the event times will leave the coefficient estimates unchanged. So, WAIT=0 and SURV1=0, with same ranked value, assign= µ ,such as 0.1. This is the whole history.

Variable Define(before) Define(after) SURV1 DLS-DOA DLS-DOA+1 WAIT DOT-DOA DOT-DOA+1

As shown, the counting process requires substantially more coding. However, this upfront effort makes it easier to detect and correct errors because a data set is created and can be debugged. The programming statements are faster to code and can handle special case, but the coding seems to be tricky and there is no way to detect if the time-varying covariates have been coded correctly. Furthermore, when using the programming statement method, a temporary dataset containing the time-varying covariates has to be created each time PROC PHREG is run. Depending on how large the dataset is, this could drastically increase computing time. For these reasons, we prefer the counting process. We also more prefer to use one to validate another one for robustness. Our results from the examples illustrated how impactful time-dependent variables can be in Cox PH model. When we used static variables only in the model, TRANS had effect on SURV1. But when we used more time points of TRANS status, we saw a very insignificant effect of TRANS on SURV1. So it is strengthful to use time-dependent variables if it is, meanwhile it should be caution to use time-dependent modle since that if not it will cause much time in running model and cost much time to investigate and demonstrate it. So before we use time-dependent model, we must test its PH assumption and search for clinical expert suggestions.  ASSESS PH ASSUMPTION  There are three general approaches for assessing the PH assumption, again listed here, graphical, goodness of fit and time-dependent variables

GRAPHICAL

We now briefly overview each approach, starting with graphical techniques. Totally, 2 types of plots are involved. The quick and easy one is the Kaplan-Meier plot which estimates of the survival function to checks of proportional hazards. If proportional hazards hold, the graphs of the surival function should look "parallel", in the sense that they should have basically the same shape, should not cross, and should start close and then diverge slowly through follow up time.  

Page 8: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

 

There is another type of graphical technique available. The mose popular one, it involves comparing estimated ln(–ln) survivor curves over different (combinations of) categories of variables being investigated. Based on below calculation, Parallel curves indicate that the PH assumption is satisfied.

 

 

   

From plot methods, it is easy to get an idea, but the big issue is that how ‘Parallel’ is parallel? From above two kinds of plots, it seems that we can find any time-dependent clue. But how ‘Parallel’ is Parallel? We would like to find one value with statistical meaning. Beyond this method, we have alternative method to test PH assumption.

GOODNESS OF FIT

Page 9: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

 

A famous method for evaluating PH assumption is to examine the Schoenfeld residuals. The Schoenfeld residual is defined as the difference between covariate for observation and the weighted average of the covariate values for all subjects still at risk when observation experiences the event.

For covariate xk, it is the difference between the ith individual’s covariate, xik, and the “expected” value of xk for all people at risk, where pj is the probability that person j had event at time ti. Schoenfeld residuals are mainly used to detect departures from the proportional hazards assumption. If there is a pattern in these residuals against survival time, the PH assumption is questionable. If PH satisfied, plots will show no trend over time and its average is 0 across time.

Additionly, we can also take expected function, It can be shown that:

Where βk(ti) is a time dependent coefficient (or, alternatively, the corresponding covariate is time dependent). We also assess PH from β coefficent.

Firstly, we would like to use residual plot to get a rough idea. This can be attrived by Proc PHREG to get Schoenfeld residual.

And then get its residual trend with according survival time,

 

 

Page 10: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

10 

 

From above plot, we find that lack of residuals for long survival times for the ‘trans’ covariate as in red ellipses, it indicates a possible time dependent coefficient. As it turns out, a time dependent covariate analysis was required for this dataset. This is just a plot impression, we would like more to see its relationship, since that the idea behind the statistical test is that if the PH assumption holds for a particular covariate then the Schoenfeld residuals for that covariate will not be related to survival time. So it is better to get its relation coefficient and its P value to test significance or not.

And the result is as below.

And the result is as below,

From Schoenfeld residual plot and its rank test, we see that Schoenfeld residual correlation with survival time, PH assumption violated significantly at P=0.01 level.

There is another good of fitness method for PH assessment via Proc PHREG also. The procedure, developed by Lin, Wei, and Zing (1990), can detect violations of proportional hazards by using a transform of the Schoenfeld residuals known as the empirical score process. The empirical score process under the null hypothesis of no model misspecification can be approximated by zero mean Guassian processes, and the observed score process can be compared to the simulated processes to asses departure from proportional hazards.

It is easy to execute, adding ph options on the assess statement. All the exploratory variables will be assessed this way. We also specify the resample option, which performs a supremum test of the null hypothesis that PH assumption holds. Essentially, the supremum tests calculate the proportion of 1000 simulations that contain a maximum standardized score larger than the observed maximum standardized score. This proportion is reported as the p-value. If only a small proportion, say 0.05, of the simulations have a standardized score larger than the observed maximum, then that suggests that violation of proportional hazard.

Page 11: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

11 

 

Let’s look at the model with just a linear effect for TRANS.

We find that the solid lines represent the observed standardized score, while dotted lines represent 20 simulated sets of standardized score under the null hypothesis that PH assumption holds. A solid line that falls significantly outside the boundaries set up collectively by the dotted lines suggest that observed standardized score do not conform to the expected standardized score. This graph look particularly alarming and the supremum tests are significant, suggesting that PH assumption violated.

TIME-DEPENDENT VARIABLES

There is still another method to test PH assumption, it is just like time-dependent method, putting time related (suppose) variable into PH COX model to test its significient use -2 L test. This is simple but with more clinical science and so without additionally specify in this paper.

CLONCLUSION

In this paper we introduce extended COX model via PH COX model and then have shown an example with two methods used to handle time-varying covariates, count process and programming statement. We prefer the counting process. We prefer to use one to validate another one for robustness. It is strengthful to use time-dependent variables if it is, meanwhile it should be caution to use time-dependent model since that if not it will cause much time in running model and cost much time to investigate and demonstrate it. So before we use time-dependent model, we must test it PH assumption and search for clinical expert suggestion. We also introduce some methods to check PH assumption, it is important, and will favor an object outcome. So before using time-dependent model, we must test PH assumption and ask for expert’s suggestion in case of over fitting model or under estimate model. Additionly, they can not do without PROC PHREG, a very useful tool. 

Page 12: Time-Dependent Covariate Survival More in PROC … Covariates “Survival” More in PROC PHREG ... two methods to handle time-dependent variable in PHREG

12 

 

REFERENCE

M. Gail, K. Krickeberg, J.M. Samet, A. Tsiatis, W. Wong(2012) Survival Analysis A Self-Learning Text Third Edition Allison, P. D. (2010) Survival Analysis Using SAS: A Practical Guide: Sas Inst Teresa M. Powell, Melissa E. Bagnell(2012), Your “Survival” Guide to Using Time‐Dependent Covariates Mark Jones (2016), Time-dependent bias in observational studies of oseltamivir SAS Seminar (2014) Introduction to Survival Analysis in SAS CONTACT INFORMATION

Your comments and questions are valued and encouraged. Contact the author at: Name: Fengying Xue Enterprise: Sanofi R&D China Address: 2th Floor, HNA Plaza, No 108, Jianguo Road, Chaoyang District City, State ZIP: Beijing, 100022 Work Phone: 86 10 6563 4915 E-mail: [email protected] Name: Michael Lai Enterprise: Sanofi R&D China Address: 2th Floor, HNA Plaza, No 108, Jianguo Road, Chaoyang District City, State ZIP: Beijing, 100022 Work Phone: 86 10 6563 4900 E-mail: [email protected]