org.apache.commons.math3.stat.descriptive.rank
Class PercentileTest

java.lang.Object
  extended by org.apache.commons.math3.stat.descriptive.UnivariateStatisticAbstractTest
      extended by org.apache.commons.math3.stat.descriptive.rank.PercentileTest

public class PercentileTest
extends UnivariateStatisticAbstractTest

Test cases for the UnivariateStatistic class.

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

Field Summary
protected  Percentile stat
           
 
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
PercentileTest()
           
 
Method Summary
 double expectedValue()
          
 UnivariateStatistic getUnivariateStatistic()
          
 void test5()
           
 void testHighPercentile()
           
 void testLowPercentile()
           
 void testNISTExample()
           
 void testNullEmpty()
           
 void testPercentile()
           
 void testSetQuantile()
           
 void testSingleton()
           
 void testSpecialValues()
           
 
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 Percentile stat
Constructor Detail

PercentileTest

public PercentileTest()
Method Detail

getUnivariateStatistic

public UnivariateStatistic getUnivariateStatistic()

Specified by:
getUnivariateStatistic in class UnivariateStatisticAbstractTest

expectedValue

public double expectedValue()

Specified by:
expectedValue in class UnivariateStatisticAbstractTest

testHighPercentile

public void testHighPercentile()

testLowPercentile

public void testLowPercentile()

testPercentile

public void testPercentile()

testNISTExample

public void testNISTExample()

test5

public void test5()

testNullEmpty

public void testNullEmpty()

testSingleton

public void testSingleton()

testSpecialValues

public void testSpecialValues()

testSetQuantile

public void testSetQuantile()


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