public final class BoundsOnRatiosInSampledSets extends Object
Modifier and Type | Method and Description |
---|---|
static double |
getEstimateOfA(long a,
double f)
Return the estimate of A.
|
static double |
getEstimateOfB(long b,
double f)
Return the estimate of B.
|
static double |
getEstimateOfBoverA(long a,
long b)
Return the estimate of b over a
|
static double |
getLowerBoundForBoverA(long a,
long b,
double f)
Return the approximate lower bound based on a 95% confidence interval
|
static double |
getUpperBoundForBoverA(long a,
long b,
double f)
Return the approximate upper bound based on a 95% confidence interval
|
public static double getLowerBoundForBoverA(long a, long b, double f)
a
- See class javadocb
- See class javadocf
- the inclusion probability used to produce the set with size a and should
generally be less than 0.5. Above this value, the results not be reliable.
When f = 1.0 this returns the estimate.public static double getUpperBoundForBoverA(long a, long b, double f)
a
- See class javadocb
- See class javadocf
- the inclusion probability used to produce the set with size a.public static double getEstimateOfBoverA(long a, long b)
a
- See class javadocb
- See class javadocpublic static double getEstimateOfA(long a, double f)
a
- See class javadocf
- the inclusion probability used to produce the set with size a.public static double getEstimateOfB(long b, double f)
b
- See class javadocf
- the inclusion probability used to produce the set with size b.Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.