Java org.apache.commons.math3.stat StatUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat StatUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat StatUtils.

The text is from its open source code.

Method

doublegeometricMean(final double[] values)
Returns the geometric mean of the entries in the input array, or Double.NaN if the array is empty.
doublemeanDifference(final double[] sample1, final double[] sample2)
Returns the mean of the (signed) differences between corresponding elements of the input arrays -- i.e., sum(sample1[i] - sample2[i]) / sample1.length.
double[]normalize(final double[] sample)
Normalize (standardize) the sample, so it is has a mean of 0 and a standard deviation of 1.
doublepopulationVariance(final double[] values, final double mean)
Returns the population variance of the entries in the input array, using the precomputed mean value.
doublepopulationVariance(final double[] values)
Returns the population variance of the entries in the input array, or Double.NaN if the array is empty.
doublesumDifference(final double[] sample1, final double[] sample2)
Returns the sum of the (signed) differences between corresponding elements of the input arrays -- i.e., sum(sample1[i] - sample2[i]).
doublesumLog(final double[] values)
Returns the sum of the natural logs of the entries in the input array, or Double.NaN if the array is empty.
doublesumSq(final double[] values)
Returns the sum of the squares of the entries in the input array, or Double.NaN if the array is empty.
doublevarianceDifference(final double[] sample1, final double[] sample2, double meanDifference)
Returns the variance of the (signed) differences between corresponding elements of the input arrays -- i.e., var(sample1[i] - sample2[i]).