Cumulative probability mass of the generalized Poisson distribution {gp} | R Documentation |
Cumulative probability mass of the generalized Poisson distribution
Description
Cumulative probability mass of the generalized Poisson distribution.
Usage
pgp(y, theta, lambda)
Arguments
y |
A vector with non negative integer values. |
theta |
The value of the |
lambda |
The value of the |
Details
The cumulative probability mass of the generealized Poisson distribution is computed.
Value
A vector with the probabilities.
Author(s)
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
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.
See Also
Examples
y <- rgp(1000, 10, 0.5, method = "Inversion")
a <- gp.mle(y)
pgp(y[1:10], a[1], a[2])
[Package gp version 1.1 Index]