Fixing Random, part 7

added by DotNetKicks
2/22/2019 4:54:44 PM

1 Kicks, 370 Views

A few episodes back I made a version of the Bernoulli distribution that took integer "odds". That is, the distribution randomly produces either zero or one, and we can say "produce on average 23 zeros for every 17 ones" or whatever. An obvious extension of this would be to produce 0, 1, or 2 randomly,...