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 computer code and data files described and made available on this web page are 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.