Home
last modified time | relevance | path

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

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/misc/
DStats.java60 double xbar = avg(X); in stddev() local
63 s2 += (X[i] - xbar)*(X[i] - xbar); in stddev()
71 double xbar = 0.0; in avg() local
77 xbar += X[i]; in avg()
79 if ( xbar>=0.0 ) { in avg()
80 return xbar / m; in avg()
115 double xbar = 0.0; in avg() local
121 xbar += X.get(i); in avg()
123 if ( xbar>=0.0 ) { in avg()
124 return xbar / m; in avg()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DStats.cs76 double xbar = Average(X); in Stddev()
80 s2 += ( X[i] - xbar ) * ( X[i] - xbar ); in Stddev()
92 double xbar = Average(X); in Stddev()
96 s2 += ( X[i] - xbar ) * ( X[i] - xbar ); in Stddev()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DStats.cs69 double xbar = EnumerableExtensions.Average(X); in Stddev()
72 s2 += (X[i] - xbar) * (X[i] - xbar); in Stddev()
82 double xbar = EnumerableExtensions.Average(X); in Stddev()
85 s2 += (X[i] - xbar) * (X[i] - xbar); in Stddev()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DSimpleRegression.java85 private double xbar = 0; field in SimpleRegression
139 xbar = x; in addData()
142 double dx = x - xbar; in addData()
147 xbar += dx / (n + 1.0); in addData()
175 double dx = x - xbar; in removeData()
180 xbar -= dx / (n - 1.0); in removeData()
488 getMeanSquareError() * ((1d / (double) n) + (xbar * xbar) / sumXX)); in getInterceptStdErr()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DMean.java160 double xbar = sum.evaluate(values, begin, length) / sampleSize; in evaluate() local
165 correction += values[i] - xbar; in evaluate()
167 return xbar + (correction/sampleSize); in evaluate()
/external/python/cpython3/Lib/
Dstatistics.py697 def variance(data, xbar=None): argument
740 T, ss = _ss(data, xbar)
788 def stdev(data, xbar=None): argument
797 var = variance(data, xbar)
926 xbar = fmean(data)
927 return cls(xbar, stdev(data, xbar))
Drandom.py851 xbar = mean(data)
852 sigma = stdev(data, xbar)
857 print('avg %g, stddev %g, min %g, max %g\n' % (xbar, sigma, low, high))
/external/llvm/test/CodeGen/X86/
Drot16.ll57 define i16 @xbar(i16 %x, i16 %y, i16 %z) nounwind readnone {
59 ; CHECK-LABEL: xbar:
Drot32.ll71 define i32 @xbar(i32 %x, i32 %y, i32 %z) nounwind readnone {
73 ; CHECK-LABEL: xbar:
Drot64.ll65 define i64 @xbar(i64 %x, i64 %y, i64 %z) nounwind readnone {
/external/llvm-project/llvm/test/CodeGen/X86/
Drot16.ll124 define i16 @xbar(i16 %x, i16 %y, i16 %z) nounwind {
125 ; X86-LABEL: xbar:
132 ; X64-LABEL: xbar:
Drot64.ll119 define i64 @xbar(i64 %x, i64 %y, i64 %z) nounwind readnone {
120 ; ALL-LABEL: xbar:
Drot32.ll189 define i32 @xbar(i32 %x, i32 %y, i32 %z) nounwind readnone {
190 ; CHECK32-LABEL: xbar:
197 ; CHECK64-LABEL: xbar:
/external/python/cpython3/Doc/library/
Dstatistics.rst443 .. function:: stdev(data, xbar=None)
454 .. function:: variance(data, xbar=None)
462 If the optional second argument *xbar* is given, it should be the mean of
480 optional second argument *xbar* to avoid recalculation:
489 as *xbar*. Using arbitrary values for *xbar* can lead to invalid or
/external/python/cpython3/Lib/test/
Dtest_statistics.py2095 self.assertEqual(self.func(data, xbar=2.0), 1.0)
2132 self.assertEqual(self.func(data, xbar=2.0), 1.0)
2454 xbar = self.module.mean(data)
2455 self.assertTrue(mu - sigma*8 <= xbar <= mu + sigma*8)
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b4.rst328 ignoring their mu and xbar arguments.
/external/mksh/src/
Dcheck.t11440 if [ x$FOO != xbar ]; then
11453 if [ x$FOO != xbar ]; then