A subroutine to calculate Fisher's exact test of mutual independence in 2 x 2 x 2 cross-classification tables is presented. The subroutine's speed is due to use of an arbitrary constant for the initial table and recursively defined values obtained for all remaining tables.
Get full access to this article
View all access options for this article.
References
1.
Agresti, A. (1992). A survey of exact inference for contingency tables. Statistical Science, 7, 131-177.
2.
Bartlett, M. S. (1935). Contingency table interactions. Journal of the Royal Statistical Society Supplement, 2, 248-252.
3.
Berry, K. J. , & Mielke, P. W. (1989). Analyzing independence in r-way contingency tables. Educational and Psychological Measurement, 49, 605-607.
4.
Fisher, R. A. (1934). Statistical methods for research workers. Edinburgh: Oliver & Boyd.
5.
Freeman, G. H. , & Halton, J. H. (1951). Note on an exact treatment of contingency, goodness of fit and other problems of significance. Biometrika, 38, 141-149.
6.
Grizzle, J. E. , Starmer, C. F., & Koch, G. G. (1969). Analysis of categorical data by linear models. Biometrics, 25, 489-504.
7.
Mielke, P. W. , & Berry, K. J. (1988). Cumulant methods for analyzing independence of r-way contingency tables. Biometrika, 75, 790-793.
8.
Mielke, P. W. , & Berry, K. J. (1992). Fisher's exact probability test for cross-classification tables. Educational and Psychological Measurement, 52, 97-101.
9.
Pomar, M. I. (1984). Demystifying loglinear analysis: Four ways to assess interaction in a 2 x 2 x 2 table. Sociological Perspectives, 27, 111-135.
10.
Quetelet, M. A. (1849). Letters addressed to H.R.H. the Grand Duke of Saxe Coburg and Gotha on the theory of probabilities as applied to the moral and political sciences (0. G. Downes, Trans.). London: Charles & Edwin Layton.
11.
Zelen, M. (1972). Exact significance tests for contingency tables embedded in a 2n classification. In L. M. LeCam, J. Neyman, & E. L. Scott (Eds.), Proceedings of the Sixth Berkeley Symposium on Mathematical Statistics and Probability (Vol. 1, pp. 737-757). Berkeley: University of California Press.