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

Uploaded Source

Built Distribution

gridvoting-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gridvoting-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 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.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for gridvoting-0.0.1.tar.gz
Algorithm Hash digest
SHA256 670a4cd6046d541ef6c51ca9388e84c9d6365eee2b593638dd3aacc8d6841796
MD5 53a22f398dd2f25bf49900056dae3d36
BLAKE2b-256 9509f75d981078e852d3b5e9e172543c91e83d44896c52ff34e2833f40e8a907

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gridvoting-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for gridvoting-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fee103124b50cf85b99932d3784b981e643d1ef2c9fff20b30efad208e386ec
MD5 66227b464d01558a121c8305e12e8110
BLAKE2b-256 b59e5b9f8d9f5eafd01992cd97d1d29d44e8926fba56f908bc1518de35ff8865

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