]> The Birthday Experiment

The Birthday Experiment

The BirthdayExperiment 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

The experiment is to draw a random sample of size n with replacement from a population of size m . In the applet, the population consists of m balls numbered from 1 to m . The random variables of interest are V , the number of distinct values in the sample, and I , the indicator variable that indicates at least one duplication in the sample (the birthday event). On each update, the sample of balls is shown in the urn graph; a ball that duplicates a previously chosen ball is shown in red, and otherwise is shown in green. The values of V and I are recorded on each update in the data table. The probability density function of the selected variable is shown in blue in the distribution graph and is recorded in the distribution table. On each update, the empirical density function of the selected variable is shown in red in the distribution graph and is recorded in the distribution table. The parameters m and n can be varied with scroll bars.