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.4.tar.gz
(9.7 kB
view details)
Built Distribution
hall-0.1.4-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file hall-0.1.4.tar.gz
.
File metadata
- Download URL: hall-0.1.4.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 | 0232b99dbba01b9bcca4779595de298e3400ce61ca5a509040e6a56087795bbb |
|
MD5 | c779f497e2d61ef4d21d9dc2361ae150 |
|
BLAKE2b-256 | be2264cf5bfe64ff2f442f1a7bdc12b73899b77f0974a590cfb74de3e16096f1 |
File details
Details for the file hall-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: hall-0.1.4-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 | c3a11b38ef9773f7aea6ef71a69bb2aee580ede94f2c19da56294053ffc23627 |
|
MD5 | e76a2385c955a182ac12bd42914acbe6 |
|
BLAKE2b-256 | 4e543b0c52117489b077ff0c41bc6c8b4f79b6a077c564f67e71df9d0e03a7f3 |