statistics.NormalDist
The statistics.NormalDist class returns an object that represents a normal distribution.
The statistics.NormalDist class returns an object that represents a normal distribution.
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.
The statistics.stdev function returns the standard deviation of the sample made up of the elements in data.
The statistics.variance function returns the variance of the sample made up of the elements in data.
The statistics.pvariance function returns the variance of the population made up of the elements in data.
The statistics.pstdev function returns the standard deviation of the population composed of the elements in data.
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.
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.
The statistics.median_grouped function calculates the median of the elements in data grouped in blocks of size interval (parameter that defaults to 1). More information in this web site.
The code for this function (simplified) is as follows:
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.
Excepto donde se indique otra cosa, los contenidos de este sitio web se ofrecen bajo una licencia Reconocimiento-NoComercial-SinObraDerivada 4.0 Internacional