ZICMP Distribution {COMPoissonReg} | R Documentation |
ZICMP Distribution
Description
Computes the density, cumulative probability, quantiles, and random draws for the zero-inflated COM-Poisson distribution.
Usage
dzicmp(x, lambda, nu, p, log = FALSE, control = NULL)
rzicmp(n, lambda, nu, p, control = NULL)
pzicmp(x, lambda, nu, p, control = NULL)
qzicmp(q, lambda, nu, p, log.p = FALSE, control = NULL)
ezicmp(lambda, nu, p, control = NULL)
vzicmp(lambda, nu, p, control = NULL)
Arguments
x |
vector of quantiles. |
lambda |
rate parameter. |
nu |
dispersion parameter. |
p |
zero-inflation probability parameter. |
log |
logical; if TRUE, probabilities are returned on log-scale. |
control |
a |
n |
number of observations. |
q |
vector of probabilities. |
log.p |
logical; if TRUE, probabilities p are given as |
Value
- dzicmp
density,
- pzicmp
cumulative probability,
- qzicmp
quantiles,
- rzicmp
generate random variates,
- ezicmp
expected value. and
- vzicmp
variance.
Author(s)
Kimberly Sellers, Andrew Raim
References
Kimberly F. Sellers and Andrew M. Raim (2016). A Flexible Zero-Inflated Model to Address Data Dispersion. Computational Statistics and Data Analysis, 99, 68-80.
[Package COMPoissonReg version 0.8.1 Index]