DOI QR코드

DOI QR Code

Bayesian Test of Quasi-Independence in a Sparse Two-Way Contingency Table

  • Kwak, Sang-Gyu (Department of Statistics, Kyungpook National University) ;
  • Kim, Dal-Ho (Department of Statistics, Kyungpook National University)
  • Received : 2012.04.18
  • Accepted : 2012.04.30
  • Published : 2012.05.31

Abstract

We consider a Bayesian test of independence in a two-way contingency table that has some zero cells. To do this, we take a three-stage hierarchical Bayesian model under each hypothesis. For prior, we use Dirichlet density to model the marginal cell and each cell probabilities. Our method does not require complicated computation such as a Metropolis-Hastings algorithm to draw samples from each posterior density of parameters. We draw samples using a Gibbs sampler with a grid method. For complicated posterior formulas, we apply the Monte-Carlo integration and the sampling important resampling algorithm. We compare the values of the Bayes factor with the results of a chi-square test and the likelihood ratio test.

Keywords

References

  1. Agresti, A. (2002). Categorical Data Analysis, 2nd Ed., Willey, New York.
  2. Baker, R. J., Clarke, M. R. B. and Lane, P. W. (1985). Zero entries in contingency tables, Computational Statistics and Data Analysis, 3, 33-45. https://doi.org/10.1016/0167-9473(85)90056-8
  3. Bishop, Y. M. M., Fienberg, S. E. and Holland, P. W. (1975). Discrete Multivariate Analysis, MIT Press, Cambridge, MA.
  4. Brown, M. B. and Fuchs, C. (1983). On maximum likelihood estimation in sparse contingency tables, Computational Statistics and Data Analysis, 1, 3-15. https://doi.org/10.1016/0167-9473(83)90059-2
  5. Francoise, V. (1999). StatNews, 01, Spare Contingency Tables, Cornell Statistical Consulting Unit.
  6. Kass, R. E. (1993). Bayes factors in practice, Statistician, 42, 551-560. https://doi.org/10.2307/2348679
  7. Kass, R. E. and Raftery, A. E. (1995). Bayes factor, Journal of the American Statistical Association, 90, 773-795. https://doi.org/10.1080/01621459.1995.10476572
  8. Robert, C. P. and Casella, G. (1999). Monte Carlo Statistical Methods, Springer, New York.