This class models a random variable, as a Distribution object and an IntervalData object. The IntervalData object is used to holds a random sample from the distribution. The class has methods for getting and setting the Distribution object, the IntervalData object, and the name of the variable, and methods for sampling from the distribution and clearing the data. RandomVariable objects are used in many experiments; see for example the basic dice experiment.
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of distributions.zip, which contains the source and resource files for all objects in the distributions class.