Chapter 8Statistical Analysis on the Client Side

This chapter introduces jStat, a client-side statistical analysis library. With jStat, you learn how to compute basic values, such as the mean and standard deviation, and then how to leverage these values to create probability distributions. This chapter explores some rudimentary statistics but focuses mostly on how to use these tools.

This chapter also introduces the jQuery charting plug-in Flot, which is designed for plotting coordinate data. With Flot, you interface with jStat's probability distributions to render statistical charts like the normal curve.

By the end of this chapter, you'll have a handy toolkit for not only statistical analysis but also for rendering that data on the client side.

Statistical Analysis with jStat

jStat is a statistical analysis library that you can use on the client side. It isn't as robust as server-side statistics tools such as MATLAB or R, but it does provide similar features. With jStat, you can calculate everything from basic means and standard deviations to more complex probability distributions, ...

Get JavaScript and jQuery for Data Analysis and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.