Using Expander Graphs to test whether samples are i.i.d
Stefan Steinerberger

TL;DR
This paper introduces a novel test for independence of samples based on expander graph theory, linking eigenvalues of a constructed graph to the likelihood of samples being i.i.d., with practical examples and theoretical justification.
Contribution
It proposes a new eigenvalue-based test for i.i.d. samples using expander graph properties, connecting graph spectra to statistical independence testing.
Findings
Eigenvalues close to 2√3 indicate likely i.i.d. samples.
The constructed graph is nearly Ramanujan if samples are i.i.d.
The test is supported by theoretical and example-based evidence.
Abstract
The purpose of this note is to point out that the theory of expander graphs leads to an interesting test whether real numbers could be independent samples of a random variable. To any distinct, real numbers , we associate a 4-regular graph as follows: using to denote the permutation ordering the elements, , we build a graph on by connecting and (cyclically) and and (cyclically). If the numbers are i.i.d. samples, then a result of Friedman implies that is close to Ramanujan. This suggests a test for whether these numbers are i.i.d: compute the second largest (in absolute value) eigenvalue of the adjacency matrix. The larger , the less likely it is for the numbers to be i.i.d. We explain why this is a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph theory and applications · Limits and Structures in Graph Theory · Random Matrices and Applications
