Write for the colony count and for the dose on plate . The first fit is the Poisson regressionThus its log-likelihood isThe Poisson deviance relative to the saturated model iswhere a summand with uses .
At dose zero the fitted expected value is eradicated colonies. Increasing dose by one unit multiplies the fitted mean by ; for example, an increase of units multiplies it by about . The positive fitted effect is small and its displayed two-sided -value, , gives little evidence against a zero dose coefficient.
For the Poisson variance function , the code computes the Pearson chi-squared statisticand the Pearson dispersion estimatorThe first quantity measures goodness of fit; the second estimates the dispersion parameter, which equals one in a correctly specified Poisson regression. A standard rough calculation substitutes the residual deviance for the Pearson statistic and givesIf the reported upper-tail probability is inverted numerically, the actual Pearson statistic used by the code is about , giving . Either calculation reveals severe overdispersion.
The Pearson goodness-of-fit test has null hypothesis that the independent counts follow the fitted Poisson regression, in particular , against the alternative that the model does not fit; in this setting the scientifically relevant direction is overdispersion, . Under the null, is approximately chi-squared distribution with degrees of freedom. Its tiny -value decisively rejects the Poisson variance assumption.
The negative binomial regression keeps the logarithmic mean model but allows . It improves the residual deviance from to , close to its residual degrees of freedom, and lowers the Akaike information criterion from to . Both comparisons strongly favour the negative-binomial fit, although its dose coefficient remains statistically insignificant.
The variance approaches the Poisson distribution variance when . Equivalently, with , the Poisson model is the boundary value . The usual Wilks theorem for a likelihood-ratio test assumes that the null parameter is an interior point of a smooth parameter space, so comparing the statistic with an ordinary law is invalid here.
A valid parametric bootstrap proceeds as follows. First fit the null Poisson model and retain its fitted means . For each bootstrap repetition , independently simulateusing the original doses, refit both the Poisson and negative-binomial models to that simulated data, and calculateFor the observations calculate the analogous . The bootstrap -valueuses the null distribution with its boundary and finite-sample fitting behaviour automatically reproduced. A large controls the Monte Carlo error of this estimate.
Articles by others on the same topic
There are currently no matching articles.