An statistics library for the behavioural sciences written in TypeScript.
npm install --save analysis
All samples use ES6/TypeScript syntax.
Using Node.JS:
import * as Analysis from 'analysis'
/**
* TODO ...
*/
In the browser with webpack or browserify:
// app.js with jQuery
var stats = require('analysis');
$.get('/api/data')
.then(data => stats.descriptive.mode(data));
TODO
Clone the project and install the dependencies:
git clone https://github.com/seikho/analysis
cd analysis && npm install
Run the unit tests:
npm run test