findOutliers
findOutliers(
values,threshold?):number[]
Defined in: outliers.ts:25
Flag values unlikely to belong to the same distribution as the rest.
Uses the modified Z-score, built on the median and the median absolute deviation. A plain Z-score is unusable for this: a single extreme value inflates the standard deviation enough to hide itself.
Parameters
Section titled “Parameters”values
Section titled “values”readonly number[]
The sample, in collection order. Not modified.
threshold?
Section titled “threshold?”number = DEFAULT_OUTLIER_THRESHOLD
Modified Z-score cutoff.
Returns
Section titled “Returns”number[]
Indices into values, in ascending order.