| 24 | } |
| 25 | |
| 26 | type ContinuousStats struct { |
| 27 | data []float64 |
| 28 | summaryData [][]string |
| 29 | count int |
| 30 | min float64 |
| 31 | max float64 |
| 32 | mean float64 |
| 33 | median float64 |
| 34 | sd float64 |
| 35 | variance float64 |
| 36 | sum float64 |
| 37 | q1 float64 |
| 38 | q2 float64 |
| 39 | q3 float64 |
| 40 | iqr float64 |
| 41 | mode float64 |
| 42 | modeCount int |
| 43 | missing int |
| 44 | } |
| 45 | |
| 46 | func (s *ContinuousStats) summary(a []string) { |
| 47 | originalCount := len(a) |
nothing calls this directly
no outgoing calls
no test coverage detected