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 alternative parametrization to negative binomial #122

Merged
merged 4 commits into from
Dec 7, 2022
Merged

Conversation

aloctavodia
Copy link
Contributor

This also makes the mu, alpha parametrization the main one and add some missing tests. As a side-effect the old tests should be less brittle.

@codecov-commenter
Copy link

Codecov Report

Merging #122 (8d4bbdb) into main (62dabb2) will decrease coverage by 0.08%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
- Coverage   77.84%   77.76%   -0.09%     
==========================================
  Files          16       16              
  Lines        1936     1956      +20     
==========================================
+ Hits         1507     1521      +14     
- Misses        429      435       +6     
Impacted Files Coverage Δ
preliz/tests/test_distributions.py 100.00% <ø> (ø)
preliz/tests/test_maxent.py 100.00% <ø> (ø)
preliz/distributions/discrete.py 95.45% <83.33%> (-3.80%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aloctavodia aloctavodia merged commit 1ba7a63 into main Dec 7, 2022
@aloctavodia aloctavodia deleted the negbin2 branch December 7, 2022 16:12
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

Successfully merging this pull request may close these issues.

2 participants