Skip to content

Simple Statistics

Statistical methods in readable JavaScript for browsers, servers, and people.

Simple Statistics is a JavaScript library that implements statistical methods. It helps coders harness the power of statistics and statisticians understand code. The library is exhaustively documented, written in a simple and friendly style, and thoroughly tested.

You can use simple-statistics with node.js by installing it with npm.

Terminal window
npm install --save simple-statistics

The npm package is usable in node.js and the web via bundlers like esbuild, webpack, or rollup.

You can also use simple-statistics in webpages from unpkg:

<script src="https://unpkg.com/simple-statistics@7/dist/simple-statistics.min.js"></script>

Made by Tom MacWright & Contributors. Also ported to Python as simplestatistics.