Enter the number of values for the discrete variable. Then enter the probability distribution (discrete values and the associated probabilities). The applet will simulate and produce a dotplot of a sample from the population. It will also compute the mean and standard deviation of both the sample generated and the probability distribution (with calculations).