ZICMP-Distribution: ZICMP Distribution

Description Usage Arguments Value Author(s) References

Description

Computes the density, cumulative probability, quantiles, and random draws for the zero-inflated COM-Poisson distribution.

Usage

1
2
3
4
5
6
7
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.


COMPoissonReg documentation built on Dec. 1, 2019, 1:09 a.m.