Fool around with digit statistics.
- https://core.ac.uk/download/pdf/206427437.pdf
- via tweet by chaoaretasty
- replying to tweet by yodatelefant
YoDatElefant (@Yo dat elefant):
Biden’s Vote Tallies apparently Violate Benford’s Law, everyone else follow across the country, except for Biden in key races. This is a test for catching election fraud, used by the State Department and forensic accountants.
https://github.com/cjph8914/2020_benfords
chaoaretasty (@Chao Pup - watch the Sonic film - #SavedTheExpanse):
This is just terrible stats work. This is a first digit test and the paper you linked explicitly says in the introduction "the first significant digits in vote counts do not usually have the distribution implied by Benford’s Law"
https://core.ac.uk/download/pdf/206427437.pdf
(Links in tweets slightly fitted to the purpose, but keeping verbatim text.)
- (not finding my main resource now...)
- https://coderslegacy.com/python/python-pygame-tutorial/
- https://pygame.readthedocs.io/en/latest/4_text/text.html -> fonts or not?
- https://realpython.com/pygame-a-primer/
- https://ukdevguy.com/pygame-tutorial-in-python-3/
Because pygame is not available from conda
, we have to take care to not mix up conda install
and pip3 install
.
- https://www.anaconda.com/blog/using-pip-in-a-conda-environment – Dec 2018
- https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#create-env-file-manually
- https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#specifying-a-location-for-an-environment
Result is cenv.yml
and csetup
which is reusable in other projects.