Frequency

Frequency of statistical distribution is the array ai with the length m + 1, where m  - the length of interval array ar2. Where:

Binary search algorithm is used to find corresponding interval for each element in the data array  ar1.

If the data array is empty, an array of zeroes is returned. When the interval array is empty, and array containing a single element is returned; the element is equal to the number of elements in the data array.

See also:

IStatistics.Frequency | Library of Methods and Models