Adding the Bootstrap to Lifelines regression

I’ve been recently looking at Survival Analysis at work. It’s an incredibly powerful technique however one challenge I had was getting confidence intervals (or something similar to confidence intervals) to work with Aalen Additive.

So largely to allow myself to remember this in future I share the code here 🙂

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

It should work also with Cox PH. And other models.

Leave a Reply

Your email address will not be published.