ABSTRACT
Fisher's exact test is commonly used to test the null hypothesis H0 of independence or homogeneity in 2 × 2 contingency tables. This article presents a closed formula for the Bayes factor for testing independence or homogeneity in 2 × 2 contingency tables under a flexible family of spike-and-slab testing priors. Bayes factors are also compared numerically to Fisher's exact s for 2 × 2 contingency tables with equal row totals. Numerical results show that a large percentage of tables with have more evidence in favor of H0 than H1 from the Bayesian perspective.
MATHEMATICS SUBJECT CLASSIFICATION: