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)

rzicmp(n, lambda, nu, p)

pzicmp(x, lambda, nu, p)

qzicmp(q, lambda, nu, p, log.p = FALSE)

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.

n

number of observations.

q

vector of probabilities.

log.p

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

Value

dzicmp

gives the density,

pzicmp

gives the cumulative probability,

qzicmp

gives the quantile value, and

rzicmp

generates random numbers.

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.7.0 Index]