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
p such that if we conduct n Bernoulli trials with success rate = p ,
it is very unlikely to have more than fraction * n successes. |
static double |
getUpperBound(double delta,
long n,
double fraction)
Returns a threshold
p such that if we conduct n Bernoulli trials with success rate = p ,
it is very unlikely to have less than fraction * n successes. |
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)