stats

package
v0.0.0-...-e825a9d Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KolmogorovSmirnovTestRejection

func KolmogorovSmirnovTestRejection(control []float64, candidate []float64, percentile Percentile) bool

KolmogorovSmirnovTestRejection performs a two-tailed KS-test, returning true if rejected (i.e., the distributions are different) and returning false if the candidate distribution belongs to the control distribution.

func SampleTruncatedNormalDistribution

func SampleTruncatedNormalDistribution(lo, hi, mean, variance float64) float64

Types

type Percentile

type Percentile = int
const (
	P90 Percentile = iota
	P95
	P97d5
	P99
	P99d5
	P99d9
)

Jump to

Keyboard shortcuts

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