instantaneous hazard #1509
-
Hello, is there a function which returns the instantaneous hazard rate instead of the cumulative hazard rate? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
CamDavidsonPilon
Mar 25, 2023
Replies: 1 comment 1 reply
-
Sure, you can use something like: https://lifelines.readthedocs.io/en/latest/Survival%20analysis%20with%20lifelines.html#smoothing-the-hazard-function For parametric models, there is the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
weihevt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure, you can use something like: https://lifelines.readthedocs.io/en/latest/Survival%20analysis%20with%20lifelines.html#smoothing-the-hazard-function
For parametric models, there is the
hazard_at_times
function: https://lifelines.readthedocs.io/en/latest/Survival%20analysis%20with%20lifelines.html#other-parametric-models-exponential-log-logistic-log-normal-and-splines