@Test public void testStdErr() throws Exception { OneVariableStats oneVariableStats = new OneVariableStats(); assertEquals(0.0, oneVariableStats.stdErr(), 0.0); oneVariableStats.add(1.0); oneVariableStats.add(2.0); oneVariableStats.add(3.0); oneVariableStats.add(4.0); oneVariableStats.add(5.0); assertEquals(0.6324, oneVariableStats.stdErr(), 0.001); }
public double stdErr() { if (num == 0) { return 0; } return std() / Math.sqrt(num); }
OneVariableStats implements Serializable { public double stdErr() { if (num == 0) { return 0; } return std() / Math.sqrt(num); } }
OneVariableStats implements Serializable { public double stdErr() { if (num == 0) { return 0; } return std() / Math.sqrt(num); } OneVariableStats(); }
OneVariableStats implements Serializable { public double stdErr() { if (num == 0) { return 0; } return std() / Math.sqrt(num); } OneVariableStats(); void reset(); void add(double d); double mean(); double std(); double stdErr(); double min(); double max(); }
OneVariableStats implements Serializable { public double stdErr() { if (num == 0) { return 0; } return std() / Math.sqrt(num); } OneVariableStats(); void reset(); void add(double d); double mean(); double std(); double stdErr(); double min(); double max();  }