Skip to content

p-value for hazard ratio in Cox proportional hazards regression?

2 messages · Thierry Julian Panje, Joshua Wiley

#
Hi,

I'm new to R and using it for Cox survival analysis. Thanks to this great forum I learned how to compute the HR with its confidence interval. 
My question would be: Is there any way to get the p-value for a hazard ratio in addition to the confidence interval?    

Thanks,
Thierry



--
Thierry Panje                  Visiting Student Researcher
Department of Psychology       Stanford Psychophysiology Lab
450 Serra Mall, Bldg 420       Stanford University
#
Hi Thierry,

Could you give us an example of what exactly you are doing
(preferablly reproducible R code)?  I may be misunderstanding you, but
if you are fitting cox proportional hazard models using the coxph()
function from the surival package, summary(yourmodel) should give the
SE, p-value based on the wald statistic, and 95% CI.

Cheers,

Josh

On Sat, Dec 10, 2011 at 1:13 PM, Thierry Julian Panje
<tpanje at stanford.edu> wrote: