11. pygsl.statistics
Statistics functions

This chapter describes the statistical functions in the library. The basic statistical functions include routines to compute the mean, variance and standard deviation. More advanced functions allow you to calculate absolute deviations, skewness, and kurtosis as well as the median and arbitrary percentiles.

The algorithms provided here use recurrence relations to compute average quantities in a stable way, without large intermediate values that might overflow. All functions work on any Python sequence (of appropriate data-type), but see section for advantages and drawbacks of different kinds of input data.

See Also:

For details on the underlying implementation of these functions please consult the GNU Scientific Library reference manual.



Subsections