Skip to main content
QUICK REVIEW

[Paper Review] Algebraic Bayesian analysis of contingency tables with possibly zero-probability cells

Guido Consonni, Giovanni Pistone|ArXiv.org|Mar 5, 2007
Bayesian Modeling and Causal InferenceComputer Science22 references7 citations
TL;DR

This paper proposes an algebraic Bayesian framework for contingency table analysis that explicitly models zero-probability cells—both structural and possibly zero-count cells—by treating them as distinct model-instances within a mixture model. Using computational algebraic geometry, it enumerates all possible supports, assigns priors to each model-instance, and derives compatible priors via Dirichlet distributions, yielding Bayes factors that differ substantially from standard log-linear models when zero-probability cells are present.

ABSTRACT

In this paper we consider a Bayesian analysis of contingency tables allowing for the possibility that cells may have probability zero. In this sense we depart from standard log-linear modeling that implicitly assumes a positivity constraint. Our approach leads us to consider mixture models for contingency tables, where the components of the mixture, which we call model-instances, have distinct support. We rely on ideas from polynomial algebra in order to identify the various model instances. We also provide a method to assign prior probabilities to each instance of the model, as well as describing methods for constructing priors on the parameter space of each instance. We illustrate our methodology through a $5 imes 2$ table involving two structural zeros, as well as a zero count. The results we obtain show that our analysis may lead to conclusions that are substantively different from those that would obtain in a standard framework, wherein the possibility of zero-probability cells is not explicitly accounted for.

Motivation & Objective

  • To address the limitations of standard log-linear models that assume strict positivity of cell probabilities, which may obscure substantive modeling insights.
  • To develop a Bayesian framework that explicitly accounts for structural zeros and possibly zero-probability cells in contingency tables.
  • To use algebraic statistics to enumerate and characterize all possible model-instances with varying supports, enabling a more comprehensive model space.
  • To provide a principled method for assigning prior probabilities to each model-instance and deriving compatible priors on their parameter spaces.
  • To demonstrate that standard Bayesian analyses may yield misleading conclusions when zero-probability cells are not explicitly modeled, especially in sparse or structurally constrained tables.

Proposed method

  • Employ polynomial algebra and computational algebraic geometry to identify all distinct model-instances—log-linear models with restricted supports—corresponding to different combinations of zero-probability cells.
  • Formulate a mixture model for the sampling distribution of cell counts, where each component corresponds to a different model-instance with a specific support.
  • Use Dirichlet priors on the full simplex and apply marginalization and conditioning rules (via Lemma 1) to derive compatible priors on the parameter space of each model-instance.
  • Assign prior probabilities to each model-instance based on structural and substantive considerations, enabling model comparison via Bayes factors.
  • Implement the method using symbolic computation tools such as CoCoA to enumerate supports and compute marginal likelihoods.
  • Construct the Bayes factor for model comparison by computing the marginal likelihoods of competing models (e.g., quasi-independence vs. structural zero models) under the mixture framework.

Experimental results

Research questions

  • RQ1How can we systematically enumerate all possible model-instances of a log-linear model when some cells are constrained to have zero probability?
  • RQ2What is a principled way to assign prior probabilities to different model-instances in a Bayesian framework that accounts for zero-probability cells?
  • RQ3How do the resulting Bayes factors differ when zero-probability cells are explicitly modeled versus when they are ignored or removed?
  • RQ4What is the impact of including structural zeros and zero-count cells on the inference about quasi-independence in a contingency table?
  • RQ5Can algebraic statistics and computational tools be effectively combined with Bayesian methods to improve model selection in sparse or high-dimensional contingency tables?

Key findings

  • The proposed method identifies multiple model-instances with distinct supports using algebraic geometry, enabling a more comprehensive representation of the model space than standard log-linear models.
  • For a $5 imes 2$ contingency table with two structural zeros and one zero count, the Bayes factor under the mixture model was 0.55, indicating weak evidence against the quasi-independence model.
  • In contrast, a standard Bayesian analysis ignoring zero-probability cells yielded a Bayes factor of 0.17, corresponding to stronger evidence against quasi-independence on the Jeffreys scale.
  • The logarithmic Bayes factor (log₁₀(1/0.55) ≈ 0.26) indicates only 'poor' evidence against the quasi-independence model, which is an order of magnitude less extreme than the standard analysis.
  • The results demonstrate that standard models may overstate the evidence against a hypothesis when zero-probability cells are not explicitly modeled, leading to substantively different conclusions.
  • The method provides a coherent framework for prior specification and model comparison that respects the geometric and combinatorial structure of the model space, particularly through Dirichlet prior conditioning and marginalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.