Functions for the COM-Poisson distribution.
dcmp(x, lambda, nu, log = FALSE, control = NULL)rcmp(n, lambda, nu, control = NULL)
pcmp(x, lambda, nu, control = NULL)
qcmp(q, lambda, nu, log.p = FALSE, control = NULL)
ecmp(lambda, nu, control = NULL)
vcmp(lambda, nu, control = NULL)
ncmp(lambda, nu, log = FALSE, control = NULL)
tcmp(lambda, nu, control = NULL)
density,
cumulative probability,
quantiles,
generate random variates,
expected value,
variance,
value of the normalizing constant, and
upper value used to compute the normalizing constant under truncation method.
vector of quantiles.
rate parameter.
dispersion parameter.
logical; if TRUE, probabilities are returned on log-scale.
a COMPoissonReg.control
object from get.control
or NULL
to use global default.
number of observations.
vector of probabilities.
logical; if TRUE, probabilities p
are given as \(\log(p)\).
Kimberly Sellers
Kimberly F. Sellers & Galit Shmueli (2010). A Flexible Regression Model for Count Data. Annals of Applied Statistics, 4(2), 943-961.