Galton Board Experiment

Timeline
Distribution graph

Description

The Galton board experiment consists of performing \(n\) Bernoulli trials with probability of success \(p\). The trial outcome are represented graphically as a path in the Galton board: success corresponds to a bounce to the right and failure to a bounce to the left. The number of successes \(Y\) and the proportion of successes \(M\) are recorded on each update. Graphically, \(Y\) is the number of the peg in the last row of the Galton board that the ball hits. Either \(Y\) or \(M\) can be selected with 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. When the simulation runs, the empirical density function and moments of the selected variable are shown in red in the distribution graph and are recorded in the distribution table. The parameters \(n\) and \(p\) can be varied with scroll bars.