thresholds

package
v0.0.0-...-1ea9000 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const LowThreshold = 0.05

The low threshold used in hypothesis testing. Note that this implies we could be rejecting the null hypothesis if the p-value is less than this value. It can happen that because we're generating the table of "high" thresholds with randomised permutations, that this value is actually higher than the "high" thresholds.

Variables

This section is empty.

Functions

func HighThresholdFunctional

func HighThresholdFunctional(normalized_magnitude float64, sample_size int) (float64, error)

HighThresholdFunctional returns the high threshold for functional hypothesis testing given the normalized_magnitude and the sample_size.

The normalized magnitude is an estimate of failure rate between 0 and 1. We need more values to find smaller differences.

func HighThresholdPerformance

func HighThresholdPerformance(normalized_magnitude float64, sample_size int) (float64, error)

HighThresholdPerformance returns the high threshold for performance hypothesis testing given the normalized_magnitude and the sample_size.

The normalized magnitude is an estimate of the size of differences to look for, normalized by the interquartile range (IQR). We need more values to find smaller differences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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