paper

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

arXiv:2008.01153

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 reasonable test and give many examples.

References in corpus (1)