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 🙂

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

Leave a Reply

Your email address will not be published. Required fields are marked *