Documentation
¶
Index ¶
- func CohensD(a, b TestSample) float64
- func GlassDelta(a, b TestSample) float64
- func HedgesG(a, b TestSample) float64
- func PooledStdDev(a, b TestSample) float64
- func StdMeanDiff(a, b TestSample, s float64) float64
- func TDistribution(t, v float64) float64
- func WelchSatterthwaite(a, b TestSample) float64
- func WelchTTest(a, b TestSample) float64
- type EMA
- type SMA
- func (s *SMA) Add(v uint64)
- func (s *SMA) AddN(c, v uint64)
- func (s *SMA) AddNWithTime(c, v uint64, t timeutil.Time)
- func (s *SMA) AddWithTime(v uint64, t timeutil.Time)
- func (s *SMA) Interval() time.Duration
- func (s *SMA) IntervalWithTime(t timeutil.Time) time.Duration
- func (s *SMA) Rate(d time.Duration) uint64
- func (s *SMA) RateWithTime(d time.Duration, t timeutil.Time) uint64
- func (s *SMA) Reset()
- func (s *SMA) ResetWithTime(t timeutil.Time)
- func (s *SMA) SampleCount() uint64
- func (s *SMA) SampleCountWithTime(t timeutil.Time) uint64
- func (s *SMA) SampleInterval() time.Duration
- func (s *SMA) SampleIntervalWithTime(t timeutil.Time) time.Duration
- func (s *SMA) SampleRate(d time.Duration) uint64
- func (s *SMA) SampleRateWithTime(d time.Duration, t timeutil.Time) uint64
- func (s *SMA) Value() uint64
- func (s *SMA) ValueWithTime(t timeutil.Time) uint64
- type TestSample
- type Welford
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CohensD ¶
func CohensD(a, b TestSample) float64
func GlassDelta ¶
func GlassDelta(a, b TestSample) float64
func HedgesG ¶
func HedgesG(a, b TestSample) float64
func PooledStdDev ¶
func PooledStdDev(a, b TestSample) float64
func StdMeanDiff ¶
func StdMeanDiff(a, b TestSample, s float64) float64
func TDistribution ¶
TDistribution student's t-distribution SEE https://en.wikipedia.org/wiki/Student%27s_t-distribution#Definition
func WelchSatterthwaite ¶
func WelchSatterthwaite(a, b TestSample) float64
WelchSatterthwaite pooled degrees of freedom SEE https://en.wikipedia.org/wiki/Welch%E2%80%93Satterthwaite_equation
func WelchTTest ¶
func WelchTTest(a, b TestSample) float64
WelchTTest unequal variances t-test SEE: https://en.wikipedia.org/wiki/Welch%27s_t-test
Types ¶
type SMA ¶
type SMA struct {
// contains filtered or unexported fields
}
SMA ...
func (*SMA) AddNWithTime ¶
AddNWithTime ...
func (*SMA) IntervalWithTime ¶
IntervalWithTime ...
func (*SMA) RateWithTime ¶
RateWithTime ...
func (*SMA) ResetWithTime ¶
func (*SMA) SampleCountWithTime ¶
SampleCountWithTime ...
func (*SMA) SampleIntervalWithTime ¶
SampleIntervalWithTime ...
func (*SMA) SampleRateWithTime ¶
SampleRateWithTime ...
type TestSample ¶
TestSample ...
type Welford ¶
type Welford struct {
// contains filtered or unexported fields
}
Welford implements Welford's online algorithm for variance SEE: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm
func WelfordMerge ¶
Click to show internal directories.
Click to hide internal directories.