SampleStdDev returns the sample standard deviation with Bessel's correction (sqrt of SampleVariance).
()
| 99 | // SampleStdDev returns the sample standard deviation with Bessel's correction |
| 100 | // (sqrt of SampleVariance). |
| 101 | func (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. |