.- help for heads .-Coin tossing simulation illustrating law of large numbers ---------------------------------------------------------

heads [, SAVE ]

heads simulates the tossing of a coin. Via the dialog box, you can choose the number of trials, the number of coins per trial, and the probability of a head for each coin. A graph is then shown with the number of trials on the X axis, and the average number of heads on the Y axis. As the number of trials increases, you can see the average number of heads approach the expected number of heads, illustrating the law of large numbers.

If you choose the "Show Conf. Interval" option, you can also view a confidence interval for the average number of heads.

Options -------

save leaves the data from heads in memory and does not restore the original data.

Author ------

Philip B. Ender & Michael N. Mitchell Statistical Computing and Consulting UCLA, Academic Technology Services ender@ucla.edu, mnm@ucla.edu