Skip to content

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.

readonly number[]

The sample, in collection order. Not modified.

number = DEFAULT_OUTLIER_THRESHOLD

Modified Z-score cutoff.

number[]

Indices into values, in ascending order.