Description Usage Arguments Functions References
Density, distribution function and random generaton for the Conway-Maxwell-Poisson distribution with parameters logmu
and lognu
.
1 2 3 4 5 |
x |
vector of (non-negative integer) quantiles. |
lognu |
the shape parameter using Guikema and Goffelt's (2008) parametrization. |
logmu |
the mean using Guikema and Goffelt's (2008) parametrization. |
maxiter |
integer specifying number of term to keep in calculating the normalizing constant. Defaults to 50. |
q |
vector of quantiles. |
dcmp
: Density function for the CMP distribution.
pcmp
: Distribution function for the CMP distribution.
rcmp
: Generates random numbers from the CMP distribution. This is a wrapper for the k-aggregated CMP random number generator.
[1] Guikema, S. D., & Goffelt, J. P. (2008). A flexible count data regression model for risk analysis. Risk Analysis: An International Journal, 28(1), 213-223.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.