OASIS: An interpretable, finite-sample valid alternative to Pearson's X2 for scientific discovery
成果类型:
Article
署名作者:
Baharav, Tavor Z.; Tse, David; Salzman, Julia
署名单位:
Harvard University; Massachusetts Institute of Technology (MIT); Broad Institute; Harvard University; Harvard University Medical Affiliates; Dana-Farber Cancer Institute; Stanford University; Stanford University; Stanford University; Stanford University
刊物名称:
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA
ISSN/ISSBN:
0027-10486
DOI:
10.1073/pnas.2304671121
发表日期:
2024-04-09
关键词:
chi-square
摘要:
Contingency tables, data represented as counts matrices, are ubiquitous across quantitative research and data-science applications. Existing statistical tests are insufficient however, as none are simultaneously computationally efficient and statistically valid for a finite number of observations. In this work, motivated by a recent application in reference-free genomic inference [K. Chaung et al., Cell 186, 5440-5456 (2023)], we develop Optimized Adaptive Statistic for Inferring Structure (OASIS), a family of statistical tests for contingency tables. OASIS constructs a test statistic which is linear in the normalized data matrix, providing closed-form P-value bounds through classical concentration inequalities. In the process, OASIS provides a decomposition of the table, lending interpretability to its rejection of the null. We derive the asymptotic distribution of the OASIS test statistic, showing that these finite-sample bounds correctly characterize the test statistic's P-value up to a variance term. Experiments on genomic sequencing data highlight the power and interpretability of OASIS. Using OASIS, we develop a method that can detect SARS-CoV-2 and Mycobacterium tuberculosis strains de novo, which existing approaches cannot achieve. We demonstrate in simulations that OASIS is robust to overdispersion, a common feature in genomic data like single-cell RNA sequencing, where under accepted noise models OASIS provides good control of the false discovery rate, while Pearson's X2 consistently rejects the null. Additionally, we show in simulations that OASIS is more powerful than Pearson's X2 in certain regimes, including for some important two group alternatives, which we corroborate with approximate power calculations.