urn-simulation_test, a MATLAB code which calls urn_simulation(), which simulates an experiment in which k colored marbles are drawn from an urn containing a total of n marbles. The quantity of interest is the number of marbles of each color.
The information on this web page is distributed under the MIT license.
urn_simulation, a MATLAB code which simulates an experiment in which k colored marbles are drawn from an urn containing a total of n marbles. The quantity of interest is the number of marbles of each color.