CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.37k stars 560 forks source link

plot_partial_effects_on_outcome confidence intervals #1098

Open pisonir opened 4 years ago

pisonir commented 4 years ago

Hi,

This library is great! I really enjoy using it.

I was wondering...is it possible to plot also the confidence intervals in the method CoxPHFitter().plot_partial_effects_on_outcome()? As it happens e.g. in KaplanMeierFitter().plot() by default.

Thank you! Riccardo

CamDavidsonPilon commented 4 years ago

Hi @pisonir - it's on the roadmap! First is to implement confidence intervals for the predict_ methods, and then extending them to plot_partial_effects_on_outcome.