twolodzko / extraDistr

Additional univariate and multivariate distributions
51 stars 11 forks source link

add truncated negative binomial #25

Open mfansler opened 2 years ago

mfansler commented 2 years ago

This adds a truncated negative binomial distribution, including support for both prob and mu parameterizations. Tests are included, covering a similar regimen as truncated Poisson.

Description is updated to minor bump the version, include the new distribution, and add authorship.

twolodzko commented 2 years ago

Could you rebase with master? I made some minor fixes.

twolodzko commented 2 years ago

Besides the refactor, I don't have other comments.