Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

JSTAT - A JavaScript Statistical Library

DZone's Guide to

JSTAT - A JavaScript Statistical Library

· Big Data Zone ·
Free Resource

Hortonworks Sandbox for HDP and HDF is your chance to get started on learning, developing, testing and trying out new features. Each download comes preconfigured with interactive tutorials, sample data and developments from the Apache community.

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).  The majority of jStat functions can be used independently of any other libraries. However, the plotting functionality of jStat is based on the jQuery plugin - flot. Therefore, to generate plots using jStat the following dependencies are required:

  • jQuery - version 1.4.4+
  • jQuery UI - version 1.8.9+
  • flot - version 0.6+

jStat only uses elements that adhere to the jQuery UI ThemeRoller styles so any jQuery UI theme can be used.  jStat uses numerous advanced statistical functions that require considerable processing power. This requirement results in differing user experiences depending upon your browser choice. Currently, the fastest browser is Google Chrome. However, most browsers provide satisfactory performance, with the exception of Internet Explorer which has a significant performance hit.

jStat uses numerous advanced statistical functions that require considerable processing power. This requirement results in differing user experiences depending upon your browser choice. Currently, the fastest browser is Google Chrome. However, most browsers provide satisfactory performance, with the exception of Internet Explorer which has a significant performance hit.


BROWSER COMPATIBILITY

jStat should work in all major browsers. Most of the limitations arise from the use of the HTML 5 canvas element when plotting. Below is a list of supported browsers:

  • Internet Explorer - versions 7+
  • Firefox - version 3+
  • Safari - version 3.1+
  • Opera - version 9.6+
  • Google Chrome

Requirements: jQuery, jQuery UI, flot 
Demo: http:/ / www. jstat. org/ demonstration 
License: MIT License

Hortonworks Community Connection (HCC) is an online collaboration destination for developers, DevOps, customers and partners to get answers to questions, collaborate on technical articles and share code examples from GitHub.  Join the discussion.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}