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
Characterization of negative binomial extended to the reals #115
Comments
Hi @boxtown, what was the original reasoning behind making |
If it turns out later that there is sufficient demand for a continuous version, then perhaps a new distribution could be added then, with a name such as |
On the other hand,
Could you explain what goes wrong? How does |
* Uncomment the check_discrete_distribution tests. * Expand the documentation--explain the meaning of `r` and `p`. * Note that `r` can be real. Closes statrs-devgh-115.
* Uncomment the check_discrete_distribution tests. * Expand the documentation--explain the meaning of `r` and `p`. * Note that `r` can be real. Closes statrs-devgh-115.
* Uncomment the check_discrete_distribution tests. * Expand the documentation--explain the meaning of `r` and `p`. * Note that `r` can be real. Closes gh-115. Co-authored-by: Michael Ma <michael60612@gmail.com>
See 6b2c726#diff-8f4094da35079696cbcdd4a269333ad0R101 for a little more context.
We're currently allowing the negative binomial distribution to accept positive real
r
values as it seems to be a common use case. However, this causes the CDF to behave continuously rather than like in other discrete distributions which breaks our internalcheck_discrete_distribution
test.I'm not familiar enough with this particular distribution to provide much guidance but there are a couple options:
Option 1 seems a vastly superior choice but possibly semantically wrong (although also possibly to the point of pedantry)
The text was updated successfully, but these errors were encountered: