peirce-criterion
Introduction
For starters, this ports the Python implementation found on
the Wikipedia article.
Additionally, this package provides a function called remove_outliers
that uses Peirce's method (as described here) to remove outliers
from an array of numbers.
Usage
const remove_outliers = ;const raw_data = 1 2 3 99;const trimmed_data = ;console; // [1, 2, 3]