Package com.imsl.test.example.stat
Class RandomEx4
java.lang.Object
com.imsl.test.example.stat.RandomEx4
Generates a pseudorandom sample from a discrete uniform distribution.
In this example, nextDiscrete and
nextUniformDiscrete are each used to generate discrete uniform
pseudorandom numbers. Note that the probabilities across the possible values
must be equal, in order to generate uniformly from nextDiscrete.
Also note that since the same random seed is used, the methods produce the
same results.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomEx4
public RandomEx4()
-
-
Method Details
-
main
-