statistics

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptySlice = errors.New("statistics: slice is empty")
)

Functions

func Average

func Average(numbers ...float64) (float64, error)

Average returns the mean of numbers.

func DeviationFromMean

func DeviationFromMean(numbers ...float64) map[float64]float64

DeviationFromMean returns the deviation from mean for numbers.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL