Distributions
Distribution is the core class in dit, representing
probability distributions over discrete random variables. Distributions can be
constructed from outcome-probability pairs, dictionaries, or NumPy arrays
(see Joint Distributions), and support arithmetic operations when outcomes are
numeric (see Scalar Distributions).