@Test public void testMinimumSampleSizeForMaximumXbarStd_3args() { logger.info("minimumSampleSizeForMaximumXbarStd"); double maximumXbarStd = 1.2; double populationStd = 7.25; int populationN = 2147483647; int expResult = 37; int result = SimpleRandomSampling.minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, populationN); assertEquals(expResult, result); }
public static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd) { return minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, Integer.MAX_VALUE); }
SimpleRandomSampling { public static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd) { return minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, Integer.MAX_VALUE); } }
SimpleRandomSampling { public static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd) { return minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, Integer.MAX_VALUE); }  }
SimpleRandomSampling { public static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd) { return minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, Integer.MAX_VALUE); }  static FlatDataCollection weightedSampling(AssociativeArray weightedTable, int n, boolean withReplacement); static FlatDataCollection randomSampling(FlatDataList idList, int n, boolean withReplacement); static double mean(FlatDataCollection flatDataCollection); static double variance(FlatDataCollection flatDataCollection); static double std(FlatDataCollection flatDataCollection); static double xbarVariance(double variance, int sampleN); static double xbarVariance(double variance, int sampleN, int populationN); static double xbarStd(double std, int sampleN); static double xbarStd(double std, int sampleN, int populationN); static double pbarVariance(double pbar, int sampleN); static double pbarVariance(double pbar, int sampleN, int populationN); static double pbarStd(double pbar, int sampleN); static double pbarStd(double pbar, int sampleN, int populationN); static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd); static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd, int populationN); static int minimumSampleSizeForGivenDandMaximumRisk(double d, double aLevel, double populationStd); static int minimumSampleSizeForGivenDandMaximumRisk(double d, double aLevel, double populationStd, int populationN); }
SimpleRandomSampling { public static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd) { return minimumSampleSizeForMaximumXbarStd(maximumXbarStd, populationStd, Integer.MAX_VALUE); }  static FlatDataCollection weightedSampling(AssociativeArray weightedTable, int n, boolean withReplacement); static FlatDataCollection randomSampling(FlatDataList idList, int n, boolean withReplacement); static double mean(FlatDataCollection flatDataCollection); static double variance(FlatDataCollection flatDataCollection); static double std(FlatDataCollection flatDataCollection); static double xbarVariance(double variance, int sampleN); static double xbarVariance(double variance, int sampleN, int populationN); static double xbarStd(double std, int sampleN); static double xbarStd(double std, int sampleN, int populationN); static double pbarVariance(double pbar, int sampleN); static double pbarVariance(double pbar, int sampleN, int populationN); static double pbarStd(double pbar, int sampleN); static double pbarStd(double pbar, int sampleN, int populationN); static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd); static int minimumSampleSizeForMaximumXbarStd(double maximumXbarStd, double populationStd, int populationN); static int minimumSampleSizeForGivenDandMaximumRisk(double d, double aLevel, double populationStd); static int minimumSampleSizeForGivenDandMaximumRisk(double d, double aLevel, double populationStd, int populationN);  }