Abstract
Square contingency tables with the same row and column classification occur frequently in a wide range of statistical applications, e.g. whenever the members of a matched pair are classified on the same scale, which is usually ordinal. Such tables are analysed by choosing an appropriate loglinear model. We focus on the models of symmetry, triangular, diagonal and ordinal quasi symmetry. The fit of a specific model is tested by the chi-squared test or the likelihood-ratio test, where p-values are calculated from the asymptotic chi-square distribution of the test statistic or, if this seems unjustified, from the exact conditional distribution. Since the calculation of exact p-values is often not feasible, we propose alternatives based on algebraic statistics combined with MCMC methods.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Agresti, A.: A simple diagonals-parameters symmetry and quasi-symmetry model. Stat. Probab. Lett. 1, 313–316 (1983)
Agresti, A.: Categorical Data Analysis, 2nd edn. Wiley, New York (2002)
Aoki, S., Takemura, A.: Markov chain Monte Carlo exact tests for incomplete two-way contingency tables. J. Stat. Comput. Simul. 75, 787–812 (2005)
Bishop, Y., Fienberg, S., Holland, P.: Discrete Multivariate Analysis. MIT Press, Cambridge (1975)
Breslow, N.: Covariance adjustment of relative-risk estimates in matched studies. Biometrics 38, 661–672 (1982)
Caussinus, H.: Contribution à l’analyse statistique de tableaux de corrélation. Ann. Fac. Sci. Univ. Toulouse 29, 77–182 (1965)
Chib, S., Greenberg, E.: Understanding the Metropolis-Hastings-algorithm. Am. Stat. 49, 327–335 (1995)
Cochran, W.G.: Some methods for strengthening the common χ 2 tests. Biometrics 10, 417–451 (1954)
CoCoATeam: CoCoA: a system for doing computations in commutative algebra (2000). Available at http://cocoa.dima.unige.it
Conover, W.J.: Some reasons for not using the Yates continuity correction on 2×2 contingency tables. J. Am. Stat. Assoc. 69, 374–382 (1974)
Cox, D., Little, J., O’Shea, D.: Ideals, Varieties, and Algorithms, 2nd edn. Springer, New York (1997)
Diaconis, P., Sturmfels, B.: Algebraic algorithms for sampling from conditional distributions. Ann. Stat. 26, 363–397 (1998)
Goodman, L.A.: Multiplicative models for square contingency tables with ordered categories. Biometrika 66, 413–418 (1979)
Goodman, L.A.: The analysis of cross-classified data having ordered and/or unordered categories: Association models, correlation models and asymmetry models for contingency tables with or without missing entries. Ann. Stat. 13, 10–69 (1985)
Kateri, M., Agresti, A.: A class of ordinal quasi symmetry models for square contingency tables. Stat. Probab. Lett. 77, 598–603 (2007)
Krampe, A., Kuhnt, S.: Bowker’s test for symmetry and modifications within the algebraic framework. Comput. Stat. Data Anal. 51, 4124–4142 (2007)
Krampe, A., Kuhnt, S.: Model selection for contingency tables with algebraic statistics. In: Gibilisco, P., Riccomagno, E., Rogatin, M.-P., Wynn, H.P. (eds.) Algebraic and Geometric Methods in Statistics. Cambridge University Press, Cambridge (2009)
Lapp, K., Molenberghs, G., Lesaffre, E.: Models for the association between ordinal variables. Comput. Stat. Data Anal. 28, 387–411 (1998)
Lehmann, E.L.: Testing Statistical Hypotheses, 2nd edn. Wiley, New York (1986)
McCullagh, P.: A class of parametric models for the analysis of square contingency tables with ordered categories. Biometrika 65, 413–418 (1978)
Pistone, G., Riccomagno, E., Wynn, H.P.: Algebraic Statistics. CRC Press, Boca Raton (2001)
Rapallo, F.: Algebraic Markov bases and MCMC for two-way contingency tables. Scand. J. Stat. 30, 385–397 (2003)
Rapallo, F.: Algebraic exact inference for rater agreement models. Stat. Methods Appl. 14, 45–66 (2005)
Rapallo, F.: Markov bases and structural zeros. J. Symb. Comput. 41, 164–172 (2006)
Sørensen, D., Gianola, D.: Likelihood, Bayesian, and MCMC Methods in Qualitative Genetics. Springer, New York (2002)
Witting, H.: Statistik. Teubner, Stuttgart (1985)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Krampe, A., Kateri, M. & Kuhnt, S. Asymmetry models for square contingency tables: exact tests via algebraic statistics. Stat Comput 21, 55–67 (2011). https://doi.org/10.1007/s11222-009-9146-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11222-009-9146-7