WebCab Probability and Statistics for .NET v3.3 Demo

DataPresentation Constructor (Double[], Double[])

Creates a new DataPresentation instance with a specified initial data set and the boundaries of the intervals in which the data set points will be assigned.

public DataPresentation(
   double[] dataSet,
   double[] boundaries
);

Parameters

dataSet
An array where the k-th term corresponds to the k-th element of the data set.
boundaries
A strictly increasing sequence of boundaries of the intervals over the real line in which the data sets point will be assigned.

Remarks

Further Explanation

Lets assume for example that we have the data set {1.4, 2.4, 2,5, 2.0, 1.5}, and we have the boundary set of {0, 1, 2, 3}. Now the boundary set will divide the interval into the sub-intervals (0,1] (i.e. the interval from 0, to 1 which does include 0, but does not include 1), (1,2], (2,3]. Now the values of the data set which belong to each of these intervals are as follows:

  1. (0, 1] interval has no element from the data set.
  2. (1, 2] interval has the elements 1.4, 1.5, 2.0 from the data set.
  3. (2, 3] interval has the elements 2.4, 2.5 from the data set.

See Also

DataPresentation Class | WebCab.Libraries.Statistics.Statistics Namespace | DataPresentation Constructor Overload List