stats.moving-average
Simple or exponential moving average over a series, one value per full window, rounded to stated decimals.
movingAverage in TypeScript
2.0.0
py rs ts
24 tests
monitor.anomaly
Is a new metric value an outlier against its history? By z-score or by the robust median/MAD modified z-score.
detectAnomaly in TypeScript
1.0.0
py rs ts
20 tests
stats.mean-median
Mean, median and mode of a list of integers, with the mean and median as exact fractions.
meanMedianMode in TypeScript
1.0.0
py rs ts
16 tests
stats.percentile
Percentile of a list of numbers by a named method: nearest-rank, or linear interpolation (R-7, Excel PERCENTILE.INC).
percentile in TypeScript
2.0.0
py rs ts
29 tests
stats.standard-deviation
Population or sample standard deviation of a list of numbers, two-pass, rounded to stated decimals.
standardDeviation in TypeScript
2.0.0
py rs ts
21 tests
stats.weighted-average
Weighted average of integers, computed exactly and rounded once to stated decimals with an explicit rounding mode.
weightedAverage in TypeScript
1.0.0
py rs ts
21 tests