contexts SciMax Toolbox contortion

SciMax Toolbox >> continuous_freq

continuous_freq

Maxima Function

Calling Sequence

continuous_freq (list)
continuous_freq(list,m)

Description

The argument of continuous_freq must be a list of numbers, which will be then grouped in intervals and counted how many of them belong to each group. Optionally, function continuous_freq admits a second argument indicating the number of classes, 10 is default,

(%i1) load (numericalio)$
(%i2) load (descriptive)$
(%i3) s1 : read_list (file_search ("pidigits.data"))$
(%i4) continuous_freq (s1, 5);
(%o4) [[0, 1.8, 3.6, 5.4, 7.2, 9.0], [16, 24, 18, 17, 25]]

The first list contains the interval limits and the second the corresponding counts: there are 16 digits inside the interval [0, 1.8], that is 0's and 1's, 24 digits in (1.8, 3.6], that is 2's and 3's, and so on.

contexts SciMax Toolbox contortion