Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: cox proportional hazard, PHReg, survival function #8518

Open
josef-pkt opened this issue Nov 11, 2022 · 0 comments
Open

ENH: cox proportional hazard, PHReg, survival function #8518

josef-pkt opened this issue Nov 11, 2022 · 0 comments

Comments

@josef-pkt
Copy link
Member

https://stackoverflow.com/questions/74403023/how-to-plot-survival-curve-for-cox-survival-from-statsmodels-api

guessing, I didn't look at it
We need to stitch it together, cox ph maximizes only partial likelihood

Hazard function should be just multiplication by proportionality factor.
But we want also survival function, How do we recover it from the hazard function?

I guess inference like conf_int for it will be very difficult combining baseline uncertainty with PH parameter uncertainty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant