Home
last modified time | relevance | path

Searched refs:variance (Results 1 – 25 of 51) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DStandardDeviation.java48 private Variance variance = null; field in StandardDeviation
55 variance = new Variance(); in StandardDeviation()
64 variance = new Variance(m2); in StandardDeviation()
88 variance = new Variance(isBiasCorrected); in StandardDeviation()
103 variance = new Variance(isBiasCorrected, m2); in StandardDeviation()
111 variance.increment(d); in increment()
118 return variance.getN(); in getN()
126 return FastMath.sqrt(variance.getResult()); in getResult()
134 variance.clear(); in clear()
153 return FastMath.sqrt(variance.evaluate(values)); in evaluate()
[all …]
DKurtosis.java111 double variance = moment.m2 / (moment.n - 1); in getResult() local
112 if (moment.n <= 3 || variance < 10E-20) { in getResult()
119 ((n - 1) * (n -2) * (n -3) * variance * variance); in getResult()
171 Variance variance = new Variance(); in evaluate() local
172 variance.incrementAll(values, begin, length); in evaluate()
173 double mean = variance.moment.m1; in evaluate()
174 double stdDev = FastMath.sqrt(variance.getResult()); in evaluate()
DSkewness.java107 double variance = moment.m2 / (moment.n - 1); in getResult() local
108 if (variance < 10E-20) { in getResult()
113 ((n0 - 1) * (n0 -2) * FastMath.sqrt(variance) * variance); in getResult()
172 final double variance = (accum - (accum2 * accum2 / length)) / (length - 1); in evaluate() local
179 accum3 /= variance * FastMath.sqrt(variance); in evaluate()
/external/guava/guava-tests/benchmark/com/google/common/math/
DStatsBenchmark.java75 private final double variance; field in StatsBenchmark.MeanAndVariance
77 MeanAndVariance(double mean, double variance) { in MeanAndVariance() argument
79 this.variance = variance; in MeanAndVariance()
84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); in hashCode()
91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
126 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
141 abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm); in variance() method in StatsBenchmark.VarianceAlgorithm
168 tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode(); in meanAndVariance()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DStatisticalSummaryValues.java39 private final double variance; field in StatisticalSummaryValues
63 public StatisticalSummaryValues(double mean, double variance, long n, in StatisticalSummaryValues() argument
67 this.variance = variance; in StatisticalSummaryValues()
113 return FastMath.sqrt(variance); in getStandardDeviation()
120 return variance; in getVariance()
DAggregateSummaryStatistics.java332 final double variance; in aggregate() local
334 variance = Double.NaN; in aggregate()
336 variance = 0d; in aggregate()
338 variance = m2 / (n - 1); in aggregate()
340 return new StatisticalSummaryValues(mean, variance, n, max, min, sum); in aggregate()
DSummaryStatistics.java92 protected Variance variance = new Variance(); field in SummaryStatistics
116 private StorelessUnivariateStatistic varianceImpl = variance;
237 if (varianceImpl == variance) { in getVariance()
344 if (varianceImpl != variance) { in clear()
701 if (source.variance == source.varianceImpl) { in copy()
702 dest.variance = (Variance) dest.varianceImpl; in copy()
704 Variance.copy(source.variance, dest.variance); in copy()
/external/lldb/tools/lldb-perf/lib/
DMetric.cpp76 T variance; in GetStandardDeviation() local
78 variance = M2 / n; in GetStandardDeviation()
80 variance = M2 / (n - 1); in GetStandardDeviation()
81 return sqrt(variance); in GetStandardDeviation()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTTestImpl.java191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed), in t()
256 StatUtils.variance(sample1), StatUtils.variance(sample2), in homoscedasticT()
293 StatUtils.variance(sample1), StatUtils.variance(sample2), in t()
412 return tTest( StatUtils.mean(sample), mu, StatUtils.variance(sample), in tTest()
576 StatUtils.variance(sample1), StatUtils.variance(sample2), in tTest()
618 StatUtils.mean(sample2), StatUtils.variance(sample1), in homoscedasticTTest()
619 StatUtils.variance(sample2), sample1.length, in homoscedasticTTest()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_variance.c21 void variance(const uint8_t *a, int a_stride, in variance() function
117 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \
162 variance(src_ptr, source_stride, ref_ptr, ref_stride, 16, 16, sse, sum); in vp9_get16x16var_c()
168 variance(src_ptr, source_stride, ref_ptr, ref_stride, 8, 8, sse, sum); in vp9_get8x8var_c()
175 variance(src, src_stride, ref, ref_stride, 16, 16, sse, &sum); in vp9_mse16x16_c()
183 variance(src, src_stride, ref, ref_stride, 16, 8, sse, &sum); in vp9_mse16x8_c()
191 variance(src, src_stride, ref, ref_stride, 8, 16, sse, &sum); in vp9_mse8x16_c()
199 variance(src, src_stride, ref, ref_stride, 8, 8, sse, &sum); in vp9_mse8x8_c()
Dvp9_variance.h20 void variance(const uint8_t *a, int a_stride,
Dvp9_aq_variance.c128 variance(x->plane[0].src.buf, x->plane[0].src.stride, in block_variance()
/external/libvpx/libvpx/vp8/common/
Dvariance_c.c34 static void variance( in variance() function
76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); in vp8_variance16x16_c()
92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg); in vp8_variance8x16_c()
108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg); in vp8_variance16x8_c()
125 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 8, &var, &avg); in vp8_variance8x8_c()
141 variance(src_ptr, source_stride, ref_ptr, recon_stride, 4, 4, &var, &avg); in vp8_variance4x4_c()
157 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); in vp8_mse16x16_c()
/external/linux-tools-perf/src/tools/perf/util/
Dstat.c44 double variance, variance_mean; in stddev_stats() local
49 variance = stats->M2 / (stats->n - 1); in stddev_stats()
50 variance_mean = variance / stats->n; in stddev_stats()
/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp206 bg_model->g_point[n].g_values[0].variance[m] = var_init; in cvCreateGaussianBGModel()
214 bg_model->g_point[n].g_values[k].variance[m] = var_init; in cvCreateGaussianBGModel()
390 var_threshold += g_point->g_values[k].variance[m]; in icvMatchTest()
452 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m]+ in icvUpdateFullWindow()
453 (learning_rate_gaussian*((tmpDiff*tmpDiff) - g_point->g_values[k].variance[m])); in icvUpdateFullWindow()
483 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m]+ in icvUpdatePartialWindow()
484 (learning_rate_gaussian*((tmpDiff*tmpDiff) - g_point->g_values[k].variance[m])); in icvUpdatePartialWindow()
510 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdateFullNoMatch()
543 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdatePartialNoMatch()
565 variance_sum += g_point->g_values[k].variance[m]; in icvGetSortKey()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DStatUtils.java315 public static double variance(final double[] values) { in variance() method in StatUtils
339 public static double variance(final double[] values, final int begin, in variance() method in StatUtils
370 public static double variance(final double[] values, final double mean, in variance() method in StatUtils
397 public static double variance(final double[] values, final double mean) { in variance() method in StatUtils
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java219 final double variance = stat.getResult(); in getPointFromLargestVarianceCluster() local
222 if (variance > maxVariance) { in getPointFromLargestVarianceCluster()
223 maxVariance = variance; in getPointFromLargestVarianceCluster()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DCovariance.java162 Variance variance = new Variance(biasCorrected); in computeCovarianceMatrix() local
170 outMatrix.setEntry(i, i, variance.evaluate(matrix.getColumn(i))); in computeCovarianceMatrix()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp59 double variance; member
79 result.variance += (val - result.mean) * (val - result.mean); in calculateStats()
82 result.variance /= values.size(); in calculateStats()
548 …log << TestLog::Message << "Interleaved variance: " << interleaved.variance << TestLog::End… in logAndSetTestResult()
554 …log << TestLog::Message << "Batched variance: " << batched.variance << TestLog::EndMessag… in logAndSetTestResult()
/external/fio/tools/plot/
Dfio2gnuplot253 variance = map(lambda x: (x - avg)**2, disk_perf[disk])
254 standard_deviation = math.sqrt(average(variance))
267 variance = map(lambda x: (x - avg)**2, global_disk_perf)
268 standard_deviation = math.sqrt(average(variance))
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dprofile.rb84 def variance method in ANTLR3.Profile.DataSet
90 sqrt( variance )
/external/ceres-solver/data/nist/
DGauss3.dat13 distributed zero-mean noise with variance = 6.25.
DGauss2.dat13 distributed zero-mean noise with variance = 6.25.
DGauss1.dat13 distributed zero-mean noise with variance = 6.25.
/external/libvpx/libvpx/vp8/common/x86/
Dmfqe_sse2.asm165 ; unsigned int *variance, 4
255 ; (variance + 128) >> 8

123