A JavaScript implementation of descriptive, regression, and inference statistics.
Implemented in literate JavaScript with no dependencies, designed to work in all modern browsers (including IE) as well as in node.js.
๐ API Documentation
Recommended: for node.js, browserify, and/or webpack users, install from npm:
npm install simple-statistics
Script tag usage:
https://unpkg.com/[email protected]/dist/simple-statistics.js
- Minified:
https://unpkg.com/[email protected]/dist/simple-statistics.min.js
Bower:
- Bower:
https://unpkg.com/[email protected]/bower.zip
- Python: simplestatistics is an idiomatic implementation of basic statistical algorithms.
- Linear regression with simple-statistics and d3js
- Jenks Natural Breaks with a choropleth map with d3js
- Embedded statistics in a spreadsheet with nxsheet: regression and stddev