public class ConfidenceInterval extends Object
Constructor and Description |
---|
ConfidenceInterval(double lowerBound,
double upperBound,
double confidenceLevel)
Create a confidence interval with the given bounds and confidence level.
|
public ConfidenceInterval(double lowerBound, double upperBound, double confidenceLevel)
Preconditions:
lower
must be strictly less than upper
confidenceLevel
must be strictly between 0 and 1 (exclusive)lowerBound
- lower endpoint of the intervalupperBound
- upper endpoint of the intervalconfidenceLevel
- coverage probabilityMathIllegalArgumentException
- if the preconditions are not metpublic double getLowerBound()
public double getUpperBound()
public double getConfidenceLevel()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.