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 Pydantic.
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.3.tar.gz
(9.2 kB
view details)
Built Distribution
hall-0.1.3-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file hall-0.1.3.tar.gz
.
File metadata
- Download URL: hall-0.1.3.tar.gz
- Upload date:
- Size: 9.2 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 | c5a72e5c1526d1674027c1847ff3563bd6044620c43ed58b28955daba8a58685 |
|
MD5 | fc94e59a304ecfa421ef9f4c8112b1fe |
|
BLAKE2b-256 | f8d76d0b594e8dc9ee7a6505ffebba325a1d6771bfb0d218e3c9d0765af1d0a3 |
File details
Details for the file hall-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.6 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 | 67286298ae867ff14ef11d915a7ae1b8eb675683e3a2db0419b67331a262d851 |
|
MD5 | a64c9f837b321721e29f2aed8980e045 |
|
BLAKE2b-256 | 9e13f7cc8bb7e2502a13e90250e43e7e05b3045e36fbe4c80d08cd04eeea3cd7 |