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.9.tar.gz
(10.7 kB
view details)
Built Distribution
hall-0.1.9-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file hall-0.1.9.tar.gz
.
File metadata
- Download URL: hall-0.1.9.tar.gz
- Upload date:
- Size: 10.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e421a36f90b8d1120e00d29840c6a8ebc9efa54a0a1898a359b51e6ed04f879 |
|
MD5 | 8eceec85c30e842b4246003ba8f3068e |
|
BLAKE2b-256 | 495c58b99976d6e556e9b86561b3098a839658e8ff9433d534610248ea845839 |
File details
Details for the file hall-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.9-py3-none-any.whl
- Upload date:
- Size: 12.3 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 | a9e4c7b1cf020718dd00e3dcb58bff61df9928974601efe3c7e2bc954a54c699 |
|
MD5 | 1e3eafea8b5899825ef5b02e1fc68991 |
|
BLAKE2b-256 | e089a9fcc17b948b3af692a9a5020e8b0f915f95eb5c903b294322208ccfed67 |