The test compares the
observed proportion of zeros in the data to the expected proportion of zeros
under the null hypothesis of a Poisson distribution. This is done using
estimating equations to account for the fact that the expected proportion is
based on an estimated parameter vector, rather than the true parameter vector.
The test statistic is
\(\hat s = 1/n\sum_i (r_i - \hat p_i)\)
where \(r_i = 1\) if \(y_i = 0\), otherwise \(r_i = 0\), and \(\hat p = dpois(0, exp(X\hat\beta)) = \hat E(r_i)\)
is the estimated proportion of zeros under the assumption of a Poisson distribution
generated with covariates \(X\) and parameter vector \(\hat\beta\).
By the central limit theorem, \(\hat s \sim AN(0, \sigma^2_s)\). However,
estimating \(\hat \sigma_s\) by a plug-in estimate using \(\hat\beta\) is inefficient
due to \(\hat \beta\) being an random variable with its own variance. Thus,
\(\hat\sigma\) is estimated via estimating equations in order to account for the
variance in \(\hat \beta\).
See the references below for more discussion and proofs.