Dear list, is there a function available which provides an estimate of the hazard function based on a cox proportional hazard model? I only found the cumulative hazard and the survival function as survfit options. Thanks for your help Peter
The hazard function is the derivative of the cumulate hazard. There was a discussion only a few days ago on smoothing the hazard rate, which as I recall may have dealt with smoothing the cumulative hazard and then differentiating that. Have you checked http://www.r-project.org/ -> search -> "R site search"? I just got 24 hits for "smooth hazard". If you don't get the answer from someone else here and an R site search does not produce what you want, then try r-help again. hope this helps. spencer graves Dr. Peter Schlattmann wrote:> Dear list, > > is there a function available which provides an estimate of the hazard > function > based on a cox proportional hazard model? I only found the cumulative > hazard and the survival function as survfit options. > > Thanks for your help > Peter > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
library(survival)
?basehaz
gives
For `basehaz', a dataframe with the baseline hazard, times, and
strata.
Ruud
*********** REPLY SEPARATOR ***********
On 7/11/2003 at 4:01 Dr. Peter Schlattmann wrote:
>Dear list,
>
>is there a function available which provides an estimate of the hazard
>function
>based on a cox proportional hazard model? I only found the cumulative
>hazard and the survival function as survfit options.
>
>Thanks for your help
>Peter
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help