[R] Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors

2010-11-16 Thread Vincent Vinh-Hung
Thanks for sharing the questions and responses! Is it possible to appreciate how much the coefficients matter in one or the other model? Say, using Biau's example, using coxph, as.factor(grade2 == high)TRUE gives hazard ratio 1.27 (rounded). As clinician I can grasp this HR as 27% relative

Re: [R] Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors

2010-11-16 Thread Thomas Lumley
A coefficient of -0.4 means that survival times are multiplied by exp(-0.4), that is, people survival only 67% as long. -thomas On Wed, Nov 17, 2010 at 4:32 AM, Vincent Vinh-Hung anhx...@gmail.com wrote: Thanks for sharing the questions and responses! Is it possible to appreciate how

[R] Re : interpretation of coefficients in survreg AND obtaining the hazard function

2010-11-15 Thread Biau David
Dear Prof Therneau, thank yo for this information: this is going to be most useful for what I want to do. I will look into the ACF model. Yours, David Biau. De : Terry Therneau thern...@mayo.edu Cc : r-help@r-project.org Envoyé le : Lun 15 novembre 2010,

[R] Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors

2010-11-14 Thread Biau David
Dear Prof Lumley, This is a very clear, precise, and useful answer to all my questions. Thank you very much. David Biau. De : Thomas Lumley tlum...@uw.edu Cc : r help list r-help@r-project.org Envoyé le : Dim 14 novembre 2010, 23h 54min 23s Objet : Re: [R]

[R] Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors

2010-11-13 Thread Biau David
Thank you David for your answer, - grade2 is a factor with 2 categories: high and low - yes as.factor is superfluous; it is just that it avoids warnings sometimes. This can be overlooked. - I will look into Terry Therneau answers; he gives a good explanation on how to obtain the hazard for an

Re: [R] Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors

2010-11-13 Thread David Winsemius
On Nov 13, 2010, at 3:24 PM, Biau David wrote: Thank you David for your answer, - grade2 is a factor with 2 categories: high and low So high would be 1 and low would be 2 by default (alpha ordering) factor behavior. as.logical(grade2==high) reverses that order. If you wanted a more