Skip to main content

Hall - Probability theory using pythonic and (almost) mathematical notation.

Project description

CI pypi Downloads versions license

Probability theory using pythonic and (almost) mathematical notation.

Help

See documentation for more details.

A simple example: Intelligence quotient

>>> from hall import P, E, Std, Normal
>>> IQ = ~Normal(100, 15)
>>> E[IQ]
100.0
>>> Std[IQ]
15.0
>>> P(X >= 130)
0.0227501319481792

So the chance of having an IQ (normally distributed with μ=100 and σ=15) of at least 130 is approximately 2.3%.

A simple example: Monty Python Hall

TODO

Contributing

For guidance on setting up a development environment and how to make a contribution to hall, see Contributing to Pydantic.

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

hall-0.1.5.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

hall-0.1.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file hall-0.1.5.tar.gz.

File metadata

  • Download URL: hall-0.1.5.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

File hashes

Hashes for hall-0.1.5.tar.gz
Algorithm Hash digest
SHA256 dbf72eb7fea91f013847fd41ada95560d8428e8c9ab4e240226f05d6264dc489
MD5 6fe2ace7e6c3c34cfbe7ad1a3e29b816
BLAKE2b-256 e39681d4ffc5b1806baf61c3d9daac957765f633008ec32eb370d83aa38a887e

See more details on using hashes here.

File details

Details for the file hall-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: hall-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

File hashes

Hashes for hall-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e110ddf730f8fb2a0fbba8f1d7878c6fc7e4ee577361e56eab2dfb2e5fb3c1e2
MD5 a6c8cca297dff08c2e13e6a06969a256
BLAKE2b-256 081f2664b79f93e040ad1c49ff7b06cfdae403e77b245ed9fcd9c1b34220ede7

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