类 MedianTest
java.lang.Object
org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.rank.MedianTest
Median
类的测试用例。
-
字段概要
从类继承的字段 org.hipparchus.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
-
构造器概要
-
方法概要
修饰符和类型方法说明double
void
void
protected void
testAssertMappedValues
(double[] d, Object[][] map, Double tolerance) 简单的测试断言实用方法从类继承的方法 org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
getTolerance, testCopy, testCopyData, testEvaluateArraySegment, testEvaluateArraySegmentWeighted, testEvaluation, testWeightedConsistency
-
构造器详细资料
-
MedianTest
public MedianTest()
-
-
方法详细资料
-
getUnivariateStatistic
-
expectedValue
public double expectedValue() -
testAllTechniquesSingleton
public void testAllTechniquesSingleton() -
testAllTechniquesMedian
public void testAllTechniquesMedian() -
testAssertMappedValues
简单的测试断言实用方法- 参数:
-
d
- 输入数据 -
map
- 预期结果与Percentile.EstimationType
的映射 -
tolerance
- 允许的差异容差
-