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

Uploaded Source

Built Distribution

gridvoting-0.0.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gridvoting-0.0.5.tar.gz
  • Upload date:
  • Size: 5.4 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.5.tar.gz
Algorithm Hash digest
SHA256 a37be62c2498ca0404dd222003038b38df5596bf34636d051a762a270cd39da0
MD5 468902569532875346843270521d4efa
BLAKE2b-256 9d015f3669619174e973d53fa9c450d319fd02ae463834f8cec557907b384fad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gridvoting-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 582c18a5e2e65cfa72731c40d30f5dfde4cc3e1cbe53bb0aa35aace3af16e2f8
MD5 fb3072ebeeb790e82b0dc2603ed6b6a4
BLAKE2b-256 774906ffb42deedcfc6402d696a044c2539f12c9149ab4cbcce00395ae46a991

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