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.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

gridvoting-0.0.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gridvoting-0.0.4.tar.gz
Algorithm Hash digest
SHA256 13990c5f9a1df42c39b7c4d7bae9687529f92e29ad052c12dd615b5a9ef37727
MD5 4b4978f0004f88140efe90342da70141
BLAKE2b-256 03306d63a0e50574f88b63b0618fd50726c9400b72522675dd2d029345725e53

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gridvoting-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e79924dd7f40fe606e46c422c0ca063a3b00ae47786fb9ed6eb54caf60f6148b
MD5 635e77ad78e664c0726108aea75c821c
BLAKE2b-256 b8d980dfa486de6fe8e61be6b6103089c2a7cdeda86a57fe8382c0712d16ff67

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