A subroutine is presented to calculate two test statistics for analyzing independence in r-way contingency tables. These test statistics are based on the exact first three cumulants of both the Pearson chi-squared statistic and a recent modification of the Pearson chi-squared statistic.
Get full access to this article
View all access options for this article.
References
1.
Berry, K. J. and Mielke, P. W. (1988). Monte Carlo comparisons of the asymptotic chi-square and likelihood-ratio tests with the nonasymptotic chi-square test for sparse r × c tables. Psychological Bulletin, 103, 256-264.
2.
Haberman, S. J. (1988). A warning on the use of chi-squared statistics with frequency tables with small expected cell counts. Journal of the American Statistical Association, 83, 555-560.
3.
Mielke, P. W. and Berry, K. J. (1988). Cumulant methods for analyzing independence of r-way contingency tables and good-ness-of-fit frequency data. Biometrika, 75, 790-793.