Searched refs:xbar (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/ |
D | statistics.py | 725 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 …]
|
D | random.py | 894 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/ltp/tools/sparse/sparse-src/validation/ |
D | bool-cast-restricted.c | 9 _Bool xbar(large_t x) { return (_Bool)~x; } in xbar() function
|
/third_party/python/Doc/library/ |
D | statistics.rst | 457 .. 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/ |
D | test_statistics.py | 2114 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/ |
D | 3.10.0a1.rst | 1896 ignoring their mu and xbar arguments.
|
/third_party/mksh/ |
D | check.t | 11441 if [ x$FOO != xbar ]; then 11454 if [ x$FOO != xbar ]; then
|