Provides functions for many of the statistical operations that you might need
Provides functions for many of the statistical operations that you might need.
Stats.js currently supports many of the statistical functions that you might need, including
It also supports many of the functions on the data set that you'd expect from Underscore, such as
See the getting started guide for more information.
Patches are welcome, just make sure there are matching unit tests. Tests use mocha with my fork of expect.js (which allows you to assert that a value is within a certain error range of another value). Once you clone the repo (either your fork or this repository),
cd into it and run
npm install to install mocha and expect.js. Tests can be found within
Stats.js is licensed under the MIT License. See https://github.com/angusgibbs/statsjs/blob/master/LICENSE for the full license.