1. Virtual Laboratories
  2. Object Library
  3. Distributions
  4. IntervalData

IntervalData

Description

This class models a data distribution corresponding to a specified partition of a specified interval. The class has methods for getting and setting the domain and for adding a value and for clearing the data. The class also has methods for computing the frequency function, relative frequency function, density function, mean, variance, and quantiles. The RandomVariable object includes an IntervalData object, and hence IntervalData objects are used in many experiments. See, for example, the basic dice experiment.

Class Hierarchy

Code

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.