Boudreau Jean-Francois
2006-Apr-03 18:58 UTC
[R] testing proportional hazard in a Cox model including a time-varying covariate
I am using a syntax like coxph(Surv(start, stop, event) ~ X, data) to estimate the effect of X, which may change at each measurement (every 6 months). Is there anyone who knows a way to test the proportional hazard assumption in that case? Thank you in advance Jean-François Boudreau Sherbrooke University [[alternative HTML version deleted]]
Christos Hatzis
2006-Apr-03 19:10 UTC
[R] testing proportional hazard in a Cox model including atime-varying covariate
See ?cox.zph in library 'survival' -Christos -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Boudreau Jean-Francois Sent: Monday, April 03, 2006 2:58 PM To: r-help at stat.math.ethz.ch Subject: [R] testing proportional hazard in a Cox model including atime-varying covariate I am using a syntax like coxph(Surv(start, stop, event) ~ X, data) to estimate the effect of X, which may change at each measurement (every 6 months). Is there anyone who knows a way to test the proportional hazard assumption in that case? Thank you in advance Jean-Frangois Boudreau Sherbrooke University [[alternative HTML version deleted]]
Thomas Lumley
2006-Apr-03 22:30 UTC
[R] testing proportional hazard in a Cox model including a time-varying covariate
On Mon, 3 Apr 2006, Boudreau Jean-Francois wrote:> I am using a syntax like coxph(Surv(start, stop, event) ~ X, data) to > estimate the effect of X, which may change at each measurement (every 6 > months). Is there anyone who knows a way to test the proportional hazard > assumption in that case?You can use cox.zph(), or you can just put in interactions between X and start. -thomas> > > > Thank you in advance > > > > Jean-Fran?ois Boudreau > > Sherbrooke University > > > > > [[alternative HTML version deleted]] > >Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle
Apparently Analagous Threads
- Cox Proportional Hazard with missing covariate data
- Cox Proportional Hazards model with a time-varying covariate
- p-value for hazard ratio in Cox proportional hazards regression?
- Reporting Kaplan-Meier / Cox-Proportional Hazard Standard Error, km.coxph.plot, survfit.object
- Cox proportional hazard model and coefficients