What is the best way to "measure" a uniform distribution?

38 Views Asked by At

Is there a way to tell the quality of a distribution which is close to uniformity?

e.g. I have the following discrete distribution of values:

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9]

which is pretty close to a perfect uniform distribution.

Subtracting the mean of the distribution above from the mean of the perfect distribution is the closest solution I found, however I was hoping to have a more elevated solution to this problem.

I am not a mathematican/statistics so please forgive me any mistakes