Cell graph Distribution graph

Description

The experiment consists of sampling with replacement from the population \(\{1, 2, \ldots, m\}\) until \(k\) distinct values are obtained. The cell graph gives the counts for each population value that occurred in the sample. Random variable \(W\) gives the sample size needed and is recorded in the data table on each update. The probability density function and moments of \(W\) are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density function and moments of \(W\) are shown in red in the distribution graph and are recorded in the distribution table. The parameters \(m\) and \(k\) can be varied with the input controls.