Density computation of the generalized Poisson distribution: Density computation of the generalized Poisson distribution
Description
Density computation of the generalized Poisson distribution.
Usage
dgp(y, theta, lambda, logged = TRUE)
Value
A vector with the logged density values.
Arguments
y
A vector with non negative integer values.
theta
The value of the \(\theta\) parameter.
lambda
The value of the \(\lambda\) parameter.
logged
Should the logarithm of the density values be computed? The default value is TRUE.
Author
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Details
The density of the generealized Poisson distribution is computed.
References
Nikoloulopoulos A.K. & Karlis D. (2008). On modeling count data: a comparison of some well-known discrete distributions. Journal of Statistical Computation and Simulation, 78(3): 437--457.
Demirtas H. (2017). On accurate and precise generation of generalized Poisson variates. Communications in Statistics - Simulation and Computation, 46(1): 489--499.