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
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) 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
of 5 or 10 and proportion of zero inflation
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
- Fish counts "… suppose we recorded the number of fish caught on various lakes in 4-hour fishing trips to Minnesota. Some lakes in Minnesota are too shallow for fish to survive the winter, so fishing in those lakes will yield no catch. On the other hand, even on a lake where fish are plentiful, we may or may not catch any fish due to conditions or our own competence. Thus, the number of fish caught will be zero if the lake does not support fish, and will be zero, one or more if it does."
- Number of wisdom teeth extracted.[1] The number of wisdom teeth that a person has had extracted can range from 0 to 4. Some individuals, about one-third of the population, do not have any wisdom teeth. For these individuals, the number of wisdom teeth extracted will always be zero. For other individuals, the number extracted will be between 0 and 4, where a 0 indicates that the subject has not yet, and may never, have any of their 4 wisdom teeth extracted.
- Publications by PhD candidates. Long examined the number of publications by 915 doctoral candidates in biochemistry in the last three years of their PhD studies. The proportion of candidates with zero publications exceeded the number predicted by a Poisson model. "Long argued that the PhD candidates might fall into two distinct groups: "publishers" (perhaps striving for an academic career) and "non-publishers" (seeking other career paths). One reasonable form of explanation is that the observed zero counts reflect a mixture of the two latent classes – those who simply have not yet published and those who will likely never publish."
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=yi)=(1-\pi)
, yi=1,2,3,...
where the outcome variable
has any non-negative integer value,
is the expected Poisson count for the
th individual;
is the probability of extra zeros.
The mean is
and the variance is
.
Estimators of ZIP parameters
The method of moments estimators are given by[3]
where
is the sample mean and
is the sample variance.
The maximum likelihood estimator[4] can be found by solving the following equation
}) = \hat_ \left(1 - \frac \right).
where
is the observed proportion of zeros.
A closed form solution of this equation is given by[5]
with
being the main branch of Lambert's W-function
[6] and
.
Alternatively, the equation can be solved by iteration.[7]
The maximum likelihood estimator for
is given by
}.
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
is such that the probability of zero is larger than the probability of nonzero, namely
then the discrete data
obey discrete pseudo
compound Poisson distribution.
[10] In fact, let
be the probability generating function of
. If
, then
|G(z)|\geqslantp0-
pi=2p0-1>0
. Then from the
Wiener–Lévy theorem,
[11]
has the probability generating function of the discrete pseudo
compound Poisson distribution.
We say that the discrete random variable
satisfying probability generating function characterization
GY(z)=
P(Y=n)zn=
\alphakλ(zk-1)\right), (|z|\le1)
has a discrete pseudo compound Poisson distribution with parameters
(λ1,λ2,\ldots)=(\alpha1λ,\alpha2λ,\ldots)\inRinfty\left(
\alphak=1,
|\alphak|<infty,\alphak\inR,λ>0\right).
When all the
are non-negative, it is the discrete
compound Poisson distribution (non-Poisson case) with
overdispersion property.
See also
Software
Notes and References
- Web site: Biostatistics II. 1.3 - Zero-inflated Models . . July 1, 2022.
- 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 .
- 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 .
- Book: Johnson . Norman L.. Kotz . Samuel . Kemp . Adrienne W. . 1992 . Univariate Discrete Distributions . 2nd . Wiley . 312–314 . 978-0-471-54897-3 .
- 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 .
- 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 .
- 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.
- 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.
- 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.
- 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.
- Book: Zygmund, A. . 2002 . Trigonometric Series. Trigonometric Series . Cambridge University Press . Cambridge . 245 .