USP: an independence test that improves on Pearson’s chi-squared and the G -test
Publication Date
2021-12-08Journal Title
Proceedings of the Royal Society A
ISSN
1364-5021
Publisher
The Royal Society
Volume
477
Issue
2256
Language
en
Type
Article
This Version
AO
VoR
Metadata
Show full item recordCitation
Berrett, T. B., & Samworth, R. J. (2021). USP: an independence test that improves on Pearson’s chi-squared and the G -test. Proceedings of the Royal Society A, 477 (2256) https://doi.org/10.1098/rspa.2021.0549
Abstract
We present the U-statistic permutation (USP) test of independence in the context of discrete data displayed in a contingency table. Either Pearson’s χ2-test of independence, or the G-test, are typically used for this task, but we argue that these tests have serious deficiencies, both in terms of their inability to control the size of the test, and their power properties. By contrast, the USP test is guaranteed to control the size of the test at the nominal level for all sample sizes, has no issues with small (or zero) cell counts, and is able to detect distributions that violate independence in only a minimal way. The test statistic is derived from a U-statistic estimator of a natural population measure of dependence, and we prove that this is the unique minimum variance unbiased estimator of this population quantity. The practical utility of the USP test is demonstrated on both simulated data, where its power can be dramatically greater than those of Pearson’s test, the G-test and Fisher’s exact test, and on real data. The USP test is implemented in the R package USP.
Keywords
Research articles, independence, Pearson’s χ2-test, G-test, permutation test, statistic, Fisher’s exact test
Sponsorship
H2020 European Research Council (101019498)
EPSRC (EP/N031938/1, EP/P031447/1)
Identifiers
rspa20210549
External DOI: https://doi.org/10.1098/rspa.2021.0549
This record's URL: https://www.repository.cam.ac.uk/handle/1810/331814
Rights
Licence:
http://creativecommons.org/licenses/by/4.0/
Statistics
Total file downloads (since January 2020). For more information on metrics see the
IRUS guide.
Recommended or similar items
The current recommendation prototype on the Apollo Repository will be turned off on 03 February 2023. Although the pilot has been fruitful for both parties, the service provider IKVA is focusing on horizon scanning products and so the recommender service can no longer be supported. We recognise the importance of recommender services in supporting research discovery and are evaluating offerings from other service providers. If you would like to offer feedback on this decision please contact us on: support@repository.cam.ac.uk