Description Usage Arguments Details Value Author(s) References See Also Examples
Density, distribution function and random generation function for the generalized Poisson distribution.
1 2 3 |
x |
a vector object of (non-negative integer) quantiles. |
q |
a numeric value. |
n |
number of random values to return. |
lambda1 |
a single numeric value for parameter |
lambda2 |
a single numeric value for parameter |
The generalized Poisson distribution has the density
p(x) = lambda1 (lambda1 + lambda2 x)^(x-1) exp(-lambda1-lambda2 x) )/x!
for x = 0,1,2,…,b
with E(x)=lambda1/(1-lambda2) and variance var(x)=lambda1/(1-lambda2)^3.
dgenpois
gives the density, pgenpois
gives the distribution function and rgenpois
generates random deviates.
Based on Joe and Zhu (2005). Implementation by Vitali Witowski (2013).
Joe, H., Zhu, R. (2005). Generalized poisson distribution: the property of mixture of poisson and comparison with negative binomial distribution. Biometrical Journal 47(2):219–229.
Distributions for other standard distributions, including dpois
for the Poisson distribution.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.