Author name: markelic

Probability and Statistics

Stars and Bars Argument (Einstein-Bose) or placing n identical objects into n distinct bins, or drawing k times from n balls with replacement, order does not matter

https://brilliant.org/wiki/integer-equations-star-and-bars/ https://brilliant.org/wiki/identical-objects-into-distinct-bins/ So, the total number of objects consists of the number of balls or start or else plus the number of bins -1 (which is the number of bars needed). Note, that it does not matter if we find all the ways we can choose the number of bars from the total number of

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