Hall - Probability theory using pythonic and (almost) mathematical notation.
Project description
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 hall.
Project details
Release history Release notifications | RSS feed
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.8.tar.gz
(10.0 kB
view details)
Built Distribution
hall-0.1.8-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file hall-0.1.8.tar.gz
.
File metadata
- Download URL: hall-0.1.8.tar.gz
- Upload date:
- Size: 10.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cbb0f1b34ed5421f4721a5189d3ec68a23835196c0c7bfe165420a71ea5866a |
|
MD5 | 57bb7e5ac82165e938bc9963c6729369 |
|
BLAKE2b-256 | 76484404c50fd741c23b99e7741f46ff7b18fbb5d7de779121836a29ae233a1f |
File details
Details for the file hall-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.8-py3-none-any.whl
- Upload date:
- Size: 11.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2172df60d87cfec23b6a96201859bba336a30707aa1d7af8266af7c515a73f1 |
|
MD5 | 8c05bb26587d2a29907cbb3a0a6fe179 |
|
BLAKE2b-256 | d0d635361fb4a0dc954c41c07798f71ebc66a767d4af930ffb37b70e084b52da |