类 VarianceTest
java.lang.Object
org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.StorelessUnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.moment.VarianceTest
Variance
类的测试用例。
-
字段概要
从类继承的字段 org.hipparchus.stat.descriptive.StorelessUnivariateStatisticAbstractTest
smallSamples
从类继承的字段 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
UnivariateStatisticAbstractTest中定义的testArray的预期值double
UnivariateStatisticAbstractTest中定义的testArray的预期值返回统计量的新实例protected double
populationVariance
(double[] v) 总体方差的定义公式void
testNaN()
确保当n = 0时返回Double.NaNvoid
测试方差的总体版本void
从类继承的方法 org.hipparchus.stat.descriptive.StorelessUnivariateStatisticAbstractTest
checkClearValue, testAggregate, testConsistency, testConsume, testCopyConsistency, testEqualsAndHashCode, testEvaluateInternalState, testIncrementation, testMomentSmallSamples, testSerial, testSerialization
从类继承的方法 org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
getTolerance, testCopy, testCopyData, testEvaluateArraySegment, testEvaluateArraySegmentWeighted, testEvaluation, testWeightedConsistency
-
构造器详细资料
-
VarianceTest
public VarianceTest()
-
-
方法详细资料
-
getUnivariateStatistic
返回统计量的新实例 -
expectedValue
public double expectedValue()UnivariateStatisticAbstractTest中定义的testArray的预期值 -
expectedWeightedValue
public double expectedWeightedValue()UnivariateStatisticAbstractTest中定义的testArray的预期值 -
testNaN
public void testNaN()确保当n = 0时返回Double.NaN -
testPopulation
public void testPopulation()测试方差的总体版本 -
populationVariance
protected double populationVariance(double[] v) 总体方差的定义公式 -
testWeightedVariance
public void testWeightedVariance()
-