I have successfully got summary output from 'coxph'. However, now I am curious how to get the hazard ratio from these numbers? Is there a calculation I can do with what I have, or is there a certain code in R that will produce what I want?Output Image
Asked
Active
Viewed 1,451 times
1 Answers
1
The hazard ratio is represented by the exp(coef)
column of the coxph()
output.
For each treatment group, exp(coef)
gives the hazard against whatever you're using as the control or baseline group.

andrew_reece
- 20,390
- 3
- 33
- 58
-
Thanks for the help! That makes sense, but now I am confused why my exp(coef) numbers are so big...? The hazard ratios don't seem right. – Carson May 23 '18 at 04:39
-
You're welcome. Re large ratios, might be a better question for CrossValidated. You can start [here](https://stats.stackexchange.com/questions/32225/cox-proportional-hazard-model-and-interpretation-of-coefficients-when-higher-cas?rq=1)... – andrew_reece May 23 '18 at 04:43