Replies: 1 comment
-
Update here. I still seem to be unable to control the convergence by setting ftol, but it turns out that the error was not due to convergence issues (that was only a warning). The error was that in the very last iteration, some non-integer times get passed to the function, but it is a discrete time model. So I added a hack to convert them to integers (see below). I don't understand where those times came from since the data we input only contains integers. Thanks again for the help here!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. I am trying to implement a new class based on the BetaGeometric Survival model popularized by Fader & Hardie. I have a start on that class here, and I think the model is doing close to the right thing and converged, but I get an error still even when the model has found the values of alpha & beta that I expect. Here's the class and an example:
-- beta-geometric class --
-- example (with estimated alpha & beta & log likelihood to compare) --
Beta Was this translation helpful? Give feedback.
All reactions