import AdvancedNumberStats from 'stats-collector/lib/stats/number/AdvancedNumberStats'
AdvancedNumberStats
Extends:
A stat collector that includes the following collector functions:
- amean
- count
- count_* (a bunch of filtered counts)
- gmean
- hmean
- max
- mean
- median
- midRange
- min
- powerSumAvg_running
- product
- range
- standardDeviation_running
- standardDeviation_stable
- sum
- sumOfRecipricals
- sumOfSquaredDeviations_stable
- variance_running
- variance_stable
Example:
const stats = new AdvancedNumberStats();
stats.processAll([1, 2, 3, 4, 5]);
stats.get();
Constructor Summary
Public Constructor | ||
public |
|