Hostname: page-component-cd9895bd7-dk4vv Total loading time: 0 Render date: 2025-01-05T00:39:30.282Z Has data issue: false hasContentIssue false

The Relationship Between Fisher's Exact Test and Pearson's Chi-Square Test: A Bayesian Perspective

Published online by Cambridge University Press:  01 January 2025

Gregory Camilli*
Affiliation:
Rutgers, The State University of New Jersey
*
Requests for reprints should be sent to Gregory Camilli, Rutgers University, 10 Seminary Place, New Brunswick, NJ 08903.

Abstract

It is demonstrated in this paper that two major tests for 2 × 2 talbes are highly related from a Bayesian perspective. Although it is well-known that Fisher's exact and Pearson's chi-square tests are asymptotically equivalent, the present analysis shows that a formal similarity also exists in small samples. The key assumption that leads to the resemblance is the presence of a continuous parameter measuring association. In particular, it is shown that Pearson's probability can be obtained by integrating a two-moment approximation to the posterior distribution of the log-odds ratio. Furthermore, Pearson's chi-square test gave an excellent approximation to the actual Bayes probability in all 2×2 tables examined, except for those with extremely disproportionate marginal frequencies.

Type
Original Paper
Copyright
Copyright © 1995 The Psychometric Society

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Barnard, G. A. (1979). In contradiction to J. Berkson's dispraise: Conditional tests can be more efficient. Journal of Statistical Planning and Inference, 2, 181187.CrossRefGoogle Scholar
Barnett, V. (1973). Comparative statistical inference, London: Wiley.Google Scholar
Berkson, J. (1978). In dispraise of the exact test. Journal of Statistical Planning and Inference, 2, 2742.CrossRefGoogle Scholar
Bishop, Y. M. M., Fienberg, S. E., Holland, P. W. (1975). Discrete multivariate analysis, Cambridge: MIT Press.Google Scholar
Burington, R. S., May, D. C. (1970). Handbook of probability and statistics with tables 2nd ed.,, New York: McGraw-Hill.Google Scholar
Camilli, G. (1990). The test of homogeneity for 2 × 2 contingency tables: A review of and some personal opinions on the controversy. Psychological Bulletin, 108, 135145.CrossRefGoogle Scholar
Camilli, G., Hopkins, K. D. (1978). Applicability of chi-square to 2 × 2 contingency tables with small expected cell frequencies. Psychological Bulletin, 85, 163167.CrossRefGoogle Scholar
Camilli, G., Hopkins, K. D. (1979). Testing for association in 2 × 2 contingency tables with small expected cell frequencies. Psychological Bulletin, 86, 10111014.CrossRefGoogle Scholar
Cox, D. R. (1970). The analysis of binary data, London: Methuen.Google Scholar
Fisher, R. A. (1935). The logic of inductive inference (with discussion). Journal of the Royal Statistical Society, 98, 3954.CrossRefGoogle Scholar
Fisher, R. A. (1973). Statistical methods and scientific inference, New York: Hafner.Google Scholar
Harkness, W. L. (1965). Properties of the extended hypergeometric distribution. Annals of Mathematical Statistics, 36, 938945.CrossRefGoogle Scholar
Haviland, M. G. (1990). Yates' correction for continuity and the analysis of 2 × 2 contingency tables. Statistics in Medicine, 9, 363383.CrossRefGoogle Scholar
International Mathematical and Statistical Library (1989). IMSL Math/Library (computer program), Houston, TX: Author.Google Scholar
Kroll, N. E. A. (1989). Testing independence in 2 × 2 contingency tables. Journal of Educational Statistics, 14, 4779.CrossRefGoogle Scholar
Liddell, D. (1976). Practical tests of 2 × 2 contingency tables. The Statistician, 25, 295305.CrossRefGoogle Scholar
Mantel, N., Greenhouse, S. W. (1968). What is the continuity correction?. American Statistician, 22, 2730.Google Scholar
Plackett, R. L. (1981). The analysis of categorical data 2nd ed.,, New York: Macmillan.Google Scholar
Tocher, K. D. (1950). Extension of the Neyman-Pearson theory of tests to discontinuous variables. Biometrika, 37, 130144.CrossRefGoogle Scholar
Upton, G. J. G. (1982). A comparison of alternative tests for the 2 × 2 comparative trial. Journal of the Royal Statistical Society, Series A, 145, 86105.CrossRefGoogle Scholar
Yates, F. (1984). Tests of significance for 2 × 2 tables. Journal of the Royal Statistical Society, Series A, 147, 426463.CrossRefGoogle Scholar