类 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 类的测试用例。
  • 字段详细资料

    • smallSamples

      protected double[][] smallSamples
      小样本数组
  • 构造器详细资料

    • StorelessUnivariateStatisticAbstractTest

      public StorelessUnivariateStatisticAbstractTest()
  • 方法详细资料

    • getUnivariateStatistic

      public abstract StorelessUnivariateStatistic getUnivariateStatistic()
      返回统计量的新实例
      指定者:
      getUnivariateStatistic 在类中 UnivariateStatisticAbstractTest
    • expectedValue

      public abstract double expectedValue()
      UnivariateStatisticAbstractTest 中定义的 testArray 的预期值
      指定者:
      expectedValue 在类中 UnivariateStatisticAbstractTest
    • testIncrementation

      public void testIncrementation()
      验证 increment() 和 incrementAll 是否正常工作。
    • checkClearValue

      protected void checkClearValue(StorelessUnivariateStatistic statistic)
    • 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()