Algorithms and associated FORTRAN subroutines for the Fisher exact probability test are presented. R by C cross-classification tables up to five degrees of freedom are considered. These include the 2 × 2, 3 × 2, 4 × 2, 3 × 3, 5 × 2, and 6 × 2 tables. The use of recursion and an arbitrary initial value ensures computational efficiency.
Get full access to this article
View all access options for this article.
References
1.
Barnard, G. A. (1945). A new test for 2 × 2 tables. Nature, 156, 177.
2.
Barnard, G. A. (1947a). Significance tests for 2 × 2 tables. Biometrika, 34, 123-138.
3.
Barnard, G. A. (1947b). 2 × 2 tables. A note on E. S. Pearson's paper. Biometrika, 34, 168-169.
4.
Berry, K. J. and Mielke, P. W. (1985). Subroutines for computing exact chi-square and Fisher's exact probability tests. Educational and Psychological Measurement, 45, 153-159.
5.
Berry, K. J. and Mielke, P. W. (1987). Exact chi-square and Fisher's exact probability test for 3 by 2 cross-classification tables. Educational and Psychological Measurement, 47, 631-636.
6.
Berry, K. J. and Mielke, P. W. (1989). Analyzing independence in r-way contingency tables. Educational and Psychological Measurement, 49, 605-607.
7.
Fisher, R. A. (1934). Statistical methods for research workers. Edinburgh: Oliver and Boyd.
8.
Mielke, P. W. and Berry, K. J. (1988). Cumulant methods for analyzing independence of r-way contingency tables and goodness-of-fit frequency data. Biometrika, 75, 790-793.
9.
Pearson, E. S. (1947). The choice of statistical tests illustrated on the interpretation of data classed in a 2 × 2 table. Biometrika, 34, 139-167.
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. Translated by 0. G. Downes. London: Charles & Edwin Layton.
11.
Yates, F. (1984). Tests of significance for 2 × 2 contingency tables. Journal of the Royal Statistical Society, Series A, 147, 426-463.
12.
Zelterman, D. (1987). Goodness-of-fit tests for large sparse multinomial distributions. Journal of the American Statistical Association, 82, 624-629.