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.6.tar.gz
(9.7 kB
view details)
Built Distribution
hall-0.1.6-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file hall-0.1.6.tar.gz
.
File metadata
- Download URL: hall-0.1.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d610663957e3e56ee8fc1ec917fa2e9a815ea4b02fd35a7318900138fcd1ec78 |
|
MD5 | b6e9f4565d641bacfe45ddc71041f5df |
|
BLAKE2b-256 | 6e55b792991ee42c8d34aae71a15eb8c2d42a854bcc36c3e79fcd642759f8141 |
File details
Details for the file hall-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd9197ceecf394bb49be822649bc24fdfeef265caf44f222b9bcae3cd95b1ce |
|
MD5 | 0e75a3ddfa7b626b3c31c2f90865c96e |
|
BLAKE2b-256 | 0f32cb3a709c27cf780dafe55f04a713416c272a3f88c4a12b3986091562448a |