stat.MEOct 12, 2026

Selective Inference for Clustering Under Unknown Covariance

Authors: Yiqun T. Chen, Lucy L. Gao

Organizations: Departments of Biostatistics and Computer Science, Johns Hopkins University · Department of Statistics and Actuarial Science, University of Waterloo

Abstract

Unsupervised clustering is widely used to discover underlying group structure, after which researchers often seek to validate these groups via post-hoc hypothesis testing on the population means. However, using the same data both to form clusters and to test for a difference in means inflates the Type I error rate. Recent work in selective inference has proposed solutions when the underlying data are drawn from a multivariate Gaussian distribution with a known covariance matrix or an unknown isotropic covariance matrix. We propose a new selective test for the difference in means between two clusters that provably controls the Type I error rate under an arbitrary unknown covariance matrix. Our test statistic does not require estimating the feature covariance matrix; instead, it leverages a Monte Carlo sampling procedure over the set of orthogonal matrices. We show that this new selective test can be computed efficiently, and we derive closed-form solutions when clusters are formed using k-means or hierarchical clustering. In simulations, we demonstrate that our proposed p-value controls the selective Type I error rate and achieves substantial power, and we illustrate its application on gene expression and drug review data sets.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Selective Inference for Deep Clustering in Latent Spaces

    Sep 23, 2026Eina Mizui, Tomohiro Shiraishi, Shunichi Nishino +1Selective InferenceClustering

  2. The elbow statistic: Multiscale clustering statistical significance

    Mar 3, 2026Francisco J. Perez-RecheCluster Number EstimationClustering

  3. Statistical Testing Framework for Clustering Pipelines by Selective Inference

    Mar 19, 2026Yugo Miyata, Tomohiro Shiraishi, Shuichi Nishino +1Statistical Hypothesis TestingClustering