Example 1: The population from which samples are selected is {1,2,3,4,5,6}. This population has a mean of 3.5 and a standard deviation of 1.70783. The next display shows a histogram of the population.
This article describes a cutpoint sampling method for efficiently sampling from an n-point discrete distribution that preserves the monotone relationship between a uniform deviate and the random ...