Skip to content
Discussion options

You must be logged in to vote

Hi @Reddon6 - it's not obvious to me how do to this - which is why I've held off on implementing anything. I'm assuming you want to create prediction intervals for different subjects?

The technique in the stats.stackexchange post won't extend to an AFT model, too.

The R lib you linked looks like a good reference though, and seems to favour the delta method (which is used internally for lifelines, as well). If you are familiar with the delta method, all the pieces are available to mimic what they are doing: ex: aft.variance_matrix_, and aft._survival_function (and using a tool like autograd). It would probably be a headache to implement though - so not sure I would go this route for yourself.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Reddon6
Comment options

@CamDavidsonPilon
Comment options

Answer selected by Reddon6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants