Skip to main content

Spatial Voting simulations on a grid with random challengers

Project description

gridvoting

Voting simulations on a 2D grid of feasible outcomes

Helper class and functions for a Markov Chain voting model based on a series of status quos and random challenges.

This software is at a pre-release stage and not yet intended for general use.

Inputs:

  • grid size in 2D -glimit <= x,y <= glimit
  • utility functions for each voter for each point on the grid
  • challenger strategy (zi True/False)

Outputs:

  • Markov chain transition matrix
  • Existence of core (absorbing) points
  • Stationary distributions (no core)
  • Diagnostic and distribution plots

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gridvoting-0.0.13.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

gridvoting-0.0.13-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file gridvoting-0.0.13.tar.gz.

File metadata

  • Download URL: gridvoting-0.0.13.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for gridvoting-0.0.13.tar.gz
Algorithm Hash digest
SHA256 62ae113d5651e9d5ebd5b38f2e963ad7e5dd900c80e2db8991c555ff16f8a132
MD5 cd3733a8dc164c513da25fa7cd846b7b
BLAKE2b-256 b96eab4cd9a1546a9adb90feb2205f02467dc34713bf42e166de1dfbad34932e

See more details on using hashes here.

File details

Details for the file gridvoting-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: gridvoting-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for gridvoting-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 89429676fdde8ecc3c8039c109d448f01916198e73f7bc57319fa2e55bad0ba4
MD5 2c5b1cc67522baa662a721f774d5a67c
BLAKE2b-256 08f866334639a5dda32989531330cf318d987614bf0051a354bce010d5d30312

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page