Zero-inflated model explained

In statistics, a zero-inflated model is a statistical model based on a zero-inflated probability distribution, i.e. a distribution that allows for frequent zero-valued observations.

Introduction to Zero-Inflated Models

Zero-inflated models are commonly used in the analysis of count data, such as the number of visits a patient makes to the emergency room in one year, or the number of fish caught in one day in one lake. Count data can take values of 0, 1, 2, … (non-negative integer values). Other examples of count data are the number of hits recorded by a Geiger counter in one minute, patient days in the hospital, goals scored in a soccer game, and the number of episodes of hypoglycemia per year for a patient with diabetes.

For statistical analysis, the distribution of the counts is often represented using a Poisson distribution or a negative binomial distribution. Hilbe notes that "Poisson regression is traditionally conceived of as the basic count model upon which a variety of other count models are based." In a Poisson model, "… the random variable

y

is the count response and parameter

λ

(lambda) is the mean. Often,

λ

is also called the rate or intensity parameter… In statistical literature,

λ

is also expressed as

\mu

(mu) when referring to Poisson and traditional negative binomial models."

In some data, the number of zeros is greater than would be expected using a Poisson distribution or a negative binomial distribution. Data with such an excess of zero counts are described as Zero-inflated.

Example histograms of zero-inflated Poisson distributions with mean

\mu

of 5 or 10 and proportion of zero inflation

\pi

of 0.2 or 0.5 are shown below, based on the R program ZeroInflPoiDistPlots.R from Bilder and Laughlin.

Examples of Zero-inflated count data

Zero-inflated data as a mixture of two distributions

As the examples above show, zero-inflated data can arise as a mixture of two distributions. The first distribution generates zeros. The second distribution, which may be a Poisson distribution, a negative binomial distribution or other count distribution, generates counts, some of which may be zeros.

In the statistical literature, different authors may use different names to distinguish zeros from the two distributions. Some authors describe zeros generated by the first (binary) distribution as "structural" and zeros generated by the second (count) distribution as "random". Other authors use the terminology "immune" and "susceptible" for the binary and count zeros, respectively.

Zero-inflated Poisson

One well-known zero-inflated model is Diane Lambert's zero-inflated Poisson model, which concerns a random event containing excess zero-count data in unit time.[2] For example, the number of insurance claims within a population for a certain type of risk would be zero-inflated by those people who have not taken out insurance against the risk and thus are unable to claim. The zero-inflated Poisson (ZIP) model mixes two zero generating processes. The first process generates zeros. The second process is governed by a Poisson distribution that generates counts, some of which may be zero. The mixture distribution is described as follows:

\Pr(Y=0)=\pi+(1-\pi)e

\Pr(Y=yi)=(1-\pi)

yi
λe
yi!

,    yi=1,2,3,...

where the outcome variable

yi

has any non-negative integer value,

λ

is the expected Poisson count for the

i

th individual;

\pi

is the probability of extra zeros.

The mean is

(1-\pi)λ

and the variance is

λ(1-\pi)(1+\piλ)

.

Estimators of ZIP parameters

The method of moments estimators are given by[3]

\hat{λ}mo=

s2+m2
m

-1,

\hat{\pi}mo=

s2-m
s2+m2-m

,

where

m

is the sample mean and

s2

is the sample variance.

The maximum likelihood estimator[4] can be found by solving the following equation

m(1-

-\hat{λ
e
ml
}) = \hat_ \left(1 - \frac \right).

where

n0
n
is the observed proportion of zeros.

A closed form solution of this equation is given by[5]

\hat{λ}ml=W0(-se-s)+s

with

W0

being the main branch of Lambert's W-function[6] and

s=

m
1-
n0
n

.

Alternatively, the equation can be solved by iteration.[7]

The maximum likelihood estimator for

\pi

is given by

\hat{\pi}ml=1-

m
\hat{λ

ml

}.

Related models

In 1994, Greene considered the zero-inflated negative binomial (ZINB) model.[8] Daniel B. Hall adapted Lambert's methodology to an upper-bounded count situation, thereby obtaining a zero-inflated binomial (ZIB) model.[9]

Discrete pseudo compound Poisson model

If the count data

Y

is such that the probability of zero is larger than the probability of nonzero, namely

\Pr(Y=0)>0.5

then the discrete data

Y

obey discrete pseudo compound Poisson distribution.[10]

In fact, let

G(z)=

infty
\sum\limits
n=0

P(Y=n)zn

be the probability generating function of

yi

. If

p0=\Pr(Y=0)>0.5

, then

|G(z)|\geqslantp0-

infty
\sum\limits
i=1

pi=2p0-1>0

. Then from the Wiener–Lévy theorem,[11]

G(z)

has the probability generating function of the discrete pseudo compound Poisson distribution.

We say that the discrete random variable

Y

satisfying probability generating function characterization

GY(z)=

infty
\sum\limits
n=0

P(Y=n)zn=

infty
\exp\left(\sum
k=1

\alphakλ(zk-1)\right),(|z|\le1)

has a discrete pseudo compound Poisson distribution with parameters

(λ1,λ2,\ldots)=(\alpha1λ,\alpha2λ,\ldots)\inRinfty\left(

infty
\sum
k=1

\alphak=1,

infty
\sum\limits
k=1

|\alphak|<infty,\alphak\inR,λ>0\right).

When all the

\alphak

are non-negative, it is the discrete compound Poisson distribution (non-Poisson case) with overdispersion property.

See also

Software

Notes and References

  1. Web site: Biostatistics II. 1.3 - Zero-inflated Models . . July 1, 2022.
  2. Zero-Inflated Poisson Regression, with an Application to Defects in Manufacturing . Diane . Lambert . Diane Lambert . Technometrics . 1992 . 34 . 1 . 1–14 . 1269547. 10.2307/1269547 .
  3. Beckett . Sadie . Jee . Joshua . Ncube . Thalepo . Washington . Quintel . Singh . Anshuman . Pal . Nabendu . Zero-inflated Poisson (ZIP) distribution: parameter estimation and applications to model data from natural calamities . Involve . 2014 . 7 . 6 . 751–767 . 10.2140/involve.2014.7.751. free .
  4. Book: Johnson . Norman L.. Kotz . Samuel . Kemp . Adrienne W. . 1992 . Univariate Discrete Distributions . 2nd . Wiley . 312–314 . 978-0-471-54897-3 .
  5. Dencks . Stefanie . Piepenbrock . Marion . Schmitz . Georg . 2020 . Assessing Vessel Reconstruction in Ultrasound Localization Microscopy by Maximum-Likelihood Estimation of a Zero-Inflated Poisson Model. IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control . 10.1109/TUFFC.2020.2980063. free .
  6. Corless . R. M. . Gonnet . G. H. . Hare . D. E. G. . Jeffrey . D. J. . Knuth . D. E. . 1996 . On the Lambert W Function . Advances in Computational Mathematics . 5 . 1 . 329–359 . 10.1007/BF02124750. 1809.07369 .
  7. Böhning . Dankmar . Dietz . Ekkehart . Schlattmann . Peter . Mendonca . Lisette . Kirchner . Ursula . 1999 . The zero-inflated Poisson model and the decayed, missing and filled teeth index in dental epidemiology . Journal of the Royal Statistical Society, Series A . 162 . 2 . 195–209 . 10.1111/1467-985x.00130.
  8. Greene . William H. . Some Accounting for Excess Zeros and Sample Selection in Poisson and Negative Binomial Regression Models . Working Paper EC-94-10: Department of Economics, New York University . 1994. 1293115.
  9. Zero-Inflated Poisson and Binomial Regression with Random Effects: A Case Study . Daniel B. . Hall . Biometrics. 2000 . 56 . 4. 1030–1039. 10.1111/j.0006-341X.2000.01030.x.
  10. Zhang . Huiming . Yunxiao Liu . Bo Li . Notes on discrete compound Poisson model with applications to risk theory . Insurance: Mathematics and Economics . 59 . 2014. 325–336. 10.1016/j.insmatheco.2014.09.012.
  11. Book: Zygmund, A. . 2002 . Trigonometric Series. Trigonometric Series . Cambridge University Press . Cambridge . 245 .