Description and Use

The experiment consists of tossing n fair coins. The position of the random walk after j tosses is the number of heads minus the number of tails. The random variables of interest are
* Y-- The final position
* M-- The maximum position
* L-- The time of the last zero
The random walk is shown in red in the left graph on each update. The maximum and minimum values are shown as red dots on the right vertical axis; the last zero is shown as a red dot on the horizontal axis. The value of each of the three random variables is recorded in the data table on each update. Any of the three variables can be selected from the list box. The probability density function and moments of the selected variable are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density function and moments are shown in red in the distribution graph and are recorded in the distribution table. The number of steps n can be varied with the scroll bar.