Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoefficientOfVariation ¶
CoefficientOfVariation calculates the coefficient of variation (CV) which is the ratio of standard deviation to mean. CV is a normalized measure of dispersion that is useful for comparing variability across different scales. Uses sample standard deviation (dividing by n-1). Returns NaN when the mean is zero, as CV is mathematically undefined in this case.
func Percentile ¶
Percentile calculates the given percentile of a slice of float64 values.
func StandardDeviation ¶
StandardDeviation calculates the sample standard deviation of a slice of float64 values using Bessel's correction (dividing by n-1).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.