Dependency-free statistics functions for Go
open sourceMITfree
montanaflynn/stats is a tested statistics library for Go with no dependencies: median, mean, rounding and the other common descriptive statistics over float64 slices, with helpers that load ints, strings and mixed slices as data.
Problems it solves
- calculate the median and mean of a slice of numbers in Go
- basic statistics in Go without importing a big numerical library
- summarise latency measurements in a Go program
Features
- common statistics such as median and mean over float64 data
- LoadRawData turns ints, strings and mixed slices into data
- no dependencies
