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

Uploaded Source

Built Distribution

gridvoting-0.0.19-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gridvoting-0.0.19.tar.gz
  • Upload date:
  • Size: 7.3 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.19.tar.gz
Algorithm Hash digest
SHA256 8f84132cc21f1365a31f3db0a284798279dc8e012387dbc36106a02ec348cfd8
MD5 fecf0d89ca0bc0c6fe8175e86ceb00fd
BLAKE2b-256 a1896d10ecdeef387cf87a94b904e2716beb09cea299b13e18330b8c1d6790c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gridvoting-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c4c32e1f649c1d0030a386e7d0c5d527e31cce7e247d8427dce9fd048848ed
MD5 a7ceeedbcec0c170bbfeb9605b19597d
BLAKE2b-256 7aac6516c85d2c3bb6ea7837c56737608ebbf3804ed0420e5b696b8ad8d08e72

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