Figure 1 shows a screen shot of the Dice Experiment, a typical applet in the library.
The Dice Experiment applet is a virtual random experiment that rolls dice, collects data, and displays the data in tables and a graph. Specifically, the basic experiment is to roll n dice and record the values of the following random variables:
The simulation is controlled by the buttons and selection boxes in the main toolbar (Figure 2) at the top.
The table on the left records the values of the five random variables on each update. The table on the right gives the probability mass function, mean, and standard deviation of a selected random variable in the distribution column, and the relative frequency function, empirical mean, and empirical standard deviation in the data column. The graph on the right gives exactly the same information as the table on the right, but in graphical form rather than numerical form. Information about the theoretical distribution is displayed in blue, and information about the empirical data is displayed in red. The choice of the random variable to display in the table and graph is made with the drop-down box in the second toolbar (Figure 3).
The number of dice can be varied from 1 to 30 with the scroll bar. Clicking on the die icon brings up a dialog box (Figure 4) for specifying the probabilities that govern each die:
The buttons along the top of this dialog box specify six "pre-packaged" die distributions. The first gives uniform probabilities (corresponding to a fair die), and the others give various non-uniform distributions for a crooked die. Additionally, the student can specify the probabilities directly in the text boxes.
Information about each component in the applet is given in a tool tip that appears when the student rests the cursor on the component. Basic information about the applet is also given in a help box that pops up when the student clicks on the information button in the main toolbar.
In the next section I will cover the nuts and bolts of how you could include this applet in your own Web-based course materials. Then I will return to the more interesting discussion of pedagogical issues.