MCPcopy Create free account
hub / github.com/github/gh-aw / SampleStdDev

Method SampleStdDev

pkg/stats/statvar.go:101–103  ·  view source on GitHub ↗

SampleStdDev returns the sample standard deviation with Bessel's correction (sqrt of SampleVariance).

()

Source from the content-addressed store, hash-verified

99// SampleStdDev returns the sample standard deviation with Bessel's correction
100// (sqrt of SampleVariance).
101func (s *StatVar) SampleStdDev() float64 {
102 return math.Sqrt(s.SampleVariance())
103}
104
105// Median returns the median of all observations.
106// For an even number of observations the two middle values are averaged.

Callers 6

parseEventsJSONLMetricsFunction · 0.95
TestStatVar_EmptyFunction · 0.95
applyMetricsTrendStatsFunction · 0.80

Calls 1

SampleVarianceMethod · 0.95

Tested by 4

TestStatVar_EmptyFunction · 0.76