Presentation on theme: "Lecture 20 Comparing groups Cox PHM. Comparing two or more samples Anova type approach where τ is the largest time for which all groups have at least."— Presentation transcript:
Lecture 20 Comparing groups Cox PHM
Comparing two or more samples Anova type approach where τ is the largest time for which all groups have at least one subject at risk Data can be right-censored for the tests we will discuss
Notation t 1
"name": "Notation t 1
Log-Rank Test Rationale Comparisons of the estimated hazard rate of the jth population under the null and alternative hypotheses If the null is true, the pooled estimate of h(t) should be an estimator for h j (t)
Applying the Test for j = 1,…,K If all Z j (τ)’s are close to zero, then little evidence to reject the null.
Others? LOTS! Gehan test Fleming-Harrington Not all available in all software worth trying a few in each situation to compare inferences
2+ samples Let’s look at a prostate cancer dataset Prostate cancer clinical trial 3 trt groups (doce Q3, doce weekly, Q3 mitoxantrone) 5 PSA doubling times categories outcome: overall survival
R: survdiff ################################# # test for differences by trt grp plot(survfit(st~trt), mark.time=F, col=c(1,2,3)) test1 <- survdiff(st~trt) test2 <- survdiff(st~factor(trt, exclude=3)) test3 <- survdiff(st[trt<3]~trt[trt<3])
Caveat Note that we are interested in the average difference (consider log- rank specifically) What if hazards ‘cross’? Could have significant difference prior to some t, and another significant difference after t: but, what if direction differs?
What about all those differences in our prostate cancer KM curves? Not much evidence of crossing if there isnt overlap, then tests will be somewhat consistent log-rank: most appropriate for ‘proportional hazards’
Example K&M 1.4 Kidney infection data Two groups: patients with percutaneous placement of catheters (N=76) patients with surgical placement of catheters (N=43)
Notice the differences! Situation of varying inferences Need to be sure that you are testing what you think you are testing Check: look at hazards? do they cross? Problem: estimating hazards is messy and imprecise recall: h(t)= derivative H(t)
Misconception Survival curves crossing telling about appropriateness of log-rank Not true: survivals crossing depends on censoring and study length what if they will cross but t range isnt sufficient? Consider: Survival curves cross hazards cross Hazards cross survivals may or may not cross solution? test in regions of t prior to and after cross based on looking at hazards some tests allow for crossing (Yang and Prentice 2005)
Cox Propotional Hazards Model Names Cox regression semi-parametric proportional hazards Proportional hazards model Multiplicative hazards model When? 1972 Why? allows adjustment for covariates (continuous or categorical) in a survival setting allows prediction of survival based on a set of covariates Analogous to linear and logistic regression in many ways
Cox PHM Notation Data on n individuals: T j : time on study for individual j d j : event indicator for individual j Z j : vector of covariates for individual j More complicated: Z j (t) covariates are time dependent they may change with time/age
Basic Model For a Cox model with just one covariate:
Comments on basic model h 0 (t): arbitrary baseline hazard rate. notice that it varies by t β: regression coefficient (vector) interpretation is a log hazard ratio Semi-parametric form non-parametric baseline hazard parametric form assumed only for covariate effects
Linear model formulation Usual formulation Coding of covariates similar to linear and logistic (and other generalized linear models)
Why “proportional”? hazard ratio Does not depend on t (i.e., it is a constant over time) But, it is proportional (constant multiplicative factor) Also referred to (sometimes) as the relative risk.
Simple example one covariate: z = 1 for new treatment, z=0 for standard treatment hazard ratio = exp(β) interpretation: exp(β) is the risk of having the event in the new treatment group versus the standard treatment Interpretation: at any point in time, the risk of the event in the new treatment group is exp(β) times the risk in the standard treatment group
Hazard Ratio: CAP (cyclophosphamide, doxorubicin, cisplatin) versus paclitaxel
Hazard Ratios Assumption: “Proportional hazards” The risk does not depend on time. That is, “risk is constant over time” But that is still vague….. Hypothetical Example: Assume hazard ratio is 0.5. Patients in new therapy group are at half the risk of death as those in standard treatment, at any given point in time. Hazard function= P(die at time t | survived to time t)
Hazard Ratios Hazard Ratio = hazard function for New hazard function for Std Makes assumption that this ratio is constant over time.
Interpretation Again For any fixed point in time, individuals in the new treatment group are at half the risk of death as the standard treatment group.
Hazard ratio is not always valid …. Hazard Ratio =.71
Refresher of coding covariates This should be nothing new Two kinds of ‘independent’ variables quantitative qualitative Quantitative are continuous need to determine scale units transformation? Qualitative are generally categorical ordered nominal coding affects the interpretation
Tests of the model Testing that β k =0 for all k=1,..,p Three main tests Chi-square/Wald test Likelihood ratio test score(s) test All three have chi-square distribution with p degrees of freedom
Example: TAX327 Randomized clinical trial of men with hormone- refractory prostate cancer three treatment arms (Q3 docetaxel, weekly docetaxel, and Q3 mitixantrone) other covariates of interest: psa doubling time lymph node involvement liver metastases number of metastatic sites pain at baseline baseline psa tumor grade alkaline phosphatase hemoglobin performance status
proportional? recall we are making strong assumption that we have proportional hazards for each covariate we can investigate this to some extent via graphical displays but, limited for quantitative variables
“Local” Tests Testing individual coefficients But, more interestingly, testing sets of coefficients Example: testing the psa variables testing treatment group (3 categories) Same as previous: Wald test Likelihood ratio Scores test