For observed proportions and fitted proportions , the binomial deviance is
A second-order Taylor expansion around gives
the generalized Pearson chi-squared statistic. Under the fitted binomial model this is approximately . The observed deviance is , whose upper-tail probability is about . Since this exceeds , there is no significant evidence of overdispersion.