statistics.quantiles

The statistics.quantiles function returns the quantiles corresponding to the numbers contained in the iterable data. If the parameter n takes the value 4, the function returns the numerical values corresponding to the first, second and third quartiles. If n takes the value 100, the function returns the numeric values corresponding to the percentiles ranging from 1 to 100.

Submitted by admin on Wed, 04/07/2021 - 10:11

statistics.multimode

The statistics.multimode function returns a list made up of the most frequent values (the mode) of data. If there is more than one value with the same frequency, they are returned in the order in which they are found in data.

If the structure data is empty, the function returns an empty list.

Submitted by admin on Wed, 03/31/2021 - 08:27

statistics.mode

The statistics.mode function returns the most frequent value (the mode) of data. If there is more than one value with the same frequency, the first one found in data is returned.

If the structure data is empty, the function returns an error.

Submitted by admin on Tue, 03/30/2021 - 13:32

statistics.median_high

The statistics.median_high function returns the median of the elements in data. For its calculation, the ordered elements are considered: If the number of elements is odd, the function returns the value that occupies the central position. If the number of elements is even, the highest value of the two closest to the center position is returned.

Submitted by admin on Sun, 03/28/2021 - 10:23