The Gamma Count Distribution

Usage

dgammacount(y, m, s)
pgammacount(q, m, s)

Arguments

y vector of frequencies
q vector of quantiles
m vector of probabilities
s vector of overdispersion parameters

Value

These functions provide information about the gamma count distribution with parameters m and s. dgammacount gives the density and pgammacount gives the distribution function.

The gamma count distribution with prob = m has density

p(y) = pgamma(m s, y s, 1)-pgamma(m s, (y+1) s, 1)

for y = 0, ..., n where pgamma(m s, 0, 1)=1.

Author(s)

J.K. Lindsey

See Also

dpois for the Poisson, ddoublepois for the double Poisson, and dmultpois for the multiplicative Poisson distributions.

Examples

dgammacount(5,5,0.9)
pgammacount(5,5,0.9)


[Package Contents]