CMP Distribution {COMPoissonReg} | R Documentation |
Functions for the COM-Poisson distribution.
dcmp(x, lambda, nu, log = FALSE) pcmp(x, lambda, nu) qcmp(q, lambda, nu, log.p = FALSE) rcmp(n, lambda, nu)
x |
vector of quantiles. |
q |
vector of probabilities. |
n |
number of observations. |
lambda |
rate parameter. |
nu |
dispersion parameter. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
dcmp
gives the density,
pcmp
gives the cumulative probability,
qcmp
gives the quantile function, and
rcmp
generates random values.
Kimberly Sellers
Kimberly F. Sellers & Galit Shmueli (2010). A Flexible Regression Model for Count Data. Annals of Applied Statistics, 4(2), 943-961.