statistic

package
v0.0.0-...-be61b1a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Correlation

func Correlation(x, y []float64) (float64, error)

func Mean

func Mean(data []float64) (float64, error)

Mean calculates the mean value of a slice of numeric types

func Median

func Median(data []float64, p float64, weights []float64) (float64, error)

Median calculates the median of a slice of numbers.

func Quantile

func Quantile(data []float64) (q25 float64, q75 float64, iqr float64, lowerBound float64, upperBound float64, outliers []float64, q90 float64, q95 float64)

func Skewness

func Skewness(data []float64, weights []float64) (float64, error)

func StandardDeviation

func StandardDeviation(data []float64, weights []float64) (float64, error)

func Variance

func Variance(data []float64, weights []float64) (float64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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