## File: Running-Statistics-Current-Statistics.html

package info (click to toggle)
gsl-ref-html 2.3-1
• area: non-free
• in suites: bullseye, buster, sid
• size: 6,876 kB
• ctags: 4,574
• sloc: makefile: 35
 file content (169 lines) | stat: -rw-r--r-- 7,789 bytes parent folder | download
 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169  GNU Scientific Library – Reference Manual: Running Statistics Current Statistics

22.3 Current Statistics

Function: double gsl_rstat_min (gsl_rstat_workspace * w)

This function returns the minimum value added to the accumulator.

Function: double gsl_rstat_max (gsl_rstat_workspace * w)

This function returns the maximum value added to the accumulator.

Function: double gsl_rstat_mean (gsl_rstat_workspace * w)

This function returns the mean of all data added to the accumulator, defined as

\Hat\mu = (1/N) \sum x_i
Function: double gsl_rstat_variance (gsl_rstat_workspace * w)

This function returns the variance of all data added to the accumulator, defined as

\Hat\sigma^2 = (1/(N-1)) \sum (x_i - \Hat\mu)^2
Function: double gsl_rstat_sd (gsl_rstat_workspace * w)

This function returns the standard deviation of all data added to the accumulator, defined as the square root of the variance given above.

Function: double gsl_rstat_sd_mean (gsl_rstat_workspace * w)

This function returns the standard deviation of the mean, defined as

sd_mean = \Hat\sigma / \sqrt{N}
Function: double gsl_rstat_rms (gsl_rstat_workspace * w)

This function returns the root mean square of all data added to the accumulator, defined as

rms = \sqrt ( 1/N \sum x_i^2 )
Function: double gsl_rstat_skew (gsl_rstat_workspace * w)

This function returns the skewness of all data added to the accumulator, defined as

skew = (1/N) \sum ((x_i - \Hat\mu)/\Hat\sigma)^3
Function: double gsl_rstat_kurtosis (gsl_rstat_workspace * w)

This function returns the kurtosis of all data added to the accumulator, defined as

kurtosis = ((1/N) \sum ((x_i - \Hat\mu)/\Hat\sigma)^4)  - 3
Function: double gsl_rstat_median (gsl_rstat_workspace * w)

This function returns an estimate of the median of the data added to the accumulator.