"johnrgoodall"}" />

John Goodall

Research Scientist / Team Lead

Situation Awareness and Visual Analytics team

Oak Ridge National Laboratory

  865-446-0611

  jgoodall@ornl.gov

 

Javascript statistics libraries

There are a bunch of javascript statistics libraries for node.js and the browser around, but they arent always easy to find. Here are a couple that I have come across.

Gauss

Gauss, from Stackd, is a JavaScript statistics library that is ready to use with node.js featuring callbacks and method chaining. It seems to be actively updated. Gauss has methods for univariate and time series analysis (although the time series seems pretty limited so far).

Evented, asynchronous, and fast, Node.JS is an attractive platform for data mining, statistics, and data analysis. Gauss makes it easy to calculate and explore data through JavaScript.

Github Download

npm install

    npm install gauss

Sylvester

Sylvester is a Javascript library by James Coglan for math on vectors and matrices. Hard to tell if it is updated, since the source doesn’t seem to be on github or some other public repository. Chris Umbel has created a node.js port.

Sylvester is a JavaScript library designed to let you do mathematics with vectors and matrices without having to write lots of loops and throw piles of arrays around. It includes classes for modelling vectors and matrices in any number of dimensions, and for modelling infinite lines and planes in 3-dimensional space. It lets you write object-oriented easy-to-read code that mirrors the maths it represents.

Later releases will add components for more specific geometric modelling functionality, building towards a feature-complete 1.0 release.

Download

npm install

    npm install sylvester

JStat

JStat is a Javascript statistical library intended for use in the browser. It optionally includes jQuery, jQuery UI and flot for building plots. It seems to be actively updated, but has no real documentation yet.

There is a github repo, but it is hard to tell if it is up to date, given this note on the github page: The code in this repository does not currently match that found on www.jstat.org. We are in the process of merging two similar projects and will update the website once the merge is complete.

jStat is a statistical library written in JavaScript that allows you to perform advanced statistical operations without the need of a dedicated statistical language (i.e. MATLAB or R).

Download

Github Download

Science.js

Science.js is a new statistics library from Jason Davies originally intended for use with d3.js, the excellent visualization library for javascript. It has methods for statistics and linear algebra. It is a new project, coming soon on the home page, that seems pretty actively updated. No npm/node.js integration (yet?).

Science.js is a JavaScript library for scientific and statistical computing.

Currently, there are two modules:

  • science.stats, containing various implementations of statistical methods similar to those provided by R;
  • science.lin, for linear algebra.

Github download