public class BinomialBounds
extends Object
| Constructor and Description | 
|---|
| BinomialBounds() | 
| Modifier and Type | Method and Description | 
|---|---|
| static double | getLowerBound(double delta,
             long n,
             double fraction)Returns a threshold  psuch that if we conduct n Bernoulli trials with success rate =p,
 it is very unlikely to have more thanfraction * nsuccesses. | 
| static double | getUpperBound(double delta,
             long n,
             double fraction)Returns a threshold  psuch that if we conduct n Bernoulli trials with success rate =p,
 it is very unlikely to have less thanfraction * nsuccesses. | 
| static double | minSamplingRate() | 
public static double minSamplingRate()
public static double getLowerBound(double delta,
                                   long n,
                                   double fraction)
p such that if we conduct n Bernoulli trials with success rate = p,
 it is very unlikely to have more than fraction * n successes.delta - (undocumented)n - (undocumented)fraction - (undocumented)public static double getUpperBound(double delta,
                                   long n,
                                   double fraction)
p such that if we conduct n Bernoulli trials with success rate = p,
 it is very unlikely to have less than fraction * n successes.delta - (undocumented)n - (undocumented)fraction - (undocumented)