Reputation: 1179
I found this package for R: https://rdrr.io/cran/BenfordTests/man/ks.benftest.html
It allows you to perform a Kolmogorov Smirnov test against the Benford distribution (https://en.wikipedia.org/wiki/Benford%27s_law) given a list of numbers.
I am looking for the equivalent in Python (preferrably, I could install it via conda) but my Google searches were so far in vain. Any input appreciated, thank you.
Upvotes: 1
Views: 231
Reputation: 26
I would recommend checking out this link: https://github.com/nyoshimizu/benfordspy. It's not downloadable via Conda, but you can install it directly from GitHub.
Upvotes: 1