Documentation ¶
Overview ¶
Package stattestutils provides basic statistical utility functions.
This package is not optimized for performance or speed and is only intended to be used in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SampleMean ¶
SampleMean returns the mean of a slice, calculated as the average over the values in the slice.
func SampleVariance ¶
SampleVariance returns the variance of a slice, calculated as the sum of sqaures of the distance to the mean of each of the values, divided by the number of values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.