Example usage for Java org.apache.commons.math3.stat StatUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
double | geometricMean(final double[] values) Returns the geometric mean of the entries in the input array, or Double.NaN if the array is empty. |
double | meanDifference(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. |
double | populationVariance(final double[] values, final double mean) Returns the population variance of the entries in the input array, using the precomputed mean value. |
double | populationVariance(final double[] values) Returns the population variance of the entries in the input array, or Double.NaN if the array is empty. |
double | sumDifference(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]). |
double | sumLog(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. |
double | sumSq(final double[] values) Returns the sum of the squares of the entries in the input array, or Double.NaN if the array is empty. |
double | varianceDifference(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]). |