Library for calculating basic statistics, built in from Python 3.4
Function | Function |
---|---|
mean |
Find the arithmetic mean |
median |
Find the median |
median_low |
If the number of data is even, find the smaller of the two values in the center. |
median_high |
If the number of data is even, find the larger of the two values in the center. |
median_grouped |
Find the median from the data grouped using intervals |
mode |
Find the mode |
pvariance |
Find the population standard deviation |
variance |
Find the sample standard deviation |
pstdev |
Seeking mother variance |
stdev |
Find the sample variance |
Just specify a list of real numbers or an iterator as an argument of each function.
9.7. statistics
- Mathematical statistics functions
Recommended Posts