survshap icon indicating copy to clipboard operation
survshap copied to clipboard

Expected Future Lifetime

Open hrafnfaedhir opened this issue 2 years ago • 1 comments

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

hrafnfaedhir avatar Jan 31 '24 19:01 hrafnfaedhir

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.

krzyzinskim avatar Feb 02 '24 13:02 krzyzinskim