An algorithm and computer program to calculate exact goodness-of-fit tests for unordered categories with equal probabilities under the null hypothesis are presented. FORTRAN program EBGF utilizes partitions and multinomial weights to reduce computation times for Fisher's exact, exact chi-square, exact likelihood-ratio, exact Freeman-Tukey, and exact Cressie-Read goodness-of-fit tests.
Get full access to this article
View all access options for this article.
References
1.
BartlettM. S. (1937) Properties of sufficiency and statistical tests. Proceedings of the Royal Society of London, Series A, 160, 268–282.
2.
BartlettM. S. (1953a) Approximate confidence intervals. Biometrika, 40, 12–19.
3.
BartlettM. S. (1953b) Approximate confidence intervals: II. More than one unknown parameter. Biometrika, 40, 306–317.
4.
BartlettM. S. (1954) A note on the multiplying factors for various X2 approximations. Journal of Royal Statistical Society, Series B, 16, 296–298.
5.
BartlettM. S. (1955) Approximate confidence intervals: III. A bias correction. Biometrika, 42, 201–204.
6.
BoxG. E. P. (1949) A general distribution theory for a class of likelihood criteria. Biometrika, 36, 317–346.
7.
CressieN., & ReadT. R. C. (1984) Multinomial goodness-of-fit tests. Journal of the Royal Statistical Society, Series B, 46, 440–464.
8.
EulerL. (1748/1988) Introduction to analysis of the infinite, Book 1. (BlantonJ. D., Transl.) New York: Springer-Verlag.
9.
FreemanM. F., & TukeyJ. W. (1950) Transformations related to the angular and the square root. The Annals of Mathematical Statistics, 21, 607–611.
10.
HardyG. H., & RamanujanS. (1918) Asymptotic formulae in combinatory analysis. Proceedings of the London Mathematical Society, 17, 75–115.
11.
HolmesC. B. (1979) Sample size in psychological research. Perceptual and Motor Skills, 49, 283–288.
12.
HolmesC. B. (1990) The honest truth about lying with statistics.Springfield, IL: Thomas.
13.
LawleyD. N. (1956) A general method for approximating to the distribution of likelihood ratio criteria. Biometrika, 43, 295–303.
14.
MielkeP. W.Jr., & BerryK. J. (1993) Exact goodness-of-fit probability tests for analyzing categorical data. Educational and Psychological Measurement, 53, 707–710.
15.
MielkeP. W.Jr., & BerryK. J. (2001) Permutation methods: A distance function approach.New York: Springer-Verlag.
16.
MielkeP. W.Jr.BerryK. J., & JohnstonJ. E. (2004) Asymptotic log-linear analysis: Some cautions concerning sparse frequency tables. Psychological Reports, 94, 19–32.
17.
PearsonK. (1900) On a criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can reasonably be supposed to have arisen in random sampling. Philosophical Magazine, 50, 157–175.
18.
SmithP. J.RaeD. S.ManderscheidR. W., & SilbergeldS. (1981) Approximating the moments and distribution of the likelihood ratio statistic for multinomial goodness of fit. Journal of the American Statistical Association, 76, 737–740.
19.
WilksS. S. (1935) The likelihood test of independence in contingency tables. The Annals of Mathematical Statistics, 6, 190–196.
20.
WilksS. S. (1938) The large-sample distribution of the likelihood ratio for testing composite hypotheses. The Annals of Mathematical Statistics, 9, 60–62.
21.
WilliamsD. A. (1976) Improved likelihood-ratio tests for complete contingency tables. Biometrika, 63, 33–37.