WebCab Probability and Statistics for COM v3.3 Demo

DataPresentation.CFrequencyTableBOL Method 

Calculates the cumulative frequency table from below for a discrete data set in accordance with the open left boundary (OLB) convention.

public double[] CFrequencyTableBOL();

Remarks

The value of the cumulative frequency table values at a given point is the number of elements within the data set below the highest value of that interval of the frequency table constructed in accordance with the open left boundary convention.

Before this method is called you are required to set the discrete data set and the boundaries interval using SetDataSet and SetBoundariesIntervals respectively.

Example

Within this example we work through an illustration in which the cumulative frequency table from below using the open left boundary convention is evaluated.

Consider the set of boundaries { 1, 2, 3, 4, 5 }, which divide the real line into six sub-intervals. Now if we use the open left boundary convention then the real line will be divided into the sub-intervals:

(-infinity, 1], (1,2], (2,3], (3,4], (4,5], (5, infinity)

Note that, each point on the real line can be assigned to one of these sub-intervals and therefore when assigning a data point to one of these intervals there will only be one sub-interval in which it belongs.

Therefore, if we consider the data set { 0.5, 1.4, 1.3, 2.0, 2.3, 4.5, 5.5}, if the assign this data set in accordance with the above the conventions then we will have: using Open Left Boundary (OLB) convention:

Now in follows that the associated values of the cumulative frequency table are given by:

Hence, for this case the array returned by this methods to represent the cumulative frequency table would be: {1, 4, 5, 5, 6, 7}.

Exceptions

Exception TypeCondition
StatisticsExceptionThrown if data set or the boundaries intervals are null.

See Also

DataPresentation Class | WebCab.COM.Statistics.Statistics Namespace