CamDavidsonPilon / lifelines

Survival analysis in Python
lifelines.readthedocs.org
MIT License
2.32k stars 551 forks source link

`KaplanMeierFitter.fit_interval_censoring` output format #1510

Open zachsiegel-capsida opened 1 year ago

zachsiegel-capsida commented 1 year ago

Hello!

The KaplanMeierFitter.fit_interval_censoring function has a few lines commented-out regarding setting self.confidence_interval_survival_function_, and correspondingly its output is incomplete. I am noting a requirement that would make this function's interface compatible with your other fitters and fitting methods.

Current behavior

Expected behavior

Your documentation notes the following about KaplanMeierFitter.fit_interval_censoring:

This is new and experimental, and many features are missing.

So, you may already know this.