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

preprint2020arXivOpen access

Abstract

The purpose of this note is to point out that the theory of expander graphs leads to an interesting test whether nn real numbers x1,…,xnx_1, \dots, x_n could be nn independent samples of a random variable. To any distinct, real numbers x1,…,xnx_1, \dots, x_n, we associate a 4-regular graph GG as follows: using ππ to denote the permutation ordering the elements, xπ(1)<xπ(2)<⋯<xπ(n)x_{π(1)} < x_{π(2)} < \dots < x_{π(n)}, we build a graph on {1,…,n}\left\{1, \dots, n\right\} by connecting ii and i+1i+1 (cyclically) and π(i)π(i) and π(i+1)π(i+1) (cyclically). If the numbers are i.i.d. samples, then a result of Friedman implies that GG 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 λ−23λ- 2\sqrt{3}, 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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.