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

Expected Future Lifetime #30

Open
hrafnfaedhir opened this issue Jan 31, 2024 · 1 comment
Open

Expected Future Lifetime #30

hrafnfaedhir opened this issue Jan 31, 2024 · 1 comment

Comments

@hrafnfaedhir
Copy link

I apologize if I am extrapolating beyond what your package was intended to do. I understand that a large portion of survSHAP(t) is providing explanatory variable analysis. Your paper indicates that SurvSHAP(t) can return an individual's unique survival function given their covariates, distinct from the assumptions in a Cox model. Can your Survival Function be used to calculate an Expected Future Lifetime?
https://en.wikipedia.org/wiki/Survival_analysis#Quantities_derived_from_the_survival_distribution

@krzyzinskim
Copy link
Collaborator

Unfortunately, this is not the functionality of this package.
SurvSHAP(t) returns the contributions of each covariate to the survival function prediction obtained by using another model. The fact is that summing these attributions gives the value of the survival function, but the prediction itself is from external model.

You can find some machine learning survival analysis here, for example: https://scikit-survival.readthedocs.io/en/stable/index.html.

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

2 participants