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.7.tar.gz
(10.0 kB
view details)
Built Distribution
hall-0.1.7-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file hall-0.1.7.tar.gz
.
File metadata
- Download URL: hall-0.1.7.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 | 70cdc50fcd38efa708aedb73a2f32a00dfbbf979045b542c27fa005161f9aa47 |
|
MD5 | 72133adf29189c3ae7e650ce4c6a839a |
|
BLAKE2b-256 | 9db57a31a20bae6106407b5460cd4c23b5a33035b77b35ca59232d78bffa45ae |
File details
Details for the file hall-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.7-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 | a2acf6bc76a85e222799fdeebfa429851d5396cf3c9ed921e4571edb00ddb802 |
|
MD5 | 97168cb8697e38cbfe3a2c712a3c1454 |
|
BLAKE2b-256 | 2d0834b0d152ff0abf6a5a3b423ff4f7d85b733bbadffa6feba0c2c175bdcf29 |