Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hazard rate optimisation with bins #72

Open
erex opened this issue Dec 23, 2022 · 2 comments
Open

Hazard rate optimisation with bins #72

erex opened this issue Dec 23, 2022 · 2 comments

Comments

@erex
Copy link
Member

erex commented Dec 23, 2022

Prompted by this user question regarding failure of mrds 2.2.8 to fit a hazard rate to binned data with error

Error in integrate: the integral is probably divergent. All models failed to fit.

while mrds 2.1.18 (circa 2018) was able to fit the hazard rate data to the same model. The natural question is "What does DistWin do?"

The answer is that DistWin is successfully able to fit said model to said data without the error message. Note, the binning with DistWin was done with cutpoints 0, 99, 199, 299, 399 to align with how ds bins when argument cutpoints=c(0,100,200,300,400).

Hence mrds 2.2.8 falls farther from DistWin hazard rate optimisation (for this data set) than did mrds 2.1.18

Data provided by user and available (along with DistWin project) upon request

@LHMarshall
Copy link
Member

@erex let's discuss this at next dist dev

@lenthomas
Copy link
Member

@LHMarshall can you please contact the original user and let the know about the new mcds.exe optimizer, and see if that fixes the issue for now (while we do further work on the optimizer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants