Expand description
Basic statistical utility functions.
This module provides fundamental descriptive statistics operations including measures of central tendency, dispersion, and position.
Structs§
- Five
Number Summary - Five-number summary statistics.
- Mode
Result - Result of the mode calculation.
Functions§
- correlation
- Calculates the correlation coefficient (Pearson’s r) between two slices.
- five_
number_ summary - Calculates the five-number summary of a slice of f64 values.
- max
- Finds the maximum value in a slice of f64 values.
- mean
- Calculates the arithmetic mean (average) of a slice of f64 values.
- median
- Calculates the median of a slice of f64 values.
- min
- Finds the minimum value in a slice of f64 values.
- mode
- Calculates the mode(s) of a slice of f64 values.
- quantile
- Calculates a quantile of a slice of f64 values using linear interpolation.
- range
- Calculates the range (max - min) of a slice of f64 values.
- stddev
- Calculates the sample standard deviation of a slice of f64 values.
- stddev_
population - Calculates the population standard deviation of a slice of f64 values.
- sum
- Calculates the sum of a slice of f64 values.
- variance
- Calculates the sample variance of a slice of f64 values.
- variance_
population - Calculates the population variance of a slice of f64 values.