类 StandardDeviationTest
java.lang.Object
org.hipparchus.stat.descriptive.UnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.StorelessUnivariateStatisticAbstractTest
org.hipparchus.stat.descriptive.moment.StandardDeviationTest
StandardDeviation
类的测试用例。
-
字段概要
从类继承的字段 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的预期值返回统计量的新实例protected double
populationStandardDeviation
(double[] v) 人口标准差的定义公式void
testNaN()
确保当n = 0时返回Double.NaNvoid
测试方差的人口版本从类继承的方法 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
-
构造器详细资料
-
StandardDeviationTest
public StandardDeviationTest()
-
-
方法详细资料
-
getUnivariateStatistic
返回统计量的新实例 -
expectedValue
public double expectedValue()UnivariateStatisticAbstractTest中定义的testArray的预期值 -
testNaN
public void testNaN()确保当n = 0时返回Double.NaN -
testPopulation
public void testPopulation()测试方差的人口版本 -
populationStandardDeviation
protected double populationStandardDeviation(double[] v) 人口标准差的定义公式
-