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

Bug: Mode calculation for Gamma distribution #210

Closed
tessob opened this issue Mar 16, 2024 · 2 comments
Closed

Bug: Mode calculation for Gamma distribution #210

tessob opened this issue Mar 16, 2024 · 2 comments

Comments

@tessob
Copy link
Contributor

tessob commented Mar 16, 2024

Gamma distribution with the following parametrization:

Gamma::new(0.2422859569300416, 0.0000033637229958478293)

produces really weird mode value – Some(-225260.53542615683).

In Wolfram there is no mode for this distribution

@YeungOnion
Copy link
Contributor

It's singular at x=0 for α<1, I suppose wolfram choose none in lieu of x=0, I'd prefer x=0

@YeungOnion
Copy link
Contributor

resolved by #212

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

2 participants