Probability and Statistics

Jupyter-Notebook: Binominal Distribution Example

https://gist.github.com/irene-markelic/c57d616a1dab051b4d57e70d36fb920b#file-binomialdistributionexample-ipynb BinomialDistributionExample In [1]: from scipy.stats import binom import matplotlib.pyplot as plt # experiment: 10 balls, 7 are white and 3 black # we pick a ball 10 times with replacement # What is the probability that there are: # – 0 white balls # – 1 white ball # – 2 white balls # –

Scroll to Top
Cookie Consent with Real Cookie Banner