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

Wrong Negative Binomial MGF #29

Closed
Achab94 opened this issue Jun 8, 2021 · 1 comment
Closed

Wrong Negative Binomial MGF #29

Achab94 opened this issue Jun 8, 2021 · 1 comment

Comments

@Achab94
Copy link

Achab94 commented Jun 8, 2021

Hi,
The moment generating function of a Negative Binomial distribution is wrong (see 1.1 Discrete Distribution tables).
It should be the MGF of a Geometric distribution (which is indeed correct), raised to the r-th power.

Incorrect version:

Corrected version:

Cheers :)

@mavam mavam closed this as completed in a969564 Jul 27, 2021
@mavam
Copy link
Owner

mavam commented Jul 27, 2021

Correct! Thanks for the bug report and sorry that it took me so long to fix it.

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