Statistics
Python provides a built-in module with a rich variety of
functions to calculate statistics of real valued data. A brief list of functions provided by this module is given down:
There is a slight difference between the standard deviation
and variance of a sample that of the whole population. In
the calculation of statistics for a sample we divide by (N-1)
where N represents the number of data points. However, in
the case of population variance and standard deviation we
divide by (N). Therefore, we get slightly different results.
Remember that we get pstdev = 2.75 and stdev = 2.87. The function st.mode () gives the data point that occurs the most in the dataset. This function gives an error in case there is no unique
mode.
Conclusion
In this step by step article, we will exploring the concept of statistics built-in functions that is basically help us in that time, when we calculate different numbers through our data points and it also help us beyond that as well.