Introduction
Statistical analysis is one of the regular activities of a data scientist. Such analysis includes but is not limited to analysis of descriptive statistics, frequency distributions, simple and multiple regression, correlation and covariance, and statistical significance among data distributions. Luckily, Java has many libraries that are capable of strong statistical analysis of data with only a few lines of coding efforts. This chapter outlines how a data scientist can use Java to make this analysis with 15 recipes.
Note that the focus of this chapter is only on fundamental statistical analysis of data using Java although it is possible use linear algebra, numerical analysis, special functions, complex numbers, geometry, curve fitting, differential equations using the language.
In order to perform the recipes in this chapter, we would require the following:
- Apache Commons Math 3.6.1. Therefore, you need to download the JAR file from http://commons.apache.org/proper/commons-math...