Exemplo n.º 1
0
  static void htExample1() {
    Var cans =
        Numeric.copy(
            355.02, 355.47, 353.01, 355.93, 356.66, 355.98, 353.74, 354.96, 353.81, 355.79);
    ZTestOneSample.test(cans, 355, 0.05).printSummary();

    ZTestOneSample.test(cans, 355, 0.05, 0.05, HTest.Alternative.GREATER_THAN).printSummary();
  }
Exemplo n.º 2
0
 static void htExample2() {
   ZTestOneSample ztest =
       ZTestOneSample.test(6.7, 29, 5, 7.1, 0.05, HTest.Alternative.GREATER_THAN);
   ztest.printSummary();
 }