Lots of metrics for quantifying gerrymandering
Project description
Code for running 16 different metrics for measuring partisan gerrymandering, including: - Mean-median difference - Equal vote weight - Lopsided margins (two-sample t-test on win margins) - Bootstrap (Monte Carlo) simulation1 - Declination variants - Declination - Declination (buffered) - Declination variant - Declination variant (buffered) - Efficiency gap variants - Efficiency gap - Difference gap - Loss gap - Surplus gap - Vote-centric gap - Vote-centric gap 2 - Tau gap - Partisan bias
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gerrymetrics-0.1.tar.gz
.
File metadata
- Download URL: gerrymetrics-0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48109a9dad3f62bf9c0e5e3571922a61c743de45de08a95bb7358383f92ec4cc |
|
MD5 | d5e3e823d94544334b9b465a3462bd7b |
|
BLAKE2b-256 | c81cf486f379fc7b87fd9b1ba1654d0144141193457761fd3c70ef63b3280135 |
File details
Details for the file gerrymetrics-0.1-py3-none-any.whl
.
File metadata
- Download URL: gerrymetrics-0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b6d15f5bb43569a74943493485bac9f01dc5637f53fc604ce84807921068d01 |
|
MD5 | 511def7d35b9ac538efeb64ba73a2e38 |
|
BLAKE2b-256 | f548368ac724bef5da516bfc67cbc83b6aff1c180a3f139b60aa0f85fdcc5a2f |