# Good practice in testing for an association in contingency tables

- First Online:

- Received:
- Revised:
- Accepted:

DOI: 10.1007/s00265-010-1014-0

- Cite this article as:
- Ruxton, G.D. & Neuhäuser, M. Behav Ecol Sociobiol (2010) 64: 1505. doi:10.1007/s00265-010-1014-0

- 9 Citations
- 392 Views

## Abstract

The testing for an association between two categorical variables using count data is commonplace in the behavioral sciences. Here, we present evidence that influential biostatistical textbooks give contradictory and incomplete advice on good practice in the analysis of such contingency table data. We survey the statistical literature and offer guidance on such analyses. Specifically, we call for greater use of exact testing rather than tests which use an asymptotic chi-squared distribution. That is, we suggest that researchers take a conservative approach and only perform asymptotic testing where there is little doubt that it is appropriate. We recommend a specific criterion for such decision-making. Where asymptotic testing is appropriate, we recommend chi-squared over the G-test and recommend against the implementation of Yates (or any other) correction. We also provide advice on the effective use of exact testing for associations in contingency tables. Lastly, we highlight issues that need to be considered when using the commonly recommended Fisher’s exact test.