]> Success-Runs Experiment

The Success-Runs Experiment

This applet requires the latest version of the Java plug-in. Please check your browser settings to make sure that Java applets are allowed. Visit the Java site to download and install the latest plug-in.

Description

This applet models the success-runs Markov chain corresponding to Bernoulli trials with probability of success p . The state at any time is the length of the current run of successes. The limiting distribution is the geometric distribution with parameter 1 p

The states are shown in the top graph, with the current state colored red. At time 0, the initial state can be chosen be clicking on the desired state. As the process runs, the chain moves from state to state. The time and the sate are recorded at each update in the record table. The proportion of time that the chain is in each state is shown visually in the graph box in red and displayed numerically in the distribution table. The limiting distribution is shown visually in the graph box in blue and displayed numerically in the distribution table

The probability of success can be varied with the scroll bar.