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

Uploaded Source

Built Distribution

gridvoting-0.0.7-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gridvoting-0.0.7.tar.gz
  • Upload date:
  • Size: 5.6 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.7.tar.gz
Algorithm Hash digest
SHA256 bfc420071b6622cadb0cf2456ba47810897d459b2615bbe652f30dcdf9babb55
MD5 c181b414923d7a6861517c72820d7085
BLAKE2b-256 4db67b7aac0efc515a809b024de7fcbfb1d8825c1a5a5bd3e49df2500c577b44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gridvoting-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cb5a9f7c078f2a7b9c22c9dd4989f2498efc79c055f00c885ec652c226156045
MD5 5149a30450ca6922e3274249f1dd062d
BLAKE2b-256 7680688ea8c7c7aa2344e8b911cb912534e8f97791f318d7ea6274e9ccbe08d7

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