Home
last modified time | relevance | path

Searched refs:xbar (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/
Dstatistics.py725 def variance(data, xbar=None): argument
768 T, ss = _ss(data, xbar)
816 def stdev(data, xbar=None): argument
828 var = variance(data, xbar)
883 xbar = fsum(x) / n
885 sxy = fsum((xi - xbar) * (yi - ybar) for xi, yi in zip(x, y))
911 xbar = fsum(x) / n
913 sxy = fsum((xi - xbar) * (yi - ybar) for xi, yi in zip(x, y))
914 sxx = fsum((xi - xbar) ** 2.0 for xi in x)
955 xbar = fsum(x) / n
[all …]
Drandom.py894 xbar = mean(data)
895 sigma = stdev(data, xbar)
900 print('avg %g, stddev %g, min %g, max %g\n' % (xbar, sigma, low, high))
/third_party/gstreamer/gstreamer/tests/misc/
Dnetwork-clock-utils.scm79 (let ((xbar (apply avg x))
81 (let ((sxx (- (sum (map sq x)) (* n (sq xbar))))
83 (sxy (- (sum (map * x y)) (* n xbar ybar))))
87 (- ybar (* slope xbar))
/third_party/ltp/tools/sparse/sparse-src/validation/
Dbool-cast-restricted.c9 _Bool xbar(large_t x) { return (_Bool)~x; } in xbar() function
/third_party/gstreamer/gstreamer/gst/
Dgstutils.c4321 GstClockTime xmin, ymin, xbar, ybar, xbar4, ybar4; in gst_calculate_linear_regression() local
4338 xbar = ybar = sxx = syy = sxy = 0; in gst_calculate_linear_regression()
4380 if ((newx[j] > 0 && G_MAXUINT64 - xbar <= newx[j]) || in gst_calculate_linear_regression()
4385 G_GUINT64_FORMAT " newy[j] %" G_GUINT64_FORMAT, xbar, newx[j], ybar, in gst_calculate_linear_regression()
4392 xbar += newx[j]; in gst_calculate_linear_regression()
4395 xbar /= n; in gst_calculate_linear_regression()
4420 xbar4 = xbar >> pshift; in gst_calculate_linear_regression()
4493 *b = (ymin + ybar) - gst_util_uint64_scale_round (xbar, *m_num, *m_denom); in gst_calculate_linear_regression()
/third_party/python/Doc/library/
Dstatistics.rst457 .. function:: stdev(data, xbar=None)
468 .. function:: variance(data, xbar=None)
476 If the optional second argument *xbar* is given, it should be the mean of
494 optional second argument *xbar* to avoid recalculation:
503 as *xbar*. Using arbitrary values for *xbar* can lead to invalid or
/third_party/python/Lib/test/
Dtest_statistics.py2114 self.assertEqual(self.func(data, xbar=2.0), 1.0)
2158 self.assertEqual(self.func(data, xbar=2.0), 1.0)
2558 xbar = self.module.mean(data)
2559 self.assertTrue(mu - sigma*8 <= xbar <= mu + sigma*8)
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst1896 ignoring their mu and xbar arguments.
/third_party/mksh/
Dcheck.t11441 if [ x$FOO != xbar ]; then
11454 if [ x$FOO != xbar ]; then