gwerbin / bernoulli-runs-simulator Goto Github PK
View Code? Open in Web Editor NEWCalculate the probability of "x" success runs of length "k", in "n" bernoulli trials with success probability "p".
Home Page: https://www.gregwerbin.com/blog/2015-06-18/bernoulli-runs-simulator.html