Module stats

Source
Expand description

§Basic statistical computations

Modules§

correlation

Functions§

kahan_sigma
kahan_sigma_return_counter
mean
n_choose_2
percentile_by
percentile_ratio is percentile / 100, e.g. the 90-th percentile corresponds to a percentile_ratio of 0.9.
standard_deviation
ddof stands for delta degress of freedom, and the sum of squares will be divided by count - ddof, where count is the number of elements for population standard deviation, set ddof to 0 for sample standard deviation, set ddof to 1
sum
sum_f32
sum_of_fourth_power_f32
sum_of_squares
sum_of_squares_f32
variance
ddof stands for delta degress of freedom, and the sum of squares will be divided by count - ddof, where count is the number of elements for population variance, set ddof to 0 for sample variance, set ddof to 1