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, sample
>>> IQ = ~Normal() * 100 + 15
>>> E[IQ]
100.0
>>> Std[IQ]
15.0
>>> P(IQ >= 130)
0.0227501319481792
>>> print("IQ test outcome:", sample(IQ))
IQ test outcome: 116.309834872963
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.
Release files for hall 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hall-0.1.13.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hall-0.1.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:26.6 kB
Release files / hall-0.1.13.tar.gz
| Download URL | hall-0.1.13.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8e308ac137909c85af545ef8d9d0d8e4b90f5c0ed0ea7ccd80c24210a9eec7d
|
|
BLAKE2b-256 checksum How to use checksums |
4b7c3f2419bd526a1c3a991886cd08a5a7634cd163affb1aa2b30f1d47781f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure
|
Release files / hall-0.1.13-py3-none-any.whl
| Download URL | hall-0.1.13-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d209faae6cf382b2514e556eb90ce6ca0d4bccd1a199b1a0cb00cdc7131be82b
|
|
BLAKE2b-256 checksum How to use checksums |
1d15c13ded420614f3779a8a895686cc7eed242b873c730db8db51f6cef976c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure
|