Spanish Journal of Statistics 4(1), pp. 41-54.

**ISSN/ISBN:** Not available at this time.
**DOI:** 10.37830/SJS.2022.1.03

- For online information, click here.

**Abstract:** We discuss some limitations of the use of generic tests, such as the Pearson’s χ2, for testing Benford’s law. Statistics with known distribution and constructed under the specific null hypothesis that Benford’s law holds, such as the Euclidean distance, are more appropriate when assessing the goodness-of-fit to Benford’s law, and should be preferred over generic tests in quantitative analyses. The rule of thumb proposed by Goodman for compliance checking to Benford’s law, instead, is shown to be statistically unfounded. For very large sample sizes (N > 1000), all existing statistical tests are inappropriate for testing Benford’s law due to its empirical nature. We propose a new statistic whose sample values are asymptotically independent on the sample size making it a natural candidate for testing Benford’s law in very large data sets.

**Bibtex:**

```
@article{,
author = {Leonardo Campanelli},
title = {Testing Benford’s Law: from small to very large data sets},
year = {2022},
doi = {10.13140/RG.2.2.19884.95363},
URL = {https://www.ine.es/art/sjs/sjs_2022_01.pdf#page=42},
journal = {Spanish Journal of Statistics},
volume = {4},
number = {1},
pages {41--54},
}
```

**Reference Type:** Journal Article

**Subject Area(s):** Statistics