(values: Iterable<number>)
| 426 | // Moment coefficient of skewness g₁ = m3 / m2^(3/2) = m3 / (m2·√m2). |
| 427 | return m3.div(m2.mul(m2.sqrt(prec)), prec); |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * The most frequent value of a machine sample. Among values that occur |
| 432 | * equally often, the SMALLEST one is the mode, the same tie rule as the exact |
| 433 | * kernel (`exactMode` in `library/statistics.ts`), so `evaluate()` and `.N()` |
| 434 | * agree on which value wins a tie. |
| 435 | * |
| 436 | * Two data count together only when their doubles are equal. That is the |
| 437 | * precision of the sample: two machine values that differ in the last bit |
no test coverage detected