Bernoulli Galton Board Experiment

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. Random vector \(\boldsymbol{X} = (X_1, X_2, \ldots, X_n)\) gives the outcomes of the trials and \(A\) denotes the corresponding random subset \(\{1, 2, \ldots, n\}\). Recall that \(i \in A\) if and only if \(X_i = 1\), corresponding to a bounce to the right in row \(i\) of the Galton board. The variables \(\boldsymbol{X}\) and \(A\) are recorded in the data table on each run. The parameters \(n\) and \(p\) can be varied with scrollbars.