Skip to content

conditional_after in WeibullAFTFitter.predict_expectation() #1492

Answered by CamDavidsonPilon
sve007 asked this question in Q&A
Discussion options

You must be logged in to vote

It's not implemented, but the gist of it is that it would rely on an approximation algorithm. To get around this, try:

from lifelines.fitters import ParametricRegressionFitter
super(ParametricRegressionFitter, waft).predict_expecation(..., conditional_after=...)

Hacky, but I can make this better in the next release.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sve007
Comment options

Answer selected by sve007
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