stats

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateMoment added in v0.0.3

func CalculateMoment(dl insyra.IDataList, n int, central bool) (*big.Rat, error)

CalculateMoment calculates the n-th moment of the DataList. Returns the n-th moment and error. Returns nil if the DataList is empty or the n-th moment cannot be calculated.

func Kurtosis

func Kurtosis(data interface{}, method ...int) interface{}

Kurtosis calculates the kurtosis(sample) of the DataList. Returns the kurtosis. Returns nil if the DataList is empty or the kurtosis cannot be calculated.

func Skewness added in v0.0.3

func Skewness(sample interface{}, method ...int) interface{}

Skewness calculates the skewness(sample) of the DataList. Returns the skewness. Returns nil if the DataList is empty or the skewness cannot be calculated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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