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

Median and quantiles not correct for AalenJohansen #1549

Open
evannemartin opened this issue Jul 31, 2023 · 0 comments
Open

Median and quantiles not correct for AalenJohansen #1549

evannemartin opened this issue Jul 31, 2023 · 0 comments

Comments

@evannemartin
Copy link

Hello !
I noticed that the parameter median_survival_time_ from AalenJohansenFitter doesn't work as it apparently looks for a survival function.
Instead I applied directly the function median_survival_times() on the cumulative density but the outputs are 0 despite that the median is not reached and "inf" when the median should be reached...
I also have weird results for Q1 as it displays 0 when it should be normally reached. I computed the quantiles with the function qth_survival_times() on cumulative density.
Thank you for your help !

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

No branches or pull requests

1 participant