Home
last modified time | relevance | path

Searched refs:stddev (Results 1 – 2 of 2) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DStatTest.java72 double stddev = Stat.getStat(values).mStddev; in testGetStandardDeviation() local
73 assertEquals(Math.sqrt(2.5), stddev, 0.00001); in testGetStandardDeviation()
76 stddev = Stat.getStat(values).mStddev; in testGetStandardDeviation()
77 assertEquals(Math.sqrt(2.5), stddev, 0.00001); in testGetStandardDeviation()
80 stddev = Stat.getStat(values).mStddev; in testGetStandardDeviation()
81 assertEquals(Math.sqrt(10.0), stddev, 0.00001); in testGetStandardDeviation()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStat.java39 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument
43 mStddev = stddev; in StatResult()
71 double stddev = Math.sqrt(variance); in getStat() local
72 return new StatResult(average, min, max, stddev, data.length); in getStat()