Created
November 7, 2020 04:11
-
-
Save leehanchung/2b62cc33791e5561b3f1a9a0d06afccf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_benfords() -> List[float]: | |
"""get list of expected discrete benford distribution values to be used | |
for chi square test | |
Returns: | |
List[float]: discrete benford's law distribution | |
""" | |
benfords = [log10(1 + 1/d) for d in range(1, 10)] | |
return benfords |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment