@Test public void testTest() { logger.info("test"); DataTable2D dataTable = new DataTable2D(); dataTable.put2d(0,0,4); dataTable.put2d(0,1,7); dataTable.put2d(0,2,8); dataTable.put2d(0,3,6); dataTable.put2d(0,4,5); dataTable.put2d(0,5,5); dataTable.put2d(1,0,6); dataTable.put2d(1,1,9); dataTable.put2d(1,2,7); dataTable.put2d(1,3,6); dataTable.put2d(1,4,4); dataTable.put2d(1,5,5); dataTable.put2d(2,0,8); dataTable.put2d(2,1,10); dataTable.put2d(2,2,10); dataTable.put2d(2,3,9); dataTable.put2d(2,4,6); dataTable.put2d(2,5,7); dataTable.put2d(3,0,6); dataTable.put2d(3,1,4); dataTable.put2d(3,2,8); dataTable.put2d(3,3,5); dataTable.put2d(3,4,3); dataTable.put2d(3,5,7); double aLevel = 0.05; boolean expResult = true; boolean result = Friedman.test(dataTable, aLevel); assertEquals(expResult, result); }
public static boolean test(DataTable2D dataTable, double aLevel) { double pvalue= getPvalue(dataTable); boolean rejectH0=false; if(pvalue<=aLevel) { rejectH0=true; } return rejectH0; }
Friedman { public static boolean test(DataTable2D dataTable, double aLevel) { double pvalue= getPvalue(dataTable); boolean rejectH0=false; if(pvalue<=aLevel) { rejectH0=true; } return rejectH0; } }
Friedman { public static boolean test(DataTable2D dataTable, double aLevel) { double pvalue= getPvalue(dataTable); boolean rejectH0=false; if(pvalue<=aLevel) { rejectH0=true; } return rejectH0; }  }
Friedman { public static boolean test(DataTable2D dataTable, double aLevel) { double pvalue= getPvalue(dataTable); boolean rejectH0=false; if(pvalue<=aLevel) { rejectH0=true; } return rejectH0; }  static double getPvalue(DataTable2D dataTable); static boolean test(DataTable2D dataTable, double aLevel); }
Friedman { public static boolean test(DataTable2D dataTable, double aLevel) { double pvalue= getPvalue(dataTable); boolean rejectH0=false; if(pvalue<=aLevel) { rejectH0=true; } return rejectH0; }  static double getPvalue(DataTable2D dataTable); static boolean test(DataTable2D dataTable, double aLevel);  }