Generalized Poisson Distribution
dgp.Rd
Probability function of a random variable with Generalized Poisson distribution.
Arguments
- y
Vector of integer values, with \(y \geq 0\).
- mu
The mean parameter, with \(\mu > 0\).
- phi
The dispersion parameter, with \(\phi \geq 0\).
Examples
pg(0L:100L, mu = 0.5, phi = 0.7) |> sum()
#> Error in pg(0L:100L, mu = 0.5, phi = 0.7): could not find function "pg"