Product of bernoulli distributions on a set #
This file defines the product of bernoulli distributions on a set as a measure on sets.
For a set u : Set ι and p between 0 and 1, this is the measure on Set ι such that each
i ∈ u belongs to the random set with probability p, and each i ∉ u doesn't belong to it.
Notation #
setBer(u, p) is the product of p-Bernoulli distributions on u.
TODO #
It is painful to convert from unitInterval to ENNReal. Should we introduce a coercion or
explicit operation (like unitInterval.toNNReal, note the lack of dot notation!)?
The product of bernoulli distributions with parameter p on the set u : Set V is the measure
on Set V such that each element of u is taken with probability p, and the elements outside of
u are never taken.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Bernoulli random variables #
A random variable X : Ω → Set ι is p-bernoulli on a set u : Set ι if its distribution is
the product over u of p-bernoulli distributions.