Home
last modified time | relevance | path

Searched refs:meanDifference (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTTestImpl.java88 double meanDifference = StatUtils.meanDifference(sample1, sample2); in pairedT() local
89 return t(meanDifference, 0, in pairedT()
90 StatUtils.varianceDifference(sample1, sample2, meanDifference), in pairedT()
129 double meanDifference = StatUtils.meanDifference(sample1, sample2); in pairedTTest() local
130 return tTest(meanDifference, 0, in pairedTTest()
131 StatUtils.varianceDifference(sample1, sample2, meanDifference), in pairedTTest()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DStatUtils.java594 public static double meanDifference(final double[] sample1, final double[] sample2) in meanDifference() method in StatUtils
612 double meanDifference) throws IllegalArgumentException { in varianceDifference() argument
627 sum1 += (diff - meanDifference) *(diff - meanDifference); in varianceDifference()
628 sum2 += diff - meanDifference; in varianceDifference()