dcmp: Conway-Maxwell-Poisson Distribution

Description Usage Arguments Functions References

Description

Density, distribution function and random generaton for the Conway-Maxwell-Poisson distribution with parameters logmu and lognu.

Usage

1
2
3
4
5
dcmp(x, lognu, logmu, maxiter = 50)

pcmp(q, lognu, logmu, maxiter = 50)

rcmp(logmu, lognu, maxiter = 50)

Arguments

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.

Functions

References

[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.


HVoltBb/konez documentation built on Nov. 7, 2019, 1:30 a.m.