@Test public void testTestVariances() { logger.info("testVariances"); double stdbarx = 65.54909; double stdbary = 61.85425; int n = 100; int m = 240; boolean is_twoTailed = true; double aLevel = 0.05; boolean expResult = false; boolean result = FIndependentSamples.testVariances(stdbarx, stdbary, n, m, is_twoTailed, aLevel); assertEquals(expResult, result); }
public static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel) { if(n<=1 || stdbarx<=0 || m<=1 || stdbary<=0) { throw new IllegalArgumentException("The values of the provided parameters are not within the permitted range."); } double F=(stdbarx*stdbarx)/(stdbary*stdbary); boolean rejectH0=checkCriticalValue(F, n, m, is_twoTailed, aLevel); return rejectH0; }
FIndependentSamples { public static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel) { if(n<=1 || stdbarx<=0 || m<=1 || stdbary<=0) { throw new IllegalArgumentException("The values of the provided parameters are not within the permitted range."); } double F=(stdbarx*stdbarx)/(stdbary*stdbary); boolean rejectH0=checkCriticalValue(F, n, m, is_twoTailed, aLevel); return rejectH0; } }
FIndependentSamples { public static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel) { if(n<=1 || stdbarx<=0 || m<=1 || stdbary<=0) { throw new IllegalArgumentException("The values of the provided parameters are not within the permitted range."); } double F=(stdbarx*stdbarx)/(stdbary*stdbary); boolean rejectH0=checkCriticalValue(F, n, m, is_twoTailed, aLevel); return rejectH0; }  }
FIndependentSamples { public static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel) { if(n<=1 || stdbarx<=0 || m<=1 || stdbary<=0) { throw new IllegalArgumentException("The values of the provided parameters are not within the permitted range."); } double F=(stdbarx*stdbarx)/(stdbary*stdbary); boolean rejectH0=checkCriticalValue(F, n, m, is_twoTailed, aLevel); return rejectH0; }  static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel); }
FIndependentSamples { public static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel) { if(n<=1 || stdbarx<=0 || m<=1 || stdbary<=0) { throw new IllegalArgumentException("The values of the provided parameters are not within the permitted range."); } double F=(stdbarx*stdbarx)/(stdbary*stdbary); boolean rejectH0=checkCriticalValue(F, n, m, is_twoTailed, aLevel); return rejectH0; }  static boolean testVariances(double stdbarx, double stdbary, int n, int m, boolean is_twoTailed, double aLevel);  }