类 UnivariateStatisticAbstractTest
java.lang.Object
org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
UnivariateStatistic
类的测试用例。
-
字段概要
修饰符和类型字段说明protected double
protected double
protected double[]
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double
protected double[]
protected double[]
protected double
protected double
protected double[]
protected double
protected double
protected double
protected double
protected double
protected double
-
构造器概要
-
方法概要
修饰符和类型方法说明abstract double
double
abstract UnivariateStatistic
void
testCopy()
void
void
void
void
void
测试加权统计计算的一致性。
-
字段详细资料
-
mean
protected double mean -
geoMean
protected double geoMean -
var
protected double var -
std
protected double std -
skew
protected double skew -
kurt
protected double kurt -
min
protected double min -
max
protected double max -
median
protected double median -
percentile5
protected double percentile5 -
percentile95
protected double percentile95 -
product
protected double product -
sumLog
protected double sumLog -
sumSq
protected double sumSq -
sum
protected double sum -
secondMoment
protected double secondMoment -
thirdMoment
protected double thirdMoment -
fourthMoment
protected double fourthMoment -
weightedMean
protected double weightedMean -
weightedVar
protected double weightedVar -
weightedStd
protected double weightedStd -
weightedProduct
protected double weightedProduct -
weightedSum
protected double weightedSum -
tolerance
protected double tolerance -
testArray
protected double[] testArray -
testWeightsArray
protected double[] testWeightsArray -
identicalWeightsArray
protected double[] identicalWeightsArray -
unitWeightsArray
protected double[] unitWeightsArray
-
-
构造器详细资料
-
UnivariateStatisticAbstractTest
public UnivariateStatisticAbstractTest()
-
-
方法详细资料
-
getUnivariateStatistic
-
expectedValue
public abstract double expectedValue() -
getTolerance
public double getTolerance() -
testEvaluation
public void testEvaluation() -
testEvaluateArraySegment
public void testEvaluateArraySegment() -
testEvaluateArraySegmentWeighted
public void testEvaluateArraySegmentWeighted() -
testCopy
public void testCopy() -
testCopyData
public void testCopyData() -
testWeightedConsistency
public void testWeightedConsistency()测试加权统计计算的一致性。对于支持加权评估的统计量,此测试用例将直接在具有重复值的数组上进行计算的结果与在相应(较短)数组上进行加权计算的结果进行比较,其中每个值仅出现一次,但权重值等于其在重复数组中的重复次数。
-