public class ConfidenceInterval extends Object
Constructor | Description |
---|---|
ConfidenceInterval(double lowerBound,
double upperBound,
double confidenceLevel) |
Create a confidence interval with the given bounds and confidence level.
|
Modifier and Type | Method | Description |
---|---|---|
double |
getConfidenceLevel() |
|
double |
getLowerBound() |
|
double |
getUpperBound() |
|
String |
toString() |
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 © 2016–2018 Hipparchus.org. All rights reserved.