Lea, discrete probability distributions in Python
I have the pleasure to announce the release of Lea 1.3.1.
NEW: Lea now runs on Python 3 (and still on Python 2.x) !
Lea is a Python package that allows you to define and play with discrete
probability distributions in an intuitive way.
Lea can model a broad range of random discrete phenomenons. Then, it
allows calculating probabilities of events, whether atomic, aggregated or combined through operations. A typical example is the probabilities of the sum of N dice having known, possibly unfair, probability distributions.
Project page / documentation
Features ======== - models finite discrete probability distributions - standard distribution indicators (mean, standard deviation,.) - arithmetic and logical operators on probability distribution - cartesian products, conditional probabilities, joint distributions - generation of random samples - open-source project, LGPL license
- runs on Python 2.x and 3.x - pure Python module, lightweight - no package dependency - probabilities stored as rationals (no floating-point biases)
Hoping Lea could be helpful in this uncertain universe...