Package Exports
- simple-statistics
- simple-statistics/src/ckmeans
- simple-statistics/src/error_function
- simple-statistics/src/linear_regression
- simple-statistics/src/linear_regression_line
- simple-statistics/src/max
- simple-statistics/src/mean
- simple-statistics/src/median
- simple-statistics/src/min
- simple-statistics/src/mode
- simple-statistics/src/quantile
- simple-statistics/src/sample_correlation
- simple-statistics/src/sample_standard_deviation
- simple-statistics/src/standard_deviation
- simple-statistics/src/sum
- simple-statistics/src/variance
- simple-statistics/src/z_score
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-statistics) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Simple Statistics
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
Installation
Recommended: for node.js, browserify, and/or webpack users, install from npm:
npm install simple-statisticsScript tag usage:
https://npmcdn.com/simple-statistics@2.1.0/dist/simple-statistics.js- Minified:
https://npmcdn.com/simple-statistics@2.1.0/dist/simple-statistics.min.js
Bower:
- Bower:
https://npmcdn.com/simple-statistics@2.1.0/bower.zip
Examples
- 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