org.apache.commons.math3.stat
Class StatUtilsTest

java.lang.Object
  extended by org.apache.commons.math3.stat.StatUtilsTest

public final class StatUtilsTest
extends Object

Test cases for the StatUtils class.

Version:
$Id: StatUtilsTest.java 1364030 2012-07-21 01:10:04Z erans $

Constructor Summary
StatUtilsTest()
           
 
Method Summary
 void testArrayIndexConditions()
           
 void testDifferenceStats()
           
 void testGeometricMean()
           
 void testMax()
           
 void testMean()
           
 void testMin()
           
 void testN0andN1Conditions()
           
 void testNormalize1()
          Run the test with the values 50 and 100 and assume standardized values
 void testNormalize2()
          Run with 77 random values, assuming that the outcome has a mean of 0 and a standard deviation of 1 with a precision of 1E-10.
 void testPercentile()
           
 void testPopulationVariance()
           
 void testProduct()
           
 void testStats()
          test stats
 void testSumLog()
           
 void testSumSq()
           
 void testVariance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatUtilsTest

public StatUtilsTest()
Method Detail

testStats

public void testStats()
test stats


testN0andN1Conditions

public void testN0andN1Conditions()

testArrayIndexConditions

public void testArrayIndexConditions()

testSumSq

public void testSumSq()

testProduct

public void testProduct()

testSumLog

public void testSumLog()

testMean

public void testMean()

testVariance

public void testVariance()

testPopulationVariance

public void testPopulationVariance()

testMax

public void testMax()

testMin

public void testMin()

testPercentile

public void testPercentile()

testDifferenceStats

public void testDifferenceStats()

testGeometricMean

public void testGeometricMean()

testNormalize1

public void testNormalize1()
Run the test with the values 50 and 100 and assume standardized values


testNormalize2

public void testNormalize2()
Run with 77 random values, assuming that the outcome has a mean of 0 and a standard deviation of 1 with a precision of 1E-10.



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.