Zero-Inflated Negative Binomial Distribution#
Univariate, Discrete, Non-Negative, Zero-inflated
The Zero-Inflated Negative Binomial (ZINB) distribution is a discrete probability distribution used to model count data characterized by an excess of zeros. It combines two components: a NegativeBinomial component, which describe count values and a zero-inflation component, which accounts for the extra zeros.
Key properties and parameters#
Support |
\(x \in \mathbb{N}_0\) |
Mean |
\(\psi\mu\) |
Variance |
\(\psi \left(\frac{{\mu^2}}{{\alpha}}\right) + \psi \mu + \psi \mu^2 - \psi^2 \mu^2\) |
Parameters:
\(\psi\) : (float) Expected proportion of Negative Binomial variates, \(0 \leq \psi \leq 1\).
\(\mu\) : (float) Poisson distribution mean parameter, \(\mu > 0\).
\(\alpha\) : (float) Gamma distribution shape parameter, \(\alpha > 0\).
\(n\) : (int) Number of target success trials, \(n \geq 0\).
\(p\) : (float) Probability of success in each trial, \(0 \leq p \leq 1\).
Alternative Parameterization:
The ZINB distribution can be parametrized either in terms of \(\psi\), \(\mu\) and \(\alpha\) or in terms of \(\psi\), \(n\) and \(p\). The link between the two parameterizations is given by:
Probability Mass Function (PMF)#
Cumulative Distribution Function (CDF)#
The CDF of the Zero-Inflated Negative Binomial distribution is given by:
See also
Common Alternatives:
Zero-Inflated Poisson Distribution - A similar distribution for count data with excess zeros.
Negative Binomial Distribution - A distribution for modeling the number of successes in a sequence of independent and identically distributed Bernoulli trials before a specified number of failures occurs.
Related Distributions:
Zero-Inflated Binomial Distribution - Combines the Binomial distribution with a zero-inflation component, useful for modeling count data with an excess of zeros.