Learn R Programming

COMPoissonReg (version 0.8.1)

ZICMP Distribution: 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)

Value

dzicmp

density,

pzicmp

cumulative probability,

qzicmp

quantiles,

rzicmp

generate random variates,

ezicmp

expected value. and

vzicmp

variance.

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 COMPoissonReg.control object from get.control or NULL to use global default.

n

number of observations.

q

vector of probabilities.

log.p

logical; if TRUE, probabilities p are given as \(\log(p)\).

Author

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.