**urn-simulation_test**,
a MATLAB program which
calls urn_simulation() to simulate 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 GNU LGPL license.

urn_simulation, a MATLAB library 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.

- urn_simulation_test.m, calls all the tests.
- urn_simulation_test.sh, runs all the tests.
- urn_simulation_test.txt, the output file.

- urn_50_50_test.m, simulates drawing from an urn with 50 white and 50 black marbles.
- urn_50_50_test.png, an image of the PDF of the number of white marbles drawn from the 50/50 urn.