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

Add Geometric distribution #3098

Open
jachymb opened this issue Jul 30, 2024 · 0 comments
Open

Add Geometric distribution #3098

jachymb opened this issue Jul 30, 2024 · 0 comments
Labels
distributions Issues that deal with distribution functions: pdf, pmf, cdf good first issue

Comments

@jachymb
Copy link

jachymb commented Jul 30, 2024

Description

Add support for the geometric distribution and the corresponding GLM. It's a special case of the negative binomial distribution (when n=1 in the usual parametrization) which is already supported, so I believe it should be relatively straightforward to implement. Arguably, geometric distribution is not some exotic distribution, so users may expect to have that available.

The expected advantages of having this are:

  • Prettier/better readable stan code
  • Possibly some performance gain compared to using the NB distribution
@spinkney spinkney added good first issue distributions Issues that deal with distribution functions: pdf, pmf, cdf labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributions Issues that deal with distribution functions: pdf, pmf, cdf good first issue
Projects
None yet
Development

No branches or pull requests

2 participants