Re: [R] How to understand the plotting of the cox.zph function

2011-09-15 Thread Jim Trabas
Any insight maybe (sorry for the bump, need this info), JT. -- View this message in context: http://r.789695.n4.nabble.com/How-to-understand-the-plotting-of-the-cox-zph-function-tp376p3814881.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] How to understand the plotting of the cox.zph function

2011-09-06 Thread Jim Trabas
Thank you very much for your answer. I would like to construct for presentation purposes the HR(t), not the beta(t). How can I perform this? I obtained the x-y values of the cox.zph plot time= as.numeric(as.character(rownames(cox.zph.object$y))) HR=exp(cox.zph.object$y[,1]) However when I plo

Re: [R] How to understand the plotting of the cox.zph function

2011-09-06 Thread Terry Therneau
Under the assumption of PH, the graph would be a horizontal line at y= log(2.9) = coefficient of the model. That is, a constant hazard ratio. Your plot shows that there is no effect early (HR of 1) but there is an impact later. Terry T __ R-help@r-pro

[R] How to understand the plotting of the cox.zph function

2011-09-04 Thread Jim Trabas
I have a coxph model which gives me HR of about 2.9 for presence of factor B (factors can be A, B, C, A as baseline in the model), with 95% CI 1.8-4.8 , p<0.001. When checking the proportionality assumption there is significant evidence that there is a violation On the link is the results of the