org.apache.commons.math3.stat.descriptive.moment
Class SecondMomentTest

java.lang.Object
  extended by org.apache.commons.math3.stat.descriptive.UnivariateStatisticAbstractTest
      extended by org.apache.commons.math3.stat.descriptive.StorelessUnivariateStatisticAbstractTest
          extended by org.apache.commons.math3.stat.descriptive.moment.SecondMomentTest

public class SecondMomentTest
extends StorelessUnivariateStatisticAbstractTest

Test cases for the SecondMoment class.

Version:
$Id: SecondMomentTest.java 1244107 2012-02-14 16:17:55Z erans $

Field Summary
protected  SecondMoment stat
          descriptive statistic.
 
Fields inherited from class org.apache.commons.math3.stat.descriptive.StorelessUnivariateStatisticAbstractTest
smallSamples
 
Fields inherited from class org.apache.commons.math3.stat.descriptive.UnivariateStatisticAbstractTest
fourthMoment, geoMean, identicalWeightsArray, kurt, max, mean, median, min, percentile5, percentile95, product, secondMoment, skew, std, sum, sumLog, sumSq, testArray, testWeightsArray, thirdMoment, tolerance, unitWeightsArray, var, weightedMean, weightedProduct, weightedStd, weightedSum, weightedVar
 
Constructor Summary
SecondMomentTest()
           
 
Method Summary
 double expectedValue()
          Expected value for the testArray defined in UnivariateStatisticAbstractTest
 UnivariateStatistic getUnivariateStatistic()
          Return a new instance of the statistic
 
Methods inherited from class org.apache.commons.math3.stat.descriptive.StorelessUnivariateStatisticAbstractTest
checkClearValue, testConsistency, testCopyConsistency, testEqualsAndHashCode, testIncrementation, testMomentSmallSamples, testSerial, testSerialization
 
Methods inherited from class org.apache.commons.math3.stat.descriptive.UnivariateStatisticAbstractTest
getTolerance, testCopy, testEvaluateArraySegment, testEvaluateArraySegmentWeighted, testEvaluation, testWeightedConsistency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stat

protected SecondMoment stat
descriptive statistic.

Constructor Detail

SecondMomentTest

public SecondMomentTest()
Method Detail

getUnivariateStatistic

public UnivariateStatistic getUnivariateStatistic()
Description copied from class: StorelessUnivariateStatisticAbstractTest
Return a new instance of the statistic

Specified by:
getUnivariateStatistic in class StorelessUnivariateStatisticAbstractTest
See Also:
UnivariateStatisticAbstractTest.getUnivariateStatistic()

expectedValue

public double expectedValue()
Description copied from class: StorelessUnivariateStatisticAbstractTest
Expected value for the testArray defined in UnivariateStatisticAbstractTest

Specified by:
expectedValue in class StorelessUnivariateStatisticAbstractTest
See Also:
UnivariateStatisticAbstractTest.expectedValue()


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