Skip to content

Commit

Permalink
Add reference for generator function
Browse files Browse the repository at this point in the history
  • Loading branch information
ally-lee authored and mjhajharia committed Jan 3, 2022
1 parent f6d6890 commit 39a608c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pymc/distributions/discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,10 @@ class GeneralizedPoisson(Discrete):
Consul, PoC, and Felix Famoye. "Generalized Poisson regression model."
Communications in Statistics-Theory and Methods 21.1 (1992): 89-109.
The generator function is taken from
Famoye, Felix. "Generalized Poisson random variate generation." American
Journal of Mathematical and Management Sciences 17.3-4 (1997): 219-237.
The pmf of this distribution is
.. math:: f(x \mid \theta, \lambda) =
Expand Down

0 comments on commit 39a608c

Please sign in to comment.