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.
https://gist.github.com/springcoil/ac468059cf98c8659bf0c44297f79878.js
It should work also with Cox PH. And other models.