[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

19. Statistics

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 use recurrence relations to compute average quantities in a stable way, without large intermediate values that might overflow.

The functions are available in versions for datasets in the standard floating-point and integer types. The versions for double precision floating-point data have the prefix gsl_stats and are declared in the header file `gsl_stats_double.h'. The versions for integer data have the prefix gsl_stats_int and are declared in the header files `gsl_stats_int.h'.

19.1 Mean, Standard Deviation and Variance  
19.2 Absolute deviation  
19.3 Higher moments (skewness and kurtosis)  
19.4 Autocorrelation  
19.5 Covariance  
19.6 Weighted Samples  
19.7 Maximum and Minimum values  
19.8 Median and Percentiles  
19.9 Example statistical programs  
19.10 References and Further Reading  



This document was generated by Michael Stenner on February, 14 2002 using texi2html