
A negative binomial with the zero share and mean of any zero-inflated Poisson
Source:R/ledger_scan2.R
morie_nb_matches_zip.RdFor ZIP(pi, lambda) the mean is \((1-\pi)\lambda\) and the zero
probability \(\pi + (1-\pi)e^{-\lambda}\), strictly between \(e^{-\mu}\)
and 1. The negative binomial zero probability \((1+\mu/\theta)^{-\theta}\)
runs continuously from 1 to \(e^{-\mu}\), so some \(\theta\) matches
(Research.P7.ZeroInflation.nb_matches_zip): the zero share with the
mean cannot tell inflation from heterogeneity.