Open gmckinnon opened 7 years ago
I would love this PR. I have had it in the back of my mind, but not really had the opportunity to dig into the literature and figure it out.
Even if you could do that part, and skip the implementation, that would be appreciated.
Hi Cam, Am I wrong in assuming I could use your existing code for generating individual cumulative hazards but substitute the confidence interval values from the aaf.confidence_intervals function and then take the exponential of the negative value for both upper and lower bounds?
I have done this and while the upper confidence bound seems quite high overall it seems to work.
maybe - that sounds sensible, but I'm not 100% sure that's accurate
Anyone figure this out?
Any chance someone has coded something up to return the confidence intervals along with the predicted survival curve from a additive model?
Ideally you could run the predict_survival_function with a option to include the confidence interval from confidenceintervals
If not I'll code it up and submit it if it would be worth including
cheers,