Given counts and (estimated) Poisson expected value parameters and excess zero probabilities, this function estimates the indicator variable for an excess zero, for each count.
estimate_d(p, mu, y)A numeric vector, each element being the given/estimated
probability of an excess zero for the corresponding count in y.
A numeric vector, each element being the given/estimated Poisson
expected value parameter for the corresponding count in y. Of same
length as p.
An integer vector containing the observed counts. Of same length as
p.
A numeric vector, of same length as the input vector p.