2.1.0 • Published 3 years ago

dataproofer-stats-suite v2.1.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

stats-suite

Suite of statistical tests for Dataproofer

Table of Contents

Tests

standardDeviationOutliers.js

src/standardDeviationOutliers.js:18-132

Outlier detection using standard deviation Examples in comparison with median absolute deviations:

Parameters

  • rows Array an array of objects representing rows in the spreadsheet
  • columnHeads Array an array of strings for column names of the spreadsheet

Returns Object describing the result

medianAbsoluteDeviationOutliers.js

src/medianAbsoluteDeviationOutliers.js:18-136

Outlier detection using median absolute deviation Examples in comparison with standard deviation:

Parameters

  • rows Array an array of objects representing rows in the spreadsheet
  • columnHeads Array an array of strings for column names of the spreadsheet

Returns Object describing the result

Development

Getting Started

git clone git@github.com:dataproofer/stats-suite.git
cd stats-suite
npm install

Writing Tests

Building Docs

We use documentation.js, but have created a handy script for regenerating documentation.

npm run docs

Then open up and check your docs in DOCUMENTATION.md