Commit 2023-09-15 18:54 a9e352ee
View on Github →feat: Pmf.integral_eq_sum (#6454)
The main result is that the integral (i.e. the expected value) with regard to a
measure derived from a Pmf
is a sum weighted by the Pmf
.
It also provides the expected value for specific probability mass functions
(bernoulli so far).