[Paper Review] Goodness of fit statistics for sparse contingency tables
This paper proposes corrected versions of Pearson’s chi-square (Q) and Kullback’s G statistics for goodness-of-fit testing in sparse contingency tables with zero cells. The corrections adjust for underestimation of small cell probabilities, preserving asymptotic chi-square distribution while improving Type I and II error control in sparse data, validated via Monte Carlo simulations and applied to ecological and epidemiological data.
Statistical data is often analyzed as a contingency table, sometimes with empty cells called zeros. Such sparse tables can be due to scarse observations classified in numerous categories, as for example in genetic association studies. Thus, classical independence tests involving Pearson's chi-square statistic Q or Kullback's minimum discrimination information statistic G cannot be applied because some of the expected frequencies are too small. More generally, we consider goodness of fit tests with composite hypotheses for sparse multinomial vectors and suggest simple corrections for Q and G that improve and generalize known procedures such as Ku's. We show that the corrected statistics share the same asymptotic distribution as the initial statistics. We produce Monte Carlo estimations for the type I and type II errors on a toy example. Finally, we apply the corrected statistics to independence tests on epidemiologic and ecological data.
Motivation & Objective
- Address the limitation of classical chi-square and G statistics in sparse contingency tables with zero cells.
- Improve Type I and Type II error rates in sparse multinomial data where expected frequencies are below 0.5.
- Generalize and improve upon Ku’s correction method for G and Q statistics in sparse tables.
- Ensure corrected statistics retain the same asymptotic chi-square distribution as original ones under the null hypothesis.
- Provide a practical, robust alternative to Fisher’s exact test and cell collapsing in high-dimensional sparse tables.
Proposed method
- Propose corrected statistics $ Q^{ab} $ and $ G^{ab} $ that adjust for the number of zero cells $ c $ in the contingency table.
- Modify the maximum likelihood estimator $ p^* $ by redistributing zero-cell frequencies to non-zero cells using a likelihood-based allocation scheme.
- Use a likelihood inequality to ensure the corrected estimator maximizes the likelihood under the constraint of zero cell frequencies.
- Apply the corrected statistics $ Q^{ab} $ and $ G^{ab} $ to test composite goodness-of-fit hypotheses under $ H_0 $: $ p = p^0(\theta) $.
- Preserve the asymptotic $ \chi^2_{R-s-1} $ distribution by proving convergence in distribution under $ H_0 $, extending Birch’s regularity conditions.
- Validate the method via Monte Carlo simulations on a toy example with $ R=18 $, $ c=7 $, and $ s=17 $, assessing type I and II error rates.
Experimental results
Research questions
- RQ1How can Pearson’s chi-square and Kullback’s G statistics be corrected to maintain validity in sparse contingency tables with zero cells?
- RQ2Do the corrected statistics $ Q^{ab} $ and $ G^{ab} $ retain the same asymptotic chi-square distribution as the original statistics?
- RQ3What is the impact of the proposed corrections on Type I and Type II error rates in sparse multinomial data?
- RQ4How do the corrected statistics compare to existing methods like Fisher’s exact test or cell collapsing in real-world ecological and epidemiological data?
- RQ5Can the corrected statistics reliably detect associations in high-dimensional sparse tables where classical tests fail?
Key findings
- The corrected statistics $ Q^{ab} $ and $ G^{ab} $ maintain the same asymptotic $ \chi^2_{R-s-1} $ distribution as the original $ Q $ and $ G $ under the null hypothesis.
- Monte Carlo simulations on a $ 3 \times 6 $ table ($ R=18 $, $ c=7 $, $ s=17 $) showed improved error control, with $ Q^{ab}=20.68 $ and $ G^{ab}=26.05 $ exceeding the $ \chi^2_{0.95,10}=18.31 $ threshold.
- In the ecological data example, both $ G^{ab} $ and $ Q^{ab} $ rejected the null hypothesis, indicating significant association between trophic level and vegetation composition.
- The corrected statistics detected that rare species prefer oligotrophic rivers, while polluto-tolerant species dominate in eutrophic environments, confirming ecological patterns.
- The method effectively handles tables with expected frequencies below 0.5 and avoids the need for cell collapsing or computationally intensive Fisher’s exact test.
- Theoretical proof confirms that $ C_n $, the number of zero cells, converges to 0 almost surely as sample size increases, supporting the asymptotic validity of the corrections.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.