Hall - Probability theory using pythonic and (almost) mathematical notation.
Probability theory using pythonic and (almost) mathematical notation.
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
For guidance on setting up a development environment and how to make a contribution to hall, see Contributing to hall.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size hall-0.1.13-py3-none-any.whl (14.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size hall-0.1.13.tar.gz (12.4 kB)||File type Source||Python version None||Upload date||Hashes View|