Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 803 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 803 Bytes

Outlier

In statistics, an outlier is a data point that significantly differs from the other data points in a sample. Often, outliers in a data set can alert statisticians to experimental abnormalities or errors in the measurements taken, which may cause them to omit the outliers from the data set.

Outliner

Getting Started

Install the module with: npm install outlier.

var outlier = require('outlier');
outlier([12, 14, 51, 12, 10, 9, 16]).findOutliers(); // [51]
outlier([12, 14, 51, 12, 10, 9, 16]).testOutlier(51); // true

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.