Cumulative probability mass of the generalized Poisson distribution | R Documentation |
Cumulative probability mass of the generalized Poisson distribution.
pgp(y, theta, lambda)
y |
A vector with non negative integer values. |
theta |
The value of the |
lambda |
The value of the |
The cumulative probability mass of the generealized Poisson distribution is computed.
A vector with the probabilities.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
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.
dgp, rgp
y <- rgp(1000, 10, 0.5, method = "Inversion")
a <- gp.mle(y)
pgp(y[1:10], a[1], a[2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.