Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kurtosis ¶
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 Skew ¶
func Skew(sample interface{}, method ...SkewnessMode) interface{}
Skew calculates the skewness(sample) of the DataList. Returns the skewness. Returns nil if the DataList is empty or the skewness cannot be calculated. Skew_FisherPearson method is not correct yet.
Types ¶
type SkewnessMode ¶ added in v0.0.1
type SkewnessMode int
SkewnessMode is an enum type for skewness calculation mode.
const ( // PearsonFirst represents Type 1 skewness calculation mode. Skew_PearsonFirst SkewnessMode = iota // FisherPearson represents Type 2 skewness calculation mode. Skew_FisherPearson // AdjustedFisherPearson represents Type 3 skewness calculation mode. Skew_AdjustedFisherPearson )
Click to show internal directories.
Click to hide internal directories.