urn_simulation, an Octave 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.
The computer code and data files described and made available on this web page are distributed under the MIT license
urn_simulation is available in a MATLAB version and an Octave version and a Python version.
octave_simulation, an Octave code which uses simulation to study card games, contests, and other processes which have a random element. Usually, the purpose is to try to predict the average behavior of the system over many trials.