类 StorelessUnivariateStatisticAbstractTest
java.lang.Object
org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.StorelessUnivariateStatisticAbstractTest
- 直接已知子类:
-
FirstMomentTest
,FourthMomentTest
,GeometricMeanTest
,KurtosisTest
,MaxTest
,MeanTest
,MinTest
,ProductTest
,PSquarePercentileTest
,RandomPercentileTest
,SecondMomentTest
,SkewnessTest
,StandardDeviationTest
,SumLogTest
,SumSqTest
,SumTest
,ThirdMomentTest
,VarianceTest
public abstract class StorelessUnivariateStatisticAbstractTest extends UnivariateStatisticAbstractTest
StorelessUnivariateStatistic 类的测试用例。
-
字段概要
从类继承的字段 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
-
构造器概要
-
方法概要
修饰符和类型方法说明protected void
checkClearValue
(StorelessUnivariateStatistic statistic) abstract double
UnivariateStatisticAbstractTest 中定义的 testArray 的预期值abstract StorelessUnivariateStatistic
返回统计量的新实例<T> void
测试聚合操作是否与单独增量一致。void
确保 evaluate(double[]) 和 incrementAll(double[])、getResult() 返回相同的结果。void
void
验证复制的统计量在相同方式增量时仍然等于原始值。void
void
确保 evaluate(double[]) 不会改变内部状态。void
验证 increment() 和 incrementAll 是否正常工作。void
void
void
从类继承的方法 org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
getTolerance, testCopy, testCopyData, testEvaluateArraySegment, testEvaluateArraySegmentWeighted, testEvaluation, testWeightedConsistency
-
字段详细资料
-
smallSamples
protected double[][] smallSamples小样本数组
-
-
构造器详细资料
-
StorelessUnivariateStatisticAbstractTest
public StorelessUnivariateStatisticAbstractTest()
-
-
方法详细资料
-
getUnivariateStatistic
返回统计量的新实例 -
expectedValue
public abstract double expectedValue()UnivariateStatisticAbstractTest 中定义的 testArray 的预期值 -
testIncrementation
public void testIncrementation()验证 increment() 和 incrementAll 是否正常工作。 -
checkClearValue
-
testSerialization
public void testSerialization() -
testEqualsAndHashCode
public void testEqualsAndHashCode() -
testMomentSmallSamples
public void testMomentSmallSamples() -
testConsistency
public void testConsistency()确保 evaluate(double[]) 和 incrementAll(double[])、getResult() 返回相同的结果。 -
testCopyConsistency
public void testCopyConsistency()验证复制的统计量在相同方式增量时仍然等于原始值。 -
testSerial
public void testSerial() -
testEvaluateInternalState
public void testEvaluateInternalState()确保 evaluate(double[]) 不会改变内部状态。 -
testAggregate
public <T> void testAggregate()测试聚合操作是否与单独增量一致。 -
testConsume
public void testConsume()
-