Calculate the single-window statistic for the zero-inflated Poisson distribution using the EM algorithm.
window_zip_statistic(p, mu, y, ...)A numeric vector of the given/estimated excess zero probabilities corresponding to each count.
A numeric vector of the given/estimated Poisson expected value
parameters corresponding to each count. Of same length as p.
An integer vector of the observed counts, of same length as
p.
Named parameters passed to zip_em_estimates.
A scalar, the (logarithm of the) ZIP statistic.