New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

grubbs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grubbs

Grubbs' test for outliers

latest
Source
npmnpm
Version
1.4.2
Version published
Maintainers
1
Created
Source

Grubbs' test for outliers

Online Grubbs' test for outliers: http://xcatliu.github.io/grubbs/

What is Grubbs' test

Grubbs' test (named after Frank E. Grubbs, who published the test in 1950), also known as the maximum normed residual test or extreme studentized deviate test, is a statistical test used to detect outliers in a univariate data set assumed to come from a normally distributed population.

For more information, please visit Grubbs' test for outliers.

Usage

Use online calculator

  • Open online Grubbs' test for outliers: http://xcatliu.github.io/grubbs/
  • Choose significance level
  • Enter or paste your data, one value per row, up to 100 rows
  • Click Go button to see the result

Use as node modules

First install grubbs via npm

npm install grubbs --save

Then use grubbs.test function

var grubbs = require('grubbs');
var dataSet = [
  10.45, 10.26, 10.49, 10.36, 10.53, 10.77, 10.40, 10.40, 10.56, 10.88, 10.47,
  10.49, 10.46, 10.38, 10.47, 10.39, 10.51, 10.49, 10.54, 10.46, 10.45, 10.49,
  10.46, 10.46, 10.51, 10.47, 10.54, 10.52, 10.47, 10.44, 11.62, 11.60, 10.42,
  10.42, 10.39, 10.22, 10.47, 10.42, 10.52, 10.57, 10.49, 10.49, 10.51, 10.47,
  10.51, 10.48, 10.4, 10.3, 10.47, 10.45
];
var result = grubbs.test(dataSet);
console.log(result);

API

grubbs.test

TODO

Contribution

Getting Start

npm install
npm start

Deploy gh-pages

npm run deploy:gh-pages

Competing Products

Reference

Keywords

grubbs

FAQs

Package last updated on 10 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts